Support

Home Forums Event Espresso Premium URGENT – Realex response URL error – EE3

URGENT – Realex response URL error – EE3

Posted: September 4, 2015 at 3:08 pm


Robert O’Halloran

September 4, 2015 at 3:08 pm

Hello,

Some on my users are getting an error when trying to use Realex. The error cannot return them to the website. Relax unformed us of the following:

“Your response URL appears to have too much data in it, which causes an issue displaying the response to the customer. This would explain the message your customers are receiving after a payment. To rectify this, the response URL needs to be trimmed down to a more basic web page that does not contain external links or images and handles for response of the transaction. Otherwise you will need to provide me with a different response URL.”

Any idea how this can be rectified?

Our site is live and taking transactions.

Regards,

Robert


Josh

  • Support Staff

September 8, 2015 at 9:37 am

Hi Robert,

It sounds like there’s an issue with the size of the page load slowing things down when Realex posts the payment information to your response URL. I can imagine this can happen if there are a number of JavaScript files, CSS files, and images from your WordPress theme.

You can use a simplified page template that will remove all of the above and the response URL will load much quicker. We have a downloadable template that you can add to your theme, then set the page template settings for your response URL page to use the template.


Robert O’Halloran

September 8, 2015 at 9:54 am

Amazing! We through that what it might have been and about to experiment with something similar.

So would I be right in saying as long as the new page which has this shortcode on it [ESPRESSO_TXN_PAGE] is returned to after the Realex transaction is authorized, emails will be triggered to go out to the customer? We tried just using a basic html page yesterday for the response URl but users were saying they were not receiving any emails and the site was showing orders as incomplete / pending so we quickly reverted back.


Josh

  • Support Staff

September 8, 2015 at 10:12 am

It turns out the page the customer will see after they pay is the Auto Return URL, which is the page with the [ESPRESSO_PAYMENTS] shortcode. The page which has this shortcode on it [ESPRESSO_TXN_PAGE], is a listener page and doesn’t display anything and isn’t viewed by the customer.


Robert O’Halloran

September 8, 2015 at 10:33 am

Ok so we should supply realex with the page containing:

[ESPRESSO_PAYMENTS]

Sorry, we just want to be 100% sure


Josh

  • Support Staff

September 8, 2015 at 12:25 pm

You can, because the Realex gateway was written to allow either the notification URL or auto return URL to be used.

In summary, these are the three Event Espresso 3 pages that can interact with Realex:

Referral URL: The page that has the [ESPRESSO_EVENTS] shortcode on it and set as the main registration page.

Response URL: The page that has the [ESPRESSO_TXN_SHORTCODE] on it and set as the Notify URL/Transactions page. This page needs to be publicly viewable, so you need to make sure you can see that page while logged out of the site. If you go directly to that page in a web browser, it should say ID not supplied if you have things set up correctly.

Redirect to URL after successful payment, and can be used as the Response URL: The page that has the [ESPRESSO_PAYMENTS] shortcode on it and set as the Auto Return URL. This page needs to be publicly viewable, so you need to make sure you can see that page while logged out of the site.

Notes: Page settings for Event Espresso 3 are documented here:

https://eventespresso.com/wiki/the-basic-settings/#page

It’s easier to set up the notify URL to be more performant because it’s not displayed during the registration process. However you can also use the auto return URL as the response URL. If you use the auto return URL, you may need to remove some of the scripts, styles, and images so that it will not timeout. Here’s a guide that shows how to remove specific scripts and styles that can be targeted for specific pages:

http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles


Robert O’Halloran

September 9, 2015 at 6:51 am

Thanks for the full explanation Josh. The template file you sent over worked a treat!

Regards,

Robert


Josh

  • Support Staff

September 9, 2015 at 7:18 am

You’re welcome Robert.

The support post ‘URGENT – Realex response URL error – EE3’ 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