strangerstudios / pmpro-pay-by-check

Add a "Pay by Check" option to PMPro levels, and keep members in "pending" status until an admin changes the order status.
https://www.paidmembershipspro.com/add-ons/pmpro-pay-by-check-add-on/
11 stars 27 forks source link

Delay calling pmpro_getLevelAtCheckout() until the checkout level is retrieved #128

Closed dparker1005 closed 1 month ago

dparker1005 commented 1 month ago

If we call pmpro_getLevelAtCheckout(), the incorrect value may be cached for that function. This will cause issues with PayPal Express in PMPro v3.2.

All Submissions:

Changes proposed in this Pull Request:

Resolves XXX.

Other information:

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.