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

Discount code causes issues with checkouts. #17

Open
andrewlimaza opened this issue Jan 9, 2024 · 1 comment · May be fixed by #25
Open

Discount code causes issues with checkouts. #17

andrewlimaza opened this issue Jan 9, 2024 · 1 comment · May be fixed by #25

Comments

@andrewlimaza
Copy link

andrewlimaza commented Jan 9, 2024

Setting a discount code while using the Group Accounts causes checkouts to not work due to it still requiring a fee/credit card information.

Steps to replicate:

Test this with Stripe onsite checkout.

  1. Create a membership level for the parent account that is $10/month.
  2. Set the Group Account pricing model to be a "per seat" for any amount $1/seat and fixed seats of 5.
  3. Save your level.
  4. Create a discount code that sets the parent level to be $0 entirely.
  5. Test checkout with the discount code in step 4, see that there was an error completing checkout as the price per seat is running in the background.

Note: This only happens for onsite gateways. Offsite gateways redirect to the hosted checkout page.

Screenshot 2024-01-09 at 10 36 55

@MaximilianoRicoTabo MaximilianoRicoTabo linked a pull request Feb 9, 2024 that will close this issue
5 tasks
@dparker1005
Copy link
Member

This PR can be used as a temporary workaround, though this is likely something that needs to be fixed in core PMPro. More info in PR: #25

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

Successfully merging a pull request may close this issue.

2 participants