Hello
S2Member is not adding the Custom Capabilities to the user that submits the payment.
I am using the plain code with some additions/changes. In this example the capability they should get is:
custom' . $thetgame . $Page_ID . '
So if $thetgame was ‘hello’ and $Page_ID was ’10’ the capability would be:
customhello10
Form code:
$thecost = "20";
$thetgame = "hello";
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<span>
<!-- Instant Payment Notification & Return Page Details -->
<!-- Configures Basic Checkout Fields -->
<input type="hidden" name="invoice" value="" />
<input type="hidden" name="on0" value="" />
<input type="hidden" name="os0" value="" />
<input type="hidden" name="on1" value="" />
<input type="hidden" name="os1" value="" />
<!-- Controls Modify Behavior At PayPal® Checkout -->
<!-- Customizes Prices, Payments & Billing Cycle -->
<!---->
<!---->
<!---->
<!---->
<!---->
<!---->
<!---->
<!---->
<!---->
<!-- Displays The PayPal® Image Button --></span>
</form>
There is more to this than above, I have changed it a little for this question.
When you click the paypal button it shows the item number as 1:customhello10 correctly.
If someone could help that would be great.
Thanks