Hello,
I’m creating a tutorial site that allows me to post content to different categories. Subscribers will purchase content from different categories. I already have a all-categories listing page so subscribers can look at category overview and decide to purchase it, and each payment button for different gateways set up.
My question is, how do I grant access for these users? Also, I only need Level 1 to sign up, granting them no access to any category/post content (and no fee of course), only after they choose their tutorial, they will pay for that particular category. Other user level will not be allowed to sign up (but allowed to set up in the backend, which is already included in your plugin)
Angela
Edit: I think I figured out part of the story.
1- Whenever subscriber creates a post, I will create a hook to automatically save the category ID as the custom capability.
2- When subscriber buys contents from a category, I’ll be selling them the custom capability. I noticed that there is a difference here between the selling membership and selling custom capability, especially that in level attribute. If I would like to sell this to only level 1 members, should I use the first one or test for current user level and use the second shortcode?
[s2Member-Pro-AliPay-Button level="1" ccaps="1" desc="Description and pricing details here." custom="idu.local.host" ra="150" rp="1" rt="L" image="default" output="anchor" /]
[s2Member-Pro-AliPay-Button level="*" ccaps="1" desc="Description and pricing details here." custom="idu.local.host" ra="50" rp="1" rt="L" image="default" output="anchor" /]