-
Notifications
You must be signed in to change notification settings - Fork 72
Release testing instructions for WC Payments 9.2.0
Valery Sukhomlinov edited this page Mar 26, 2025
·
7 revisions
Subscription renewal should fail in live mode if subscription was placed when WooPayments was in the test and vice versa.
Testing instructions (taken from the pull request):
- Install WooCommerce Subscriptions and create a subscription product
- Create a subscription order in the test mode
- As a merchant, open the subscription order and choose "Create a pending renewal order". This command should complete successfully.
- Edit the value for the
_wcpay_mode
meta for the created order in the database tablewp_wc_orders_meta
. E.g. to "foo". - As a merchant, open the subscription order and choose "Create a pending renewal order". You will see a failure message:
Creation of the pending renewal order failed. The subscription was made in the mode "foo" that does not match the current WooPayments mode "test".

- Go to
WooCommerce -> Status -> Scheduled actions
- Find a pending action
woocommerce_scheduled_subscription_payment
with the subscription order. - Run the action.
- A failure note will appear:

- Failed actions will contain a record with an error:

- Check that there is no new order has been created for the renewal.
Note
When Shopper tries to renew a subscription themselves it appears to go into the different flow and creates a new order in the correct WooPayments mode and is unaffected by this change.