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 report: Stripe Checkout and other offsite payments not fully compatible #70

Open
mircobabini opened this issue Feb 25, 2025 · 0 comments

Comments

@mircobabini
Copy link
Member

Seems like PMPro Vat Tax in not compatible with Stripe Checkout (or in genera with offsite payments maybe).

It works somehow, but not in a consistent way. There’s no way to remove the vat number once added and validated (I had to manually unset the $_SESSION variables).

Discovered after a while trying to complete a checkout w/o a vat number, but still getting the old value from the session.

Patch

/**
 * Don't store the VAT number and other infos in the session, incompatible with off-site Stripe Checkout.
 */
remove_action( 'pmpro_checkout_before_processing', 'pmprovat_pmpro_checkout_before_processing' );
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