latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Mike Capps

Sorry, I've not written a description yet. I'll get to it soon!


Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Adding options to paypal button

By:  Mike Capps in: Community Forum

voices: 4
replies: 12

3 years, 8 months ago  eve lurie

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Thursday Oct 4th, 2012 at 6:00 pm #27489
Mike Capps
Username: emike09

Hi Eduan,
Yes, the same thing happens with the default 2011 theme.

Here is the HTML being used:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="xxxx@xxxx.com" />
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
<!-- Instant Payment Notification & Return Page Details -->
<input type="hidden" name="notify_url" value="http://www.goldrushexpeditions.com/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value="http://www.goldrushexpeditions.com/" />
<input type="hidden" name="return" value="http://www.goldrushexpeditions.com/?s2member_paypal_return=1" />
<input type="hidden" name="rm" value="2" />
<!-- Configures Basic Checkout Fields -->
<input type="hidden" name="lc" value="" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="custom" value="www.goldrushexpeditions.com" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="page_style" value="paypal" />
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="item_name" value="Gold Rush Member / description and pricing details here." />
<input type="hidden" name="item_number" value="1" />
<!-- Configures s2Member's Unique Invoice ID/Code  -->
<input type="hidden" name="invoice" value="<?php echo S2MEMBER_VALUE_FOR_PP_INV(); ?>" />
<!-- Identifies/Updates An Existing User/Member ( when/if applicable )  -->
<input type="hidden" name="on0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0; ?>" />
<input type="hidden" name="os0" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0; ?>" />
<!-- Identifies The Customer's IP Address For Tracking -->
<input type="hidden" name="on1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1; ?>" />
<input type="hidden" name="os1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1; ?>" />
<!-- Controls Modify Behavior At PayPal® Checkout -->
<input type="hidden" name="modify" value="0" />
<!-- Customizes Prices, Payments & Billing Cycle -->
<!--<input type="hidden" name="amount" value="12.00" />-->
<input type="hidden" name="src" value="1" />
<input type="hidden" name="srt" value="" />
<input type="hidden" name="sra" value="1" />
<input type="hidden" name="a1" value="12.00" />
<input type="hidden" name="p1" value="1" />
<input type="hidden" name="t1" value="Y" />
<input type="hidden" name="a3" value="12.00" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="Y" />
<!-- Displays The PayPal® Image Button -->
<input type="hidden" name="on2" value="Size">Size<select name="os1"> 
<option value="Small">Small</option>
<option value="Medium">Medium</option>
<option value="Large">Large</option>
<option value="XLarge">X-Large</option>
<option value="XXLarge">XX-Large</option>
</select>
<input type="hidden" name="on3" value="Size">Size<select name="os1"> 
<option value="Mens">Mens</option>
<option value="Womens">Womens</option>
</select>
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal®" />
</form>
  • This reply was modified 4 years, 3 months ago by  Mike Capps.
  • This reply was modified 4 years, 3 months ago by  Mike Capps.
Posted: Thursday Oct 4th, 2012 at 5:23 pm #27477
Mike Capps
Username: emike09

Sorry it’s taken me so long to get back. It’s not quite working, and now I’ve not got a huge chunk of empty space above the button when I use the HTML version. When clicking on the button, I’m getting some paypal errors too. Any tips on this?

http://www.goldrushexpeditions.com/paypaltest/

  • This reply was modified 4 years, 3 months ago by  Mike Capps.
Posted: Tuesday Sep 11th, 2012 at 4:55 pm #24934
Mike Capps
Username: emike09

Hi Eduan,
Thanks for the reply. That’s certainly an option, but i’m afraid it would confuse those who are registering in general for the site vs those who are actually paying for membership as only the paying members get the T-Shirt.

Posted: Tuesday Sep 11th, 2012 at 4:34 pm #24931
Mike Capps
Username: emike09

Bump any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.