Support

Home Forums Event Espresso Premium Upgrade caused [ESPRESSO_CHECKOUT] error.

Upgrade caused [ESPRESSO_CHECKOUT] error.

Posted: November 17, 2015 at 1:32 pm

Viewing 21 reply threads


Richard Wallis

November 17, 2015 at 1:32 pm

Following this support I was on a temporary version of 4.8.9.

Having problems (timing out when sending some emails) with system today so restored database to backup – still problems so decided to upgrade to latest version (4.8.23) before contacting support.

Since that upgrade, clicking ‘Register Now’ takes you to a Registration Checkout page only displaying [ESPRESSO_CHECKOUT].

I need to fix this urgently before moving on to the real problem.


Josh

  • Support Staff

November 17, 2015 at 1:36 pm

Hi Richard,

Do you happen to have the Templatera plugin active on your site? If so, is that something you can deactivate?


Richard Wallis

November 17, 2015 at 1:41 pm

No I do not.

The only thing I had that was similar was ‘Raw HTML Snippets’ but deactivating that had no effect.

~Richard


Josh

  • Support Staff

November 17, 2015 at 1:44 pm

Does the active WP theme have built in support for Visual Composer?


Richard Wallis

November 17, 2015 at 1:47 pm

Don’t think so. I did not create the theme, so I’m not aware how you wouldcheck.


Josh

  • Support Staff

November 17, 2015 at 2:04 pm

It’d would tell you to install WPBakery Visual Composer if it did.

Maybe you can try something else though. Can you create a new WordPress page, put the [ESPRESSO_CHECKOUT] shortcode on it, then go to Event Espresso > General Settings > Critical pages and set the main registration checkout page to point to the new page?


Richard Wallis

November 17, 2015 at 2:09 pm

Tried that – same symptoms 🙁


Josh

  • Support Staff

November 17, 2015 at 2:21 pm

Can you post a link to the site that’s affected so we can take a look?


Richard Wallis

November 17, 2015 at 2:24 pm

http://www.smarttrees.co.uk/events/test1/

That is my test event – normal booking page is being blocked with a “we are closed for booking due to errors” message


Josh

  • Support Staff

November 17, 2015 at 2:30 pm

Okay so that’s an Artisteer theme. You could try updating to the latest version of EE4 (currently 4.8.24.p) and there’s a chance it could help. You can trigger an update notification by going to Event Espresso > General Settings and click Save. Then a plugin update notification will fire, or you can download the current version from your account page.

If that does not help, then what I would suggest is try a temporary switch over to another theme (like the twenty fifteen theme) to see if that makes a difference as well as deactivating all other plugins.


Richard Wallis

November 17, 2015 at 2:48 pm

4.8.24 fixed the [ESPRESSO_CHECKOUT] error

Now I need to check my original resend registration problem – it will take a short while to set it up so a customer doesn’t get duplicates.

I’ll let you know how I get on


Richard Wallis

November 17, 2015 at 3:02 pm

OK – original problem is still there.

If I book through the registration page, things seem OK.

But if I book via:
http://www.smarttrees.co.uk/wp-admin/admin.php?page=espresso_registrations&action=new_registration&return=default&event_id=2003&new_registration_nonce=ad508fb0e8

Selecting cash payment.

I get the “An error has occurred:Something went wrong and the message for this registration was NOT resent” message.

I get the same error if I try to manually select resend registration later.

My problem is that with this situation I cannot create registrations on behalf of users who want to pay cash. Or users that wish to move bookings an we manually create a replacement registration.


Richard Wallis

November 17, 2015 at 3:27 pm

Do you want me to create a separate post for this original problem?


Josh

  • Support Staff

November 17, 2015 at 3:39 pm

No that’s fine to post here if you’d like. I’m not sure how there would be a cash payment option on admin registration page, or is that being selected on the next step when you update the transaction?


Josh

  • Support Staff

November 17, 2015 at 3:40 pm

Either way, I can recommend trying the same task that’s failing with a default WordPress theme activated, and all other WordPress plugins deactivated to see if you get the same results.


Richard Wallis

November 17, 2015 at 3:55 pm

Thanks.

I use following steps:

1. http://www.smarttrees.co.uk/wp-admin/admin.php?page=espresso_registrations&action=new_registration&return=default&event_id=2003&new_registration_nonce=ad508fb0e8

2. Add Tickets and Continue to Registrant Details

3. Fill in personal info
Send Related Messages?

4. Save Registration and Continue to Details

5. On transaction screen – Apply Payment

6. Payment options are left at their defaults (Cash)

7. Apply payment

8. Returns to transaction screen with “An error has occurred: Something went wrong and the payment confirmation was NOT resent” visible at top

Email works fine for test sends and for messages generated via normal non-admin checkout.

The only email messages enabled (with addresses in the To box) are for ‘Registration Approved’ to Primary Registrant and Event Admin


Richard Wallis

November 17, 2015 at 4:01 pm

For information:

The URL to call the new registration admin form is created in an enhanced version of espresso-events-table-template.template.php that adds a column to the table and calls the following code if displayed by an admin user.

$sell	= get_admin_url(null, $path = 'admin.php',$scheme = 'admin') . 
"?page=espresso_registrations&action=new_registration&return=default";

$sell_url	=	$sell . '&event_id=' . $event->ID() . '&new_registration_nonce=' . wp_create_nonce('new_registration_'); 


Tony

  • Support Staff

November 18, 2015 at 5:05 am

Hi Richard,

Within the Reg Approved message templates, what shortcodes are you using within the ‘To’ and ‘From’ fields please?

Are you using a transactional email service such as Mandill or PostMark?


Richard Wallis

November 18, 2015 at 10:54 am

Hi Tony,

Sorry for delay in responding – I’ve been trapped in meetings all day.

To answer your questions:
For the Reg approved email to the Primary Registrant:
TO: [PRIMARY_REGISTRANT_EMAIL]
FROM: [CO_FORMATTED_EMAIL]
To Event Admin:
TO: [CO_FORMATTED_EMAIL]
From: [CO_FORMATTED_EMAIL]

We are not using a transactional email service. We use the WP-Mail-SMTP plugin to direct email to a relay smtp server.

These two email messages are working correctly when used via the normal public checkin page.

~Richard


Tony

  • Support Staff

November 18, 2015 at 12:22 pm

Hmm, ok.

So it looks like there is an issue with the Payment Received message type.

Within that same messages section, do you see a ‘Payment received’ message type?

On that message type, which contexts are active and which shortcodes are in use?

When you apply the payment, UNcheck the send Payment messages and check Registration Messages, like this – http://take.ms/yFAKJ

Does that work as expected?


Richard Wallis

November 18, 2015 at 1:12 pm

‘Payment received’ message type:
Primary Registrant:
TO:
FROM: [CO_FORMATTED_EMAIL]
To Event Admin:
TO:
From: [CO_FORMATTED_EMAIL]

Selections as you indicate – it does work as expected.

~Richard.


Josh

  • Support Staff

November 18, 2015 at 2:50 pm

Hi Richard,

If you do not want Payment Received messages to get sent, you can disable that message type. If you do want them to get sent, you will need to set the To: fields so they have shortcodes.

Viewing 21 reply threads

The support post ‘Upgrade caused [ESPRESSO_CHECKOUT] error.’ 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