Change the PayPal Button on Membership Checkout

If you’d like to use a different PayPal button at checkout, below is a code recipe and links to the buttons available through PayPal.


Button Options offered by PayPal

Check out with PayPal

Check out with PayPal
Check out with PayPal
Check out with PayPal

/* Large */
https://www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-large.png
 
/* Medium */
https://www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-medium.png
 
/* Small */
https://www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-small.png

Buy now with PayPal

Buy now with PayPal
Buy now with PayPal
Buy now with PayPal

/* Large */
https://www.paypalobjects.com/webstatic/en_US/i/buttons/buy-logo-large.png
 
/* Medium */
https://www.paypalobjects.com/webstatic/en_US/i/buttons/buy-logo-medium.png
 
/* Small */
https://www.paypalobjects.com/webstatic/en_US/i/buttons/buy-logo-small.png

See all PayPal Buttons or visit the PayPal logo center for more options


Or, create your own.

You can also create your own PayPal button and host it on your own website, just make sure you load it over the https protocol if you are using SSL on your website.

Check out with PayPal

/* Custom */
https://paidmembershipspro.com/images/paypal_button_custom.png

The Filter

This recipe uses the pmpro_paypal_button_image filter. Update line 7 of the code recipe to either the desired PayPal logo URL or the URL for the custom button you created.

Copy and paste this code recipe into a helper PMPro Customizations plugin.


See all hooks and filters