{"id":873,"date":"2020-02-05T13:50:39","date_gmt":"2020-02-05T19:50:39","guid":{"rendered":"https:\/\/easydigitaldownloads.com\/development\/?p=873"},"modified":"2021-12-15T15:30:30","modified_gmt":"2021-12-15T21:30:30","slug":"recurring-payments-updated-to-fix-invalid-expiration-dates-in-stripe-integration","status":"publish","type":"post","link":"https:\/\/easydigitaldownloads.com\/development\/2020\/02\/05\/recurring-payments-updated-to-fix-invalid-expiration-dates-in-stripe-integration\/","title":{"rendered":"Recurring Payments updated to fix invalid expiration dates in Stripe integration"},"content":{"rendered":"\n<p>Our <a href=\"https:\/\/easydigitaldownloads.com\/downloads\/recurring-payments\/\">Recurring Payments<\/a> 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.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Subscriptions that had the problem occur will be corrected automatically when one of two actions is taken:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>A renewal payment is processed<\/li><li>The EDD_Subscription object is instantiated in any context<\/li><\/ol>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>If you wish to determine if any of your subscription records were impacted, the following SQL query will locate them:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>global $wpdb;\n\n$subs = $wpdb->get_results( \"SELECT * FROM $wpdb->edd_subscriptions where expiration = '00-00-0000 00:00:00' AND status = 'active';\" );<\/code><\/pre>\n\n\n\n<p>Loading the details screen in WP Admin > Downloads > Subscriptions of any impacted subscription will correct the expiration date.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":650,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-873","post","type-post","status-publish","format-standard","hentry","category-extensions"],"_links":{"self":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/users\/650"}],"replies":[{"embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/comments?post=873"}],"version-history":[{"count":4,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/873\/revisions"}],"predecessor-version":[{"id":877,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/posts\/873\/revisions\/877"}],"wp:attachment":[{"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/media?parent=873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/categories?post=873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydigitaldownloads.com\/development\/wp-json\/wp\/v2\/tags?post=873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}