PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.4.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.4.0
2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 All 65 releases
← All changes | includes/Illuminate/Order.php +2 -1 2.1.0 → 2.4.0 View file →
@@ -81,9 +81,10 @@
81 81 delete_post_meta( $subscription_id, '_subscrpt_trial_started' );
82 82 delete_post_meta( $subscription_id, '_subscrpt_trial_ended' );
83 83 }
84 84
85 - $next_date = sdevs_wp_strtotime( $recurr_timing, time() );
85 + // Extend from the current due date so the days already paid for are kept.
86 + $next_date = $this->get_anchored_next_date( $subscription_id, $recurr_timing, (int) $subscription_history->order_id );
86 87 }
87 88
88 89 // Split payment: no next date after the final installment.
89 90 if (