• Resolved plxmas

    (@plxmas)


    may I change this button in my payment page?
    where I manage fonts and color?

    Screenshot-2021-08-19-at-09-24-41

    • This topic was modified 3 years, 6 months ago by plxmas.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi there,

    Thank you for using Paid Memberships Pro.

    Here is a guide that may help you adjust the PayPal checkout button – https://www.paidmembershipspro.com/change-the-paypal-button-on-membership-checkout/

    I hope this helps get you started.

    Thread Starter plxmas

    (@plxmas)

    great.
    but I can’t modify text in checkout area.
    maybe could be usefull some addon?

    Thread Starter plxmas

    (@plxmas)

    I’m trying code in your link.
    I modify as this.

    /**
     * Change the PayPal button image on the Paid Memberships Pro - Membership Checkout page.
     *
     * You can add this recipe to your site by creating a custom plugin
     * or using the Code Snippets plugin available for free in the WordPress repository.
     * Read this companion article for step-by-step directions on either method.
     * https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/
     */
    function my_pmpro_paypal_button_image( $url ) {
    	return 'https://www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-large.png';
    }
    add_filter( 'pmpro_paypal_button_image', 'my_pmpro_paypal_button_image' );

    it doesn’t work.

    I think because it is related to my_pmpro_paypal_button_image, I use paypal express checkout
    In inspect element I see the button is

    <input type="image" id="pmpro_btn-submit-paypalexpress" class="pmpro_btn-submit-checkout" value="Paga con PayPal ?" src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-medium.png">

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘payment button’ is closed to new replies.