Okay
  Public Ticket #3119916
change text for stripe payment option
Closed

Comments

  •  7
    mike started the conversation

    Hi

    on the payment page is it possible to change the text which says "stripe" to "card payment" 

    a lot of our clients dont even know what stripe is and so its confusing them, really it should say "Card Payment" here and not stripe.

    I cant see anywhere to change this text

    Attached files:  2022-09-07_07-27-46.jpg

  •  1,339
    Marko replied

    Hello Mike,

    Thank you for reaching out to us.

    The images for payments on the front-end can be changed in /wp-content/plugins/ameliabooking/public/img/payments/icons/ and /wp-content/plugins/ameliabooking/public/img/payments/ folders. Keep in mind that the size of images need to stay the same, along with the name of the image file. Also, until we include this as a customization option in Amelia/Customize, you will need to do this every time the plugin updates.

    As for the text below icons, it is possible to change this now, but it's not a perfect solution.

    You need to go to ameliabooking/public/js/chunks/ folder and open the file that looks like this:

    amelia-booking-booking-e699bcfa2244b52e0818.js

    The hash may be different, so if it's not "e699bcfa2244b52e0818" it is something else, it's important to look for amelia-booking-booking-hash.js

    When you edit this file, look for "On-Site", "Paypal", "Stripe", "Online" (case sensitive), and you'll see this:

    case"paypal":return"Paypal";case"stripe":return"Stripe";case"onsite":return"On-Site";case"mollie":return"Online"
    

    You can change all values in quotations, after "return" and it will change on the front-end, so for example, change:

    return"On-Site"

    To:

    return"Invoice"

    And so on. Our developers are working on a more elegant solution, but at this time, it's the best one we can offer.

    The file I told you to modify is the step-by-step [ameliabooking] form, so if you're using [ameliacatalog], you'd need to change a different file (same folder, only amelia-booking-catalog-hash.js).

    Hope this works for you.

    If you have any more questions please feel free to open another ticket.

    We wish you all the best.

    Kind Regards, 

    Marko Davidovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Leilani replied

    I am also looking to do this. I'm using the 2 step booking process form but the fix below to change Stripe to Credit does not work. Should it?

  •  1,339
    Marko replied

    Hello Leilani,

    In that case, something is not set correctly. This is a proven solution that has been used several thousand times most recently yesterday and we know that it works. Please check and redo all the steps again. And if you have more questions, please open your own ticket in the Amelia category and we will be happy to help you.

    We wish you all the best.


    Kind Regards, 

    Marko Davidovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables