• Resolved julhito2011

    (@julhito2011)


    Hello,

    I have a website using a dark theme. Is there any way to change the GPay and Apple Pay theme to light?

    I’ve searched throughout the entire plugin to make this change, but I couldn’t find anything related to this customization.

    According to the guidelines, Apple doesn’t allow the use of a dark button on a dark website.

    https://developer.apple.com/design/human-interface-guidelines/apple-pay

    Thank you for your time!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter julhito2011

    (@julhito2011)

    I’ve figured out.

    wp-content/plugins/paid-memberships-pro/js/pmpro-stripe.js

    Solution:

    var prButton = elements.create('paymentRequestButton', {
    paymentRequest: paymentRequest,
    style: {
    paymentRequestButton: {
    type: 'default',
    theme: 'light',
    },
    },
    });
    Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to the Paid Memberships Pro team.

    Thank you for sharing your solution with us, I’ve shared this with our development team as well for further review and possibly adding it into the plugin.

    Please feel free to reach out if there’s anything else we can assist with.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.