Community Support Forums — WordPress® ( Users Helping Users ) — 2010-08-05T18:20:49-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=458 2010-08-05T18:20:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=458&p=2184#p2184 <![CDATA[Re: PayPal button image error]]>
Brian Hatano wrote:
Also, what's the best way to center the image on a page?

You can do something like this:
Code:
<div style="text-align:center;">
[ Your Button Code ]
</div>

Statistics: Posted by Jason Caldwell — August 5th, 2010, 6:20 pm


]]>
2010-08-05T18:19:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=458&p=2183#p2183 <![CDATA[Re: PayPal button image error]]> RAW HTML ( http://wordpress.org/extend/plugins/raw-html/ ).

If the Full Button Code continues to give you trouble, you might try adding it into a theme file directly. If none of that works for you, you may have to revert back to using the Shortcode format supplied by s2Member.

Statistics: Posted by Jason Caldwell — August 5th, 2010, 6:19 pm


]]>
2010-07-27T00:16:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=458&p=1837#p1837 <![CDATA[Re: PayPal button image error]]> Statistics: Posted by Brian Hatano — July 27th, 2010, 12:16 am


]]>
2010-07-27T00:16:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=458&p=1836#p1836 <![CDATA[PayPal button image error]]>
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:
<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!

Statistics: Posted by Brian Hatano — July 27th, 2010, 12:16 am


]]>