I'm working on a member only site for a friend. All registrations must be manually approved so he can assign them to specific usergroups before they get access to the site.
So what I've done is removed the 'View' permission for the 'Registered' usergroup and required all members be manually approved.
This means people can register, the admin then assigns them to the correct usergroups so they have the correct permissions when they buy a membership, and approves the account.
When the account is approved they can view the account/upgrades page, and they then need to purchase a membership to view the full site.
The problem is that while revoking the view permission locks down the site until they buy a membership, it also locks down the stripe checkout page, so they can't actually buy an upgrade 🙈
I've looked in templates:
payment_initiate_stripe
account_upgrades
But I can't see a permission check, can anyone please advise on how I can sidestep the permission for that page so users can buy an upgrade?
Thanks

