Thank you for the reply
I can use s2member - Button Code Generator For Independent Custom Capabilities - under PayPal Capability (buy now) Buttons. This generates the information needed for a single purchase, and we can also do groups to include multiple items. The later groups are not much use in my situation as there are currently around 50 combinations.
I can also use the PayPal button generator (in my paypal account - not in s2member) to create an encrypted button to add an item to the PayPal cart. In that I can add custom fields such as notify_url=whatever.
I am guessing there is a certain amount of information required to be sent from PayPal back to s2member for each item to allow s2member to allocate custom capabilities to the customer.
As there is no button generator in s2member (that I can see) that allows the adding of a "
custom capability" to the PayPal Cart, I am wondering if I can get the required information from s2member buy creating a custom capability buy button and taking the additional form fields and adding them in the PayPal button generator which will then produce an encrypted PayPal hosted button - that will have enough info to respond correctly to s2member if two or more items are purchased.
At the moment I have simply set up PayPal
Add to Cart buttons and am hoping it will do the trick.
http://storiesandchildren.com/childrens-books/#list but I don't know what additional info needs to be added to the PayPal
Add advanced variables where I currently have:
notify_url=http://storiesandchildren.com/kids/?s2member_paypal_notify=1
return=http://storiesandchildren.com/kids/?s2member_paypal_return=1
rm=2
item_number=*:itsfly
the variable item_number=*:itsfly I am guessing is the custom capability and is the custom capability code for for that particular ebook.
This way I should be able to add any combination of product to the cart and have paypal return enough info for s2m2mber - in a single purchase???
My question is - is this correct and if so, which additional variables do I need?
Thanks