Community Support Forums — WordPress® ( Users Helping Users ) — 2010-05-22T07:02:28-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=104 2010-05-22T07:02:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=104&p=536#p536 <![CDATA[Re: How can I use the paypal generated code outside wordpres]]>
Thanks for the fast reply..

Statistics: Posted by surfries — May 22nd, 2010, 7:02 am


]]>
2010-05-19T02:51:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=104&p=432#p432 <![CDATA[Re: How can I use the paypal generated code outside wordpres]]>
So you might have something like this on your external site:
Code:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="xxxxxxxxxxxxxxxxxxxx" />
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
<!-- Instant Payment Notification & Return Page Details -->
<input type="hidden" name="notify_url" value="http://www.example.com/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value="http://www.example.com" />
<input type="hidden" name="return" value="http://www.example.com/?s2member_paypal_return=1" />
<input type="hidden" name="rm" value="2" />
<!-- Configures All Of The Checkout Fields -->
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="custom" value="www.example.com" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="page_style" value="paypal" />
<input type="hidden" name="item_name" value="Bronze" />
<input type="hidden" name="item_number" value="1" />
<!-- Identifies/Updates An Existing Member After Checkout -->
<input type="hidden" name="on0" value="" />
<input type="hidden" name="os0" value="" />
<input type="hidden" name="modify" value="0" />
<!-- Customizes Prices, Payments & Billing Cycle -->
<!--<input type="hidden" name="amount" value="0.01" />-->
<input type="hidden" name="src" value="1" />
<input type="hidden" name="sra" value="1" />
<input type="hidden" name="a3" value="0.01" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="M" />
<!-- Displays The PayPal® Image Button -->
<input type="image" alt="PayPal®" style="border:0;" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" />
</form>

If you'd like the full details regarding those two PHP Constants that need to be removed for this to work, see: s2Member -> API Scripting -> Constants. Look toward the very bottom for documentation on the ON0|OS0 Constants.

Statistics: Posted by Jason Caldwell — May 19th, 2010, 2:51 am


]]>
2010-05-19T01:08:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=104&p=417#p417 <![CDATA[How can I use the paypal generated code outside wordpress?]]>
I want to use my entire wordpress site as the members area. It will just have 1 level for access to the entire wordpress site. So, my question is can I take the generated paypal code for my level1 membership and place it on a page outside of my wordpress site and still have it generate the users info and give them access to my wordpress membership site?

e.g. / wordpress site (membership.site.com) - Buy Now s2member generated paypal script page outside wordpress (site.com)

Thanks...

Statistics: Posted by surfries — May 19th, 2010, 1:08 am


]]>