Posted: March 27, 2014 at 7:45 am
There is a perennial confusion that people need a paypal account to use paypal so they feel they can’t use a credit card – is there a way to edit the message that event espresso gives during the payment process to add a message with the paypal link? Where it says please choose a payment option? Thanks as example… |
|
Hello, I’m trying to reach your payment page so I can share an example but your event registration page is only showing a shortcode: http://www.jacksonartnh.com/event-registration/ Do you have multiple WordPress pages with the following shortcode? [ESPRESSO_EVENTS] If so, could you remove the extra shortcodes so only one WP page has the shortcode above? — |
|
Yes there were two pages with that shortcode – we have fixed this now there is only one. |
|
Please let me know if I can edit the paypal payment page and where to edit the pdf as it is showing some html brackets. |
|
Hello Melanie, Thank you for correcting the shortcode. Please void “test test” as I needed to begin registration to reach the payment page. I don’t think there is an easy method to add the note next to the PayPal button but I do see another location that should be available. Please see this link: https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#plugins There are two options but I would try the quick localization plugin first. In the old field enter: Your registration is not complete until payment is received. In the new field enter: Your registration is not complete until payment is received. Note: A PayPal account is not needed to pay via PayPal. You can use an existing PayPal account or pay with a debit or credit card. Let me know if this works for you. — |
|
It didn’t seem to have any impact at all 🙁 |
|
Go ahead and deactivate the localization plugin. Try adding this towards the middle of your theme’s functions.php file (wp-content/themes/yourthemefolder/functions.php): function paypal_filter_gettext( $translated, $original, $domain ) { // This is an array of original strings // and what they should be replaced with $strings = array( 'Your registration is not complete until payment is received.' => 'Your registration is not complete until payment is received. Note: A PayPal account is not needed to pay via PayPal. You can use an existing PayPal account or pay with a debit or credit card.', // Add some more strings here ); // See if the current string is in the $strings array // If so, replace its translation if ( isset( $strings[$original] ) ) { // This accomplishes the same thing as __() // but without running it through the filter again $translations = &get_translations_for_domain( $domain ); $translated = $translations->translate( $strings[$original] ); } return $translated; } add_filter( 'gettext', 'paypal_filter_gettext', 10, 3 ); —
|
|
That did fix the yellow box – thank you – my dangling question is there a place to change this text? |
|
The quick localization plugin doesn’t work for that text? Try this: function paymentoption_filter_gettext( $translated, $original, $domain ) { // This is an array of original strings // and what they should be replaced with $strings = array( 'Would you like to choose a different payment option?' => 'Please change this statement to something else', // Add some more strings here ); // See if the current string is in the $strings array // If so, replace its translation if ( isset( $strings[$original] ) ) { // This accomplishes the same thing as __() // but without running it through the filter again $translations = &get_translations_for_domain( $domain ); $translated = $translations->translate( $strings[$original] ); } return $translated; } add_filter( 'gettext', 'paymentoption_filter_gettext', 10, 3 ); — |
|
The support post ‘Edit PayPal’ 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.