Dealing with WooCommerce Subscriptions _schedule_payment_retry

Jan 13, 2022 7:10 PM

Right now WooCommerce Subscriptions hasn’t created a method to change the payment retry date or even turn it off. Which is so strange.

You can turn off the system for a specific subscription by going into your wp_postmeta table and finding the meta_key _schedule_payment_retry and changing it to 0.

A client wanted to be able to do this from the front end, so I hacked together the following with Advanced Custom Fields


I created a custom Field Group and then created a custom field to show on subscription order pages and use the custom field name _schedule_payment_retry as well as added some messages if the value of this custom field is equal to 0 or not equal to zero.

The result, the client stop the payment retry from occurring.