Recurring Payments updated to fix invalid expiration dates in Stripe integration

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 2.9.7.1 of Recurring Payments.

Subscriptions that had the problem occur will be corrected automatically when one of two actions is taken:

  1. A renewal payment is processed
  2. 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:

global $wpdb;

$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.

One response... add one

HI , i want to add reoccuring payment so i can easily let the customer have 100 subscriptions but i note that when you check reoccurring the number of the products has to be added individually which i don’t want. i want the customer to be able to add 100 of one reoccurring product for example that will renew monthly. Can anyone assist ? thanks C.

Leave a Reply

Your email address will not be published. Required fields are marked *