You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an admin notice for SEPA subscriptions migrations after disabling legacy checkout (#3422)
* Display an admin notice to inform users of the SEPA migration after disabling legacy checkout
* Get any status
* The next action should never be more than 3 hours so remove the else case
* Add changelog entries
* Display the notice for up to 3 days to limit the scope of the notice queries
* Stop showing the notice after all subscriptions have been migrated
* If admin re-enable legacy checkout and then later disable legacy checkout, we should make sure to reattempt the migrations
* Update includes/migrations/class-wc-stripe-subscriptions-repairer-legacy-sepa-tokens.php
Co-authored-by: Matt Allan <[email protected]>
* Schedule jobs to run in 1 minute rather than 1 hour
* Update notice to no longer include next update time case
* Treat in-progress actions as $is_still_scheduling_jobs
* Remove duplicated Paged param
* Schedule individual SEPA updates to run in 2 minutes
* Add a tool to enable users to restart the migration if needed
* Replace "migrate" with "update"
* Move variable around for slight performance improvement
* Add changelog entry for new tool
* Update includes/migrations/class-wc-stripe-subscriptions-repairer-legacy-sepa-tokens.php
Co-authored-by: Matt Allan <[email protected]>
---------
Co-authored-by: Matt Allan <[email protected]>
Copy file name to clipboardExpand all lines: changelog.txt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@
29
29
* Fix - Address Klarna availability based on correct presentment currency rules.
30
30
* Fix - Use correct ISO country code of United Kingdom in supported country and currency list of AliPay and WeChat.
31
31
* Fix - Prevent duplicate order notes and emails being sent when purchasing subscription products with no initial payment.
32
+
* Add - Display an admin notice on the WooCommerce > Subscriptions screen for tracking the progress of SEPA subscriptions migrations after the legacy checkout is disabled.
33
+
* Add - Introduce a new tool on the WooCommerce > Status > Tools screen to restart the legacy SEPA subscriptions update.
32
34
33
35
= 8.6.1 - 2024-08-09 =
34
36
* Tweak - Improves the wording of the invalid Stripe keys errors, instructing merchants to click the "Configure connection" button instead of manually setting the keys.
'<p>' . __( "We are currently updating customer subscriptions that use the legacy Stripe SEPA Direct Debit payment method. During this update, you may notice that some subscriptions appear as manual renewals. Don't worry—renewals will continue to process as normal. Please be aware this process may take some time.", 'woocommerce-gateway-stripe' ) . '</p>' .
245
+
'<p>' . $progress . '</p>'
246
+
);
247
+
248
+
$notice->display();
249
+
}
250
+
251
+
/**
252
+
* Checks if the current screen is the subscriptions list table.
253
+
*
254
+
* @return bool True if the current screen is the subscriptions list table, false otherwise.
Copy file name to clipboardExpand all lines: readme.txt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -157,5 +157,7 @@ If you get stuck, you can ask for help in the Plugin Forum.
157
157
* Fix - Address Klarna availability based on correct presentment currency rules.
158
158
* Fix - Use correct ISO country code of United Kingdom in supported country and currency list of AliPay and WeChat.
159
159
* Fix - Prevent duplicate order notes and emails being sent when purchasing subscription products with no initial payment.
160
+
* Add - Display an admin notice on the WooCommerce > Subscriptions screen for tracking the progress of SEPA subscriptions migrations after the legacy checkout is disabled.
161
+
* Add - Introduce a new tool on the WooCommerce > Status > Tools screen to restart the legacy SEPA subscriptions update.
160
162
161
163
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).
0 commit comments