Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Filtering pmpro_checkout_level with session vars before session is started. #9

Open
messica opened this issue Mar 14, 2019 · 0 comments

Comments

@messica
Copy link
Contributor

messica commented Mar 14, 2019

PMPro runs the pmpro_checkout_level filter during pmpro_getLevelAtCheckout(), before the pmpro_checkout_preheader action when the session is started:

https://github.com/strangerstudios/paid-memberships-pro/blob/dev/preheaders/checkout.php#L38-L70

https://github.com/strangerstudios/paid-memberships-pro/blob/dev/includes/sessions.php#L32

This is creating multiple issues when using PayPal Express (and other offsite gateways) with the Auto-Renewal Checkbox Add On.

Support Ticket (Moderators Only)
https://www.paidmembershipspro.com/forums/topic/user-renews-before-end-of-subscription-via-paypal-error-the-token-is-invalid-2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant