Support

Home Forums Event Espresso Premium Need to change "Please provide the following billing information"

Need to change "Please provide the following billing information"

Posted: November 17, 2021 at 3:03 pm


shoreshdavid

November 17, 2021 at 3:03 pm

Greetings,

Is there a filter to change the verbiage on the payment screen from “Please provide the following billing information” to something with a bit more information?

Because EE uses the primary registrant to autofill information on the payment page (which we want) there are some who purchase gift tickets yet are unaware that they need to change the data in the fields to match their OWN name and address. If this isn’t done then the [Vanco] gateway tells the card processor to change the profile name in its system from the proper card holder to the recipient’s name!

If there’s a toggle in the EE gateway to stop this from happening, then that would be a good thing. But regardless, we need to include more instruction on the payment page. Something like “Billing Information – Please ensure that ALL fields below contain the correct information for the CARD HOLDER.”

Kind Regards,
Chris


Tony

  • Support Staff

November 17, 2021 at 3:29 pm

Hi Chris,

If I understand the location you are referring to correctly then that ‘Please provide the following billing information’ text is from the payment method itself.

Go to Event Espresso -> Payment methods -> {payment_method} (In this case it appears to be Vanco)

In the Description field do you see the above text? If so, update that string and hit save.

Now test another registration and see if it has changed where you wanted it to.

If not please ad a screenshot of the location so I can double-check:

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


shoreshdavid

November 17, 2021 at 4:00 pm

Sorry… I thought perhaps the message was being generated by the gateway so I went into the gateway settings in Payment Methods, and there I found a Description field which allows me to change the verbiage.

Kind Regards,
Chris


shoreshdavid

November 17, 2021 at 4:22 pm

Hi Tony,

I wasn’t expecting you all to reply so quickly. ๐Ÿ™‚ You are correct, and now the payment screen says:

“Please ensure that ALL fields below (including name, address, and email) are correct for the CARD HOLDER.”

..which is much better than the default description in the gateway settings.

Also, I added the below function to replace the message “Important information regarding your payment” with a more more direct “Enter payment information below”. I’m not well versed in PHP so hopefully that is the best way to write this function:

//* Change verbiage on EE payment screen
function ee_custom_payment_verbiage( $translated, $original, $domain ) {
    $strings = array(
         'Important information regarding your payment'
         =>
         'Enter payment information below',
);
    if ( isset( $strings[$original] ) ) {
        $translations = get_translations_for_domain( $domain );
        $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
}
add_filter( 'gettext', 'ee_custom_payment_verbiage', 10, 3 );

All in all, now the information on our payment page is so obvious that no one can use the excuse of it being “confusing”.

Kind Regards,
Chris


Tony

  • Support Staff

November 18, 2021 at 3:29 am

Nice, that should work great ๐Ÿ™‚

Any further issues/questions just let us know.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso