Support

Home Forums Event Espresso Premium Your registration is not complete until payment is received.

Your registration is not complete until payment is received.

Posted: September 26, 2014 at 7:57 am


patrick miller

September 26, 2014 at 7:57 am

We followed a pre-post on how to remove: Your registration is not complete until payment is received. But it is still showing on the checkout. Can I please have some support regarding this. Below is the text file to show we completed the instructions but still not removed from the cart. Thanks

payment_page.php – Moved – (displays your payment page text)


Tony

  • Support Staff

September 26, 2014 at 9:20 am

Hi Patrick,

Are you using Multi Event Registration?


patrick miller

September 26, 2014 at 9:26 am

Yes


Tony

  • Support Staff

September 26, 2014 at 9:47 am

When using MER the payment_page.php template file is not used.

For MER registrations a core function is used to output that data. This is within event-espresso/includes/process-registration/add_attendees_to_db.php lines 805 to 807 has this:

However as that is a core file, any edits made will be lost after each update. Are you looking to re-phrase ‘Your registration is not complete until payment is received’ or completely remove it (include the notice box – the yellow box)?


patrick miller

September 26, 2014 at 9:59 am

I would like it removed.


Lorenzo Orlando Caum

  • Support Staff

September 26, 2014 at 10:05 am

This will work in a site specific plugin or in your child theme’s functions.php file:

function mycustom_filter_gettext_mer_messaging( $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.' => ''
    );
 
    // 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', 'mycustom_filter_gettext_mer_messaging', 10, 3 );


Lorenzo


patrick miller

September 26, 2014 at 10:14 am

Thank you. Another issue Im have is when a customer is registering it sends a registration email to customer before they finish registration process. There for confusing them thinking they are registered without either paying or choosing offline option. Is there a fix for this?


Tony

  • Support Staff

September 26, 2014 at 10:39 am

Yes just go to Event Espresso -> General Settings -> Email Settings.

You’ll find the option ‘Send registration confirmation emails before payment is received?’, set that to No and update the settings.

The Confirmation email will then only be sent when payment is complete.


patrick miller

September 26, 2014 at 12:57 pm

Another line I would like to remove is

Attention!
If you wish to pay by check or money order, then please make note of the information above, and click to Complete your Registration

I just want click to Complete your Registration


Lorenzo Orlando Caum

  • Support Staff

September 26, 2014 at 1:56 pm

Hi Patrick,

That message is there as the button needs to be clicked to complete the registration processes. Are you using those payment options now or will they be needed in the near future?


Lorenzo


patrick miller

September 26, 2014 at 11:28 pm

Can the rest of text be removed and have only Attention!
Click Here to Complete your Registration

Its confusing to customers and would be better as a actual button. Is this doable?

I give customer option to pay online or day of the class. I want them to regsiter their seat. I want to make it dummy proof. Customers are not the most computer savy. Thanks


Lorenzo Orlando Caum

  • Support Staff

September 27, 2014 at 9:43 am

Update the prior function to this:

function mycustom_filter_gettext_mer_messaging( $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.' => '',
'If you wish to pay by check or money order, then please make note of the information above, and click to Complete your Registration' => 'Click Here to Complete your Registration'
    );
 
    // 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', 'mycustom_filter_gettext_mer_messaging', 10, 3 );


Lorenzo

The support post ‘Your registration is not complete until payment is received.’ 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