You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option 1: Set next payment date to today instead of to the past - The issue here is that we may as well just charge the billing amount at checkout
Option 2: If $next_payment_date is in the past when calculated in the pmprorate_pmpro_checkout_level() function, just bail from the function. This feels like it makes more sense. If a payment was missed, try to treat this checkout as a "new checkout".
Isolating the problem (mark completed items with an [x]):
I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
This bug happens with a default WordPress theme active, or Memberlite.
I can reproduce this bug consistently using the steps above.
WordPress Environment
```
Please share non-sensitive information about your hosting environment such as WordPress version, PHP version, Paid Memberships Pro and any related plugins versions.
```
The text was updated successfully, but these errors were encountered:
Describe the bug
This is the function where we set the profile start date to (potentially) a date in the past:
pmpro-proration/includes/checkout.php
Lines 286 to 330 in e2834c4
Option 1: Set next payment date to today instead of to the past - The issue here is that we may as well just charge the billing amount at checkout
Option 2: If
$next_payment_date
is in the past when calculated in thepmprorate_pmpro_checkout_level()
function, just bail from the function. This feels like it makes more sense. If a payment was missed, try to treat this checkout as a "new checkout".Isolating the problem (mark completed items with an [x]):
WordPress Environment
The text was updated successfully, but these errors were encountered: