Thanks for the reply Krum.
The connection to S2member is that my client also has been selling monthly memberships via S2 for several years, to restricted content, and those folks get access to the videos along with their paid S2Membership.
For those purchasers of the videos who didn’t want the monthly subscription, I wrote very simplistic php code (that didn’t access anything in WP at all) that added their selections to variable that I passed along to a paypal checkout code, and updated the Custom_Capabilities with the the names of the videos they purchased.
I then restricted the video pages by S2 role member (subscribers) and by Custom Caps for non-subscribers. Love how easy it is to do with S2 via roles or Custom Caps.
I could certainly convert all S2Members over the the WooCommerce membership and subscription products so it’s all under one house. BUT, I love the detailed restriction I can use to control content that I get via S2Member, which is why, if I could just sell CustomCap codes along side of WooCommerce I can control access to the videos via S2Member.
Being able to sell CustomCaps along side of her physical products and services would enable all kinds of WooCommerce extensions that we already use like abandoned cart follow up, follow up emails.
(If I had the skill to write a custom function that access data in WP, I would. But I don’t, which is why I’m asking the question here. I knew enough php to capture responses in a form as variables, perform calculations on them and and pass them to paypal submit. I have no desire to extend my php knowledge at this phase of my life. )
If the answer is no, then it’s no and I’ll move on