Changing Stripe field labels

This topic contains 3 replies, has 2 voices, and was last updated by  Gary Handley 10 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13925

    Hi,

    When you add stripe as a payment gateway, the Expiry month and year fields are labeled simply “Month” and “Year”. For user clarity I would like to change these label captions to “Expiry Month” and “Expiry Year”. Where can I make this change?

    Best regards
    Gary

    Gary Handley
    #13926

    Wouldn’t you know it – I found the answer after posting this. I had installed Stripe on my live server, but not on my local test server and I was searching on my local server, doh. I’ve now found it in “class-eo-stripe-payment-gateway.php”. Thanks anyway.

    Best regards
    Gary

    Gary Handley
    #13930

    Glad this sorted!

    This might change, though in a future update (not an immediate one). Currently gateway credit card fields are ‘inserted’ in, by just printing the required HTML fields to the page – the aim will be to instead add these fields to the booking form API (although they won’t appear in the booking form). This will make it easier to modify the fields properties (label, position etc) and (as per the coming Pro update), provide a template for the field in your theme.

    Stephen Harris
    #13931

    Looking forward to seeing that template in the future, thanks Stephen.

    Gary Handley
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.