PayPal button image error
Posted: July 27th, 2010, 12:16 am
Newbie coder here:
When using the long code for the S2Member PayPal button, I get an extra 2 of the following:
I don't see a problem with the code, and when I play around to remove them, I end up changing the info sent to PayPal...
Any ideas?
Here is the whole code, with privacy protected:
Thanks for the help!
When using the long code for the S2Member PayPal button, I get an extra 2 of the following:
-->
-->
I don't see a problem with the code, and when I play around to remove them, I end up changing the info sent to PayPal...
Any ideas?
Here is the whole code, with privacy protected:
- Code: Select all
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="accounts@....com" />
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
<!-- Instant Payment Notification & Return Page Details -->
<input type="hidden" name="notify_url" value="http://....com/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value=http://....com" />
<input type="hidden" name="return" value="http://....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="http://....com" />
<input type="hidden" name="currency_code" value="GBP" />
<input type="hidden" name="page_style" value="Primary" />
<input type="hidden" name="item_name" value="Membership" />
<input type="hidden" name="item_number" value="2" />
<!-- Identifies/Updates An Existing Member After Checkout -->
<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; ?>" />
<input type="hidden" name="modify" value="0" />
<!-- Customizes Prices, Payments & Billing Cycle -->
<!--<input type="hidden" name="amount" value="25" />-->
<input type="hidden" name="src" value="0" />
<input type="hidden" name="sra" value="1" />
<!--<input type="hidden" name="a1" value="0.00" />-->
<!--<input type="hidden" name="p1" value="0" />-->
<!--<input type="hidden" name="t1" value="D" />-->
<input type="hidden" name="a3" value="25" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="Y" />
<!-- 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>
Thanks for the help!