From 9097c6dfa5ecd7b227da4543cfcde3135caafc6e Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 3 Aug 2022 10:32:26 +0000 Subject: [PATCH 1/5] Empty commit for release pull request From 7bb0a6ae3349ce0122f3355dcd32424e27f9c796 Mon Sep 17 00:00:00 2001 From: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Date: Wed, 3 Aug 2022 11:54:15 +0100 Subject: [PATCH 2/5] Update 8.2.1 changelog --- readme.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/readme.txt b/readme.txt index 3fea74aa8fc..2b4999c85eb 100644 --- a/readme.txt +++ b/readme.txt @@ -86,6 +86,12 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/ == Changelog == += 8.2.1 - 2022-08-03 = + +#### Bug Fixes + +- Fixed an issue where shoppers could not switch between different saved payment methods. ([6825](https://github.com/woocommerce/woocommerce-blocks/pull/6825)) + = 8.2.0 - 2022-08-02 = #### Enhancements From 55d974b73726660f85925fab0146ed3afffd0355 Mon Sep 17 00:00:00 2001 From: Thomas Roberts <5656702+opr@users.noreply.github.com> Date: Wed, 3 Aug 2022 03:51:56 -0700 Subject: [PATCH 3/5] Ensure onChange is set for radio buttons in SavedPaymentMethodOptions (#6825) Co-authored-by: Seghir Nadir --- .../payment-methods/saved-payment-method-options.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/blocks/cart-checkout-shared/payment-methods/saved-payment-method-options.js b/assets/js/blocks/cart-checkout-shared/payment-methods/saved-payment-method-options.js index e2abed1cc32..3db78c57a04 100644 --- a/assets/js/blocks/cart-checkout-shared/payment-methods/saved-payment-method-options.js +++ b/assets/js/blocks/cart-checkout-shared/payment-methods/saved-payment-method-options.js @@ -136,6 +136,7 @@ const SavedPaymentMethodOptions = () => { id={ 'wc-payment-method-saved-tokens' } selected={ activeSavedToken } options={ options } + onChange={ () => void 0 } /> { savedPaymentMethodHandler } From 6bdc7ede11774c4d270d51dfcd5cf26642b7fbc1 Mon Sep 17 00:00:00 2001 From: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Date: Wed, 3 Aug 2022 12:44:43 +0100 Subject: [PATCH 4/5] Add 8.2.1 testing steps --- .../testing/releases/821.md | 26 +++++++++++++++++++ .../testing/releases/README.md | 1 + 2 files changed, 27 insertions(+) create mode 100644 docs/internal-developers/testing/releases/821.md diff --git a/docs/internal-developers/testing/releases/821.md b/docs/internal-developers/testing/releases/821.md new file mode 100644 index 00000000000..b830a238479 --- /dev/null +++ b/docs/internal-developers/testing/releases/821.md @@ -0,0 +1,26 @@ +# Testing notes and ZIP for release 8.2.1 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/9250889/woocommerce-gutenberg-products-block.zip) + +## Feature plugin + +### Ensure onChange is set for radio buttons in `SavedPaymentMethodOptions` ([6825](https://github.com/woocommerce/woocommerce-blocks/pull/6825)) + +1. Install Stripe, set it up so you can use it at Checkout. +2. Add items to your cart and go to checkout. Add a credit/debit card via stripe and choose `Save payment information to my account for future purchases.` +3. Check out. Repeat step 2 once more with a different card number. **Ensure the new card you use ends in four different numbers than the first one!** You can see test cards here: https://stripe.com/docs/testing +4. Add items to your cart and go to checkout a third time. This time ensure you can switch between saved cards. + image +5. Check out successfully, and then go to the back end of your site. Go to the orders you made (WooCommerce -> Orders) and for each order check the payment method used (you'll need to follow this through to Stripe), and ensure the card number used matches the one you chose in the Checkout block. (Click the link on the order page) + image + + + +--- + +[We're hiring!](https://woocommerce.com/careers/) Come work with us! + +🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/internal-developers/testing/releases/810.md) + + + diff --git a/docs/internal-developers/testing/releases/README.md b/docs/internal-developers/testing/releases/README.md index 47353aad610..9a00db51f5e 100644 --- a/docs/internal-developers/testing/releases/README.md +++ b/docs/internal-developers/testing/releases/README.md @@ -84,6 +84,7 @@ Every release includes specific testing instructions for new features and bug fi - [8.0.0](./800.md) - [8.1.0](./810.md) - [8.2.0](./820.md) +- [8.2.1](./821.md) From 384d19d4ff02bd8565e8a05423d2648996600dee Mon Sep 17 00:00:00 2001 From: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Date: Thu, 4 Aug 2022 11:03:53 +0100 Subject: [PATCH 5/5] Bumping version strings to new version. --- package.json | 2 +- readme.txt | 2 +- src/Package.php | 2 +- woocommerce-gutenberg-products-block.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 637f4aa9168..0a1e7d8b23a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@woocommerce/block-library", "title": "WooCommerce Blocks", "author": "Automattic", - "version": "8.2.0", + "version": "8.2.1", "description": "WooCommerce blocks for the Gutenberg editor.", "homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/", "keywords": [ diff --git a/readme.txt b/readme.txt index 2b4999c85eb..608a52d1867 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks Requires at least: 6.0 Tested up to: 6.0 Requires PHP: 7.0 -Stable tag: 8.2.0 +Stable tag: 8.2.1 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/src/Package.php b/src/Package.php index 0c49d629be4..646a3bc5b03 100644 --- a/src/Package.php +++ b/src/Package.php @@ -106,7 +106,7 @@ public static function container( $reset = false ) { NewPackage::class, function ( $container ) { // leave for automated version bumping. - $version = '8.2.0'; + $version = '8.2.1'; return new NewPackage( $version, dirname( __DIR__ ), diff --git a/woocommerce-gutenberg-products-block.php b/woocommerce-gutenberg-products-block.php index 4bb7fffd57f..ce59736048d 100644 --- a/woocommerce-gutenberg-products-block.php +++ b/woocommerce-gutenberg-products-block.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Blocks * Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block * Description: WooCommerce blocks for the Gutenberg editor. - * Version: 8.2.0 + * Version: 8.2.1 * Author: Automattic * Author URI: https://woocommerce.com * Text Domain: woo-gutenberg-products-block