Community Support Forums — WordPress® ( Users Helping Users ) — 2011-08-29T16:54:50-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14705 2011-08-29T16:54:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14705&p=33279#p33279 <![CDATA[Re: Single protected button for selection of level]]>

Statistics: Posted by Cristián Lávaque — August 29th, 2011, 4:54 pm


]]>
2011-08-29T15:35:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14705&p=33263#p33263 <![CDATA[Re: Single protected button for selection of level]]> T

Statistics: Posted by tkittredge — August 29th, 2011, 3:35 pm


]]>
2011-08-26T23:33:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14705&p=33011#p33011 <![CDATA[Re: Single protected button for selection of level]]> viewtopic.php?f=4&t=14657&p=32997#p32997

Cristián Lávaque wrote:
Or you can create the shortcode for the buttons and change the output to URL WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes -> ouput. Put them in a WP page, view it and copy the URL that each outputs. Now, in your sales page, you'd create an HTML form for the person to choose the plan and click the order button, but instead of submitting to PayPal, it'd submit to a custom script where you determine which of the plans he picked and redirect to the corresponding URL you generated earlier.

Statistics: Posted by Cristián Lávaque — August 26th, 2011, 11:33 pm


]]>
2011-08-26T08:50:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14705&p=32944#p32944 <![CDATA[Single protected button for selection of level]]>
I've read through the thread... viewtopic.php?f=36&t=309#p1342

I'd like to be able to set the item_number in that case, which I can do for unprotected buttons (unencrypted / non-hoste), snippet here...

Code:
<input type="hidden" id="item_number" name="item_number" value="1">
<table>
<tr><td style="vertical-align: bottom"><select name="os0" onchange="document.getElementById('item_number').value = this.options[this.selectedIndex].id;">
    <option id="1" value="Bronze">Bronze : $1.99USD - monthly</option>
    <option id="2" value="Silver" selected="selected">Silver : $2.99USD - monthly</option>
    <option id="3" value="Gold">Gold : $3.99USD - monthly</option>
</select></td><td style="vertical-align: bottom"><a href="#" onclick="formSubmit();"><img  src="https://www.paypal.com/en_US/i/btn/btn_subscribe_SM.gif"></a></td></tr>
</table>


Is it possible to do this in concept for protected buttons (encrypted / hosted) without having one button for each level?

Statistics: Posted by tkittredge — August 26th, 2011, 8:50 am


]]>