Support

Home Forums Event Espresso Premium Modify method of payment wording

Modify method of payment wording

Posted: March 18, 2019 at 9:44 am

Viewing 5 reply threads


Vernon

March 18, 2019 at 9:44 am

I am wanting to change the wording in the pending payment message. One part is change ” You can make payment here >>” Which just directs the user back to the website ( I would like to remove that ). Second is change “Connect with us”, I would like to change that to “To make a payment, send a copy of the invoice with payment. Please note payments must be received by September 16th.”

I have looked in the messages section for Registration Pending Payment and not seeing where to change that at. Advise?


Vernon

March 18, 2019 at 9:45 am

I would like to modify the “method of payment wording” from “Please select your method of payment” to include “No personal checks”


Tony

  • Support Staff

March 18, 2019 at 10:17 am

I have looked in the messages section for Registration Pending Payment and not seeing where to change that at. Advise?

Sounds like you are editing the wrong context as you’d see the sections you are requesting to change easily otherwise.

Take a look here for details on message ‘contexts’: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/

To edit the two sections you are referring to, go to:

Event Espresso -> Messages -> Default message templates (assuming you are not using custom templates) -> Registration Pending Payment -> Edit Primary Registrant.

Confirm you are editing the correct context (the link above explains how you do that).

You should see the ‘You can make a payment here »’ text on a blue callout, you can remove that in the template (be careful when editing the templates, there’s HTML in those templates and if you aren’t careful with your changes you’ll invalidate the HTML in use which then causes problems for you recipients as their email clients can’t parse the emails.

Next, the ‘Connect with us’ section is just below that, you can edit that to your liking there (again pay attention to the HTML tables)

Note that I don’t really recommend adding date specific information into the templates, you’re going to need to edit that template after each event but the choice is yours 🙂

I would like to modify the “method of payment wording” from “Please select your method of payment” to include “No personal checks”

Do you mean on the checkout page?

You’re removing the header to state ‘No Personal Checks’?

Can you add a screenshot so I know the location you are referring to?


Vernon

March 18, 2019 at 1:17 pm

Tony, Can I claim that I missed that in the HTML section cause it is Monday? Sorry for wasting you time on the obvious.

In regards to the change of wording with Method of Payment please see: https://monosnap.com/file/ur1UaH6SOqzUOLKX01sBb6bx7si7WK


Tony

  • Support Staff

March 18, 2019 at 1:24 pm

Tony, Can I claim that I missed that in the HTML section cause it is Monday? Sorry for wasting you time on the obvious.

Nothing is obvious until you know its there 😉

In regards to the change of wording with Method of Payment please see: https://monosnap.com/file/ur1UaH6SOqzUOLKX01sBb6bx7si7WK

That text is filtered, so you can do something like this:

https://gist.github.com/Pebblo/6b83db7cd7fb41aa363f7c973cf307bd

Note that whatever you return is used for the header, so for you line 4 would be something like:

‘return “Please Select Your Method of Payment – No personal checks”;`


Vernon

March 18, 2019 at 1:51 pm

Perhaps a stupid question, would there be any issue adding this to my other custom plug in

<?php //Please do not include the opening PHP tag if you already have one
function tw_ee_method_of_payment_hdr() {
return ‘Please Select Your Method of Payment – No personal checks’;
}
add_filter( ‘FHEE__registration_page_payment_options__method_of_payment_hdr’, ‘tw_ee_method_of_payment_hdr’);


Tony

  • Support Staff

March 18, 2019 at 2:40 pm

No issue, but you don’t include the opening PHP if you already have one up, you’ll get a fatal error if you do, for example:

<?php //Comment

function something() {
    //I don't do anything
}

<?php

//Something else

Will fatal error, so make sure you don’t include that tag.

Viewing 5 reply threads

The support post ‘Modify method of payment wording’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso