-
Notifications
You must be signed in to change notification settings - Fork 7
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 ignored #39
Comments
A possible temporary workaround to consider is to remove payment plans from the checkout page when a discount code is applied. https://gist.github.com/ipokkel/c42c5a8a092e18556e64bb59976d5b8b |
Another customer ran into similar issues. (Mods: 515592) https://gist.github.com/dwanjuki/1b4f095bf486f1424a98fa1971b05484 |
We do not want to support a discount code that works on each payment plan. The code should always override the level price, just as it does without the Payment Plans Add On. We should always use the level ID's discount code pricing as set in the code. If there is a discount code applied, either via URL or applied on the checkout page directly, we should hide the payment plans section of the checkout page (use JS to set to hidden on "apply code" or when page renders, hide automatically). The gists here are good starting point for what we will build into this Add On. |
* Bail if discount code is applied via URL. * Remove payment plan card if discount code is applied via AJAX.
Describe the bug
When a discount code is applied at checkout where the level has payment plans the discount code cost settings is not applied to the level cost, order, and email data. The payment plan selected at checkout overrides the discount code cost settings.
To Reproduce
Steps to reproduce the behavior:
Isolating the problem (mark completed items with an [x]):
The text was updated successfully, but these errors were encountered: