From 04a91f8581f0ed3f1fe82905a2d55c4875e6ba98 Mon Sep 17 00:00:00 2001 From: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Date: Fri, 21 Oct 2022 12:02:21 +0100 Subject: [PATCH] Release: 8.7.3 (#7439) (#7443) * Empty commit for release pull request * Added readme.txt changelog entry * Update HPOS compatibility snippet (#7395) * 8.7.2 Testing notes * Update testing notes * Update testing notes * Bumped version * Refactor force billing: remove forcedBillingAddress from conditions for showBillingFields (#7393) Co-authored-by: Niels Lange * Updated testing instructions and changelog to include #7393 * Updated testing zip * Bumping version strings to new version. * Empty commit for release pull request * Fix wrong keys being sent in `canMakePayment` and customer data showing in the Checkout block in the editor (#7434) * Construct args for canMakePayment with correct keys * When the CheckoutEventsContext mounts, initialize payment store * Destructure useSelect correctly * Dispatch __internalInitializePaymentStore in selector tests * Update selector name to __internalUpdateAvailablePaymentMethods * Remove check for editor when registering checkout store * Add check for when express payment methods have updated too * Ensure billingAddress key exists in canMakePayment arg * Use editor context to know if we're in editor * Updated readme.txt * Reverted stable tag change on readme.txt * Testing instructions * Cleaned out testing instructions Co-authored-by: github-actions Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Co-authored-by: Alex Florisca Co-authored-by: Tarun Vijwani Co-authored-by: Niels Lange Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions Co-authored-by: Alex Florisca Co-authored-by: Tarun Vijwani Co-authored-by: Niels Lange Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com> --- docs/internal-developers/testing/releases/873.md | 14 ++++++++++++++ .../internal-developers/testing/releases/README.md | 1 + readme.txt | 5 +++++ 3 files changed, 20 insertions(+) create mode 100644 docs/internal-developers/testing/releases/873.md diff --git a/docs/internal-developers/testing/releases/873.md b/docs/internal-developers/testing/releases/873.md new file mode 100644 index 00000000000..ede5b310030 --- /dev/null +++ b/docs/internal-developers/testing/releases/873.md @@ -0,0 +1,14 @@ +# Testing notes and ZIP for release 8.7.3 + +Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/9831749/woocommerce-gutenberg-products-block.zip) + +## Feature plugin and package inclusion in WooCommerce + +### Fix wrong keys being sent in canMakePayment and customer data showing in the Checkout block in the editor ([7434](https://github.com/woocommerce/woocommerce-blocks/pull/7434)) + +#### User Facing Testing + +1. Ensure you can check out using Stripe. Please also try various other payment gateways. +2. If you can, please check out with an express payment method. +3. Open the Checkout block in the editor. Ensure your customer details are not there. +4. Upload this extension [extension-for-testing.zip](https://github.com/woocommerce/woocommerce-blocks/files/9828874/extension-for-testing.zip) to your site and activate it. Ensure you see a payment method called `some-extension-name payment method` on your checkout. diff --git a/docs/internal-developers/testing/releases/README.md b/docs/internal-developers/testing/releases/README.md index a4363c633da..5be7572e927 100644 --- a/docs/internal-developers/testing/releases/README.md +++ b/docs/internal-developers/testing/releases/README.md @@ -94,6 +94,7 @@ Every release includes specific testing instructions for new features and bug fi - [8.7.0](./870.md) - [8.7.1](./871.md) - [8.7.2](./872.md) + - [8.7.3](./873.md) diff --git a/readme.txt b/readme.txt index 9d2f40d7f6b..e85bf6c0539 100644 --- a/readme.txt +++ b/readme.txt @@ -79,6 +79,11 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/ == Changelog == += 8.7.3 - 2022-10-20 = + +#### Bug fixes +- Fixed an issue where the argument passed to `canMakePayment` contained the incorrect keys. Also fixed the current user's customer data appearing in the editor when editing the Checkout block. + = 8.7.2 - 2022-10-13 = #### Bug Fixes