Would like to know how to change PayPal button with S2MemberPro

With the S2Member framework, I was able to code the PayPal button and substitute my own button.

With S2MemberPro, I cannot find the code within the button script to point to a specific button. I’m sorry to say, the PayPal button provided is quite ugly, design speaking.

Does anyone have any ideas on how to change the PayPal button when using ProForms?
I’ve tried using the image function to shortcode as below, but it doesn’t work.

Are you talking about the button image on a Button shortcode? If so, take a look at the generated script shown on the shortcode generator page (WP Dashboard → s2Member (Pro) → PayPal Buttons).

The generated script will look something like this:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
 <input type="hidden" name="business" value="paypal@successfunnels.online" />
 <input type="hidden" name="cmd" value="_xclick-subscriptions" />
 <!-- Instant Payment Notification & Return Page Details -->
 <input type="hidden" name="notify_url" value="https://clean.sitegeeks.com/?s2member_paypal_notify=1" />
 <input type="hidden" name="cancel_return" value="https://clean.sitegeeks.com/" />
 <input type="hidden" name="return" value="https://clean.sitegeeks.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="clean.sitegeeks.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="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="0.01" />-->
 <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="0.00" />
 <input type="hidden" name="p1" value="0" />
 <input type="hidden" name="t1" value="D" />
 <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" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal" />
</form>

This line <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal" /> displays the button. You just need to change the src to a URL pointing to the button image you want to use.

No, I’m using the PayPalPro Form and it generates this code.

[s2Member-Pro-PayPal-Form level=“2” ccaps="" desc=“30 Days @ $99.00 / then $20.00 USD / Monthly (recurring charge, for ongoing access)” ps=“paypal” lc="" cc=“USD” dg=“0” ns=“1” custom=“www.inwbands.com” ta=“99.00” tp=“30” tt=“D” ra=“20.00” rp=“1” rt=“M” rr=“1” rrt="" rra=“2” accept=“paypal,visa,mastercard,amex,discover,maestro,solo” accept_via_paypal=“paypal” coupon=“GOLIVE” accept_coupons=“1” default_country_code="" captcha=“0” ]

I tried adding <input type=“image” but it does not change it. I believe its embedded in the php somewhere or at PayPal.

Yes, I see what you mean. There is no code on the form to set the image unless it is being set in the class= somewhere. You could experiment with that or you could just submit a question to the WebSharks team here. The button on the top-right: it says “Sales Questions”, but they will answer support questions as well.

Bummer, it takes more than a week sometimes to get an answer. Ugh.

Not butting-in and this is old now but I don;t think the lady got what you meant by generated code. Since you didn’t make that clear.

Obviously one would have to check the page source to see what generated code the shortcode generated and copy and paste that with the edit.

Are you solved?

i’am interested to change this obsolete and horrible button too.
There is new paypal button out there…