Our Recurring Payments plugin was updated to version 2.9.8 on February 3rd, 2020, to fix a problem with invalid expiration dates with subscriptions created through Stripe.
On February 2nd, an issue was discovered that caused subscription records to get assigned an expiration/renewal date of 00-00-0000 00:00:00.
The problem occurred anytime a renewal payment was processed for a subscription on sites running version 2.9.7 and 18.104.22.168 of Recurring Payments.
Subscriptions that had the problem occur will be corrected automatically when one of two actions is taken:
- A renewal payment is processed
- The EDD_Subscription object is instantiated in any context
The impacted versions of Recurring Payments were available for only a few days before the problem was discovered and fixed so there should be a very minimal number of impacted subscription records.
If you wish to determine if any of your subscription records were impacted, the following SQL query will locate them:
$subs = $wpdb->get_results( "SELECT * FROM $wpdb->edd_subscriptions where expiration = '00-00-0000 00:00:00' AND status = 'active';" );
Loading the details screen in WP Admin > Downloads > Subscriptions of any impacted subscription will correct the expiration date.