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: user with " Disable New Signups" level can not purchase Addon Package #54

Open
kimwhite opened this issue May 24, 2022 · 2 comments

Comments

@kimwhite
Copy link

kimwhite commented May 24, 2022

When a site owner has "Disable New Signups" for a level, the user can not purchase Addon Package pages/post even when the box is checked to allow it.

@andrewlimaza
Copy link

andrewlimaza commented May 24, 2022

Summary

Configuration

  • Set your membership level option "Disable New Signups" and save your settings.
  • Give your test WordPress account this level manually if you do not have it already.

Steps to replicate

  1. Set your post to require the single level, and set the Addon Package price to $1.
  2. View the post, and click the button to purchase the post.
  3. You will be redirected to the level select page and will have to checkout for a different level (in some cases there may be a fatal error - still investigating).

@andrewlimaza
Copy link

I highly recommend rather allowing Signups and restricting checkout with custom conditions instead using the pmpro_registration_check - https://www.paidmembershipspro.com/hook/pmpro_registration_checks/

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

2 participants