Skip to content

Commit 3a2304c

Browse files
committed
Merge trunk v5.4.0 into develop
2 parents 16f8862 + 66785ea commit 3a2304c

File tree

61 files changed

+109
-233
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+109
-233
lines changed

changelog.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
*** WooCommerce Payments Changelog ***
22

3+
= 5.4.0 - 2023-02-01 =
4+
* Add - Add logging and order notes when WCPay Subscriptions are suspended or put on-hold.
5+
* Add - Highlight subscriptions with overdue payment in list view with red icon & tooltip.
6+
* Add - More context to the business details to show the actual message from Stripe, shows a modal if there is more than one error from Stripe.
7+
* Add - New wcs_set_order_address() helper function to set an array of address fields on an order or subscription.
8+
* Add - Skipping the email input step for WooPay express checkout flow when the email input field has already a value. The WooPay express checkout feature is behind a feature flag currently.
9+
* Fix - "Subscriptions by Payment Gateway" in WooCommerce → Status now shows the correct values when HPOS is enabled.
10+
* Fix - Add check for session before getting properties from session to avoid fatals in WooCommerce Subscriptions Multi-Currency compatibility.
11+
* Fix - Catch exceptions when changing payment method associated with a subscription to avoid fatal errors.
12+
* Fix - Check whether the order actually exists before accessing order properties in wcs_order_contains_subscription().
13+
* Fix - Decode entities for the store name in the WooPay preview section.
14+
* Fix - Edit, add, and list Subscription admin pages now work when HPOS is enabled.
15+
* Fix - Fatal error when loading the Edit Subscription page with custom admin billing or shipping fields.
16+
* Fix - Fix ability to change currency when a subscription renewal is in the cart.
17+
* Fix - Fixed issues where multiple subscription purchases wouldn't appear on the My Account > Subscriptions screen on HPOS environments.
18+
* Fix - Fix TOS acceptance can prevent saving settings or accessing account dashboard
19+
* Fix - Fix WooPay redirection with express checkout when email is prepopulated. The WooPay express checkout is currently behind a feature flag.
20+
* Fix - Make the tooltip and fee description pill in Payments > Settings, show the correct Base rate when we have promotional rates applied.
21+
* Fix - Merge any custom meta_query args passed to wcs_get_orders_with_meta_query() to avoid overriding WC core args that map onto meta_query.
22+
* Fix - On HPOS environments, ensure subscription related order caches are updated when relationship order meta (eg `_subscription_renewal` or `_subscription_switch`) is updated.
23+
* Fix - On HPOS environments, update related orders cache when subscription is trashed, deleted, or restored / untrashed.
24+
* Fix - Prevent erroneously resyncing a subscription every time it is loaded from the database on HPOS environments.
25+
* Fix - Prevent initializing `Fraud_Prevention_Service` on contexts without session
26+
* Fix - Refactor `WCS_Meta_Box_Subscription_Data::save` to support HPOS stores, fixing a PHP warning notice when updating an order via the Edit Order screen.
27+
* Fix - Refactor `WC_Subscriptions_Renewal_Order` and `WC_Subscriptions_Tracker` classes to support HPOS stores.
28+
* Fix - Removed the potential for an infinite loop when getting a subscription's related orders while the subscription is being loaded.
29+
* Fix - Repair a potentially corrupted state of enabled payment method settings, that causes an error while saving settings.
30+
* Fix - Replace code using wp_count_posts(), get_post_type(), get_posts and wp_delete_post() with equivalent WC Data Store functions to support stores that have HPOS enabled.
31+
* Fix - Set the `download_permissions_granted` value when purchasing a downloadable subscription product when HPOS is enabled.
32+
* Fix - Shipping address correctly set when resubscribing to subscriptions that contains different billing and shipping addresses.
33+
* Fix - Updates to the styling of the task list title on the main account overview page to match the component default.
34+
* Fix - When a customer changes their address on their account or subscription, make sure the new address is saved when HPOS is enabled.
35+
* Fix - When a subscription's parent order is trashed or deleted, make sure the related subscription is also trashed or deleted on stores with HPOS enabled.
36+
* Fix - When a subscription is trashed or deleted, make sure it is cancelled first on stores with HPOS enabled.
37+
* Fix - When processing customer requests to update all their subscription payment methods, ensure the updated subscription is used to fetch the new payment meta, not and old instance.
38+
* Update - Add Apple Pay and Google Pay as supported payment methods in gateway descriptions.
39+
* Update - Enable WooPay Express Checkout button feature by default.
40+
* Update - Generate mandate only for orders using INR currency
41+
* Update - Show the cards payment method when using UPE and make it active and locked as per UPE requirements.
42+
* Dev - Add subscriptions-core library version to the WooCommerce system status report.
43+
* Dev - Allow loading chunks with JS concatenation enabled.
44+
* Dev - Fix failing unit tests due to spelling change in WooCommerce core.
45+
* Dev - Fix phpcs violations in the `WC_Subscriptions_Tracker` and `WCS_Admin_System_Status` classes to improve code quality.
46+
* Dev - Introduced a new `untrash_order()` in the `WCS_Orders_Table_Subscription_Data_Store` class to fix untrashing subscriptions on stores that have HPOS enabled.
47+
* Dev - Introduced a WCS_Object_Data_Cache_Manager and WCS_Object_Data_Cache_Manager_Many_To_One class as HPOS equivalents of the WCS_Post_Meta_Cache_Manager classes.
48+
* Dev - Moved the trash, untrash & delete related `add_actions()` in the `WC_Subscriptions_Manager` class to be added on the `woocommerce_loaded` action.
49+
* Dev - Remove deprecated `strptime` function in favour of `DateTime::createFromFormat`.
50+
* Dev - Skip running blocks E2E tests, add comment for the same.
51+
* Dev - unified express checkout settings
52+
* Dev - Update subscriptions-core to 5.2.0.
53+
* Dev - Update subscriptions-core to 5.3.1.
54+
355
= 5.3.0 - 2023-01-11 =
456
* Add - Added support for WooPay express checkout on product page. This feature is currently behind a feature flag and is not yet publicly available.
557
* Add - Add the processing order_id to WC Session and its handling to prevent duplicate orders

changelog/add-5069-update-business-details-task

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/add-return-to-cart-from-woopay

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelog/dev-1545-unify-express-checkouts-settings

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/dev-chunks-loading

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fix--1513-single-woopay-popup

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog/fix-4847-saving-settings-when-enabled-pm-setting-faulty

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fix-5127-fix-fraud-wc-session-in-cron-task

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fix-5275-treat-merchant-that-left-kyc-early-as-new-users

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/fix-5356-currency-change-for-manual-subscription-renewal

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)