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

Discussion around $0 now and $X per month levels and discount codes. #19

Open
andrewlimaza opened this issue Sep 2, 2020 · 3 comments

Comments

@andrewlimaza
Copy link
Contributor

If you enable Auto Renewal checkbox for a level that is $0 now and then $10 per month (or any recurring amount/cycle) this will bypass the payment gateway and immediately give the member a level.

Even if you have selected the "Auto Renew Checkbox" it doesn't make a change.

@andrewlimaza
Copy link
Contributor Author

andrewlimaza commented Sep 2, 2020

For clarification, what happens if the user doesn't select the Auto Renewal checkbox for a $0 now and $10 per month level:

  1. The user bypasses the payment gateway but gets an expiration date (The user will be required to renew on the next payment date for the normal level anyway - still giving the user a free month trial via discount code. There may be different expectations to cases like this).
  2. If checkbox selected the user is required to checkout to create the subscription.

Both points work the same for levels or discount codes that adjust the level.

Here is a temporary gist to remedy this and force auto renewal to be selected when a discount code is applied (point 2 functionality)- https://gist.github.com/andrewlimaza/443f74d6566556ed2a88a5c7da856889

Looking into this further.

@andrewlimaza
Copy link
Contributor Author

It's also if you only set Auto Renewal to "Allow - unchecked".

@andrewlimaza
Copy link
Contributor Author

It's a bit of a 'loophole' in cases, for now site owners will need to ensure they restrict their discount code uses/levels for one time trials for these cases.

@andrewlimaza andrewlimaza changed the title Does not work with $0 initial recurring levels. Discussion around $0 now and $X per month levels and discount codes. Sep 2, 2020
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