Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor royho

    (@royho)

    Hello,

    That is controlled by Stripe, not this plugin. The only thing you can do is add a custom image. Try using this https://cld.wthms.co/EpbEx7

    It may fill that void section.

    Thread Starter treasureseason

    (@treasureseason)

    Thanks, that has helped spice it up but the background color is still black. Am I able to change the color through Stripe?

    Thanks

    Plugin Contributor royho

    (@royho)

    I am not sure unfortunately. You would have to contact Stripe to see what they say.

    Thread Starter treasureseason

    (@treasureseason)

    I just contacted their support and they said:
    “This would be in the backend of that form, so I imagine WooCommerce would need to advise you of this if it’s their code that created the form.”

    Is it possible that I can edit the colors by modifying the plugin files?

    Thanks

    Plugin Contributor royho

    (@royho)

    AFAIK nothing in the Stripe plugin adds this color.

    Thread Starter treasureseason

    (@treasureseason)

    hmm since I cannot modify the color, how can I add text to that area? (as in this example: https://stripe.com/checkout ) I was told to modify data-name and data-description, in which file can I find that script?

    EDIT: I have found data-description in the class-wc-gateway-stripe.php file and have added data-name manually as it was missing. I have tried overriding this through my child theme (child-theme/woocommerce-gateway-stripe/class-wc-gateway-stripe.php) but it doesn’t work. Is there a better way without modifying actual plugin files?

    Thanks

    Plugin Contributor royho

    (@royho)

    No description at this time but the name comes from the statement descriptor in your Stripe settings.

    Thread Starter treasureseason

    (@treasureseason)

    Ok great! That’s what I was missing .. I complicated my life for nothing

    Thanks!

    Plugin Contributor royho

    (@royho)

    We’ll add the description setting in the next update if that helps.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to customize colors of mobile checkout?’ is closed to new replies.