pmpro-addon-packages icon indicating copy to clipboard operation
pmpro-addon-packages copied to clipboard

Bug: user with " Disable New Signups" level can not purchase Addon Package

Open kimwhite opened this issue 3 years ago • 2 comments

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.

kimwhite avatar May 24 '22 12:05 kimwhite

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 avatar May 24 '22 13:05 andrewlimaza

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/

andrewlimaza avatar May 24 '22 13:05 andrewlimaza