Support

Home Forums Event Espresso Premium Payment confirmation only working 50% of the time

Payment confirmation only working 50% of the time

Posted: December 18, 2012 at 6:16 am

Viewing 8 reply threads


bcrinion

December 18, 2012 at 6:16 am

I have two redirect payment options on the http://www.IrishTriathlon.com/entry/ website, Paypal and Realex. Paypal payments return a message to the EE plugin every time. However the Realex only appears to work about 50% of the time. At the end of the day, I have to manually check on the Realex system, to see which of the failed entries have actually paid and then manually make them complete on the EE plugin.

Any tips would be helpful.

One line of inquiry maybe to do with load times for the IrishTriathlon website, which can sometimes go over 10 seconds, but is normally 5-6seconds, when checked using firebug.

Wp version 3.5
EE version 3.1.29.1P


Dean

December 18, 2012 at 6:27 am

Hi,

I believe the devs are doing some behind the scenes work with Realex/Realauth at the moment which may be related.

Have you tested any payments? Or has anyone commented on any issues?

Is it just not marking the payments as complete event when the payment is complete in Realex? Are there any where the attendee is marked as complete but there is NO payment in Realex?

Sorry for the barrage of questions, just trying to get a sense of if this is related or something else.


bcrinion

December 18, 2012 at 9:17 am

Dean,

  • Testing payments: the ones that don’t work give the thank you page
    shortcode [ESPRESSO_TXN_PAGE] instead of the details of the entry.

  • Some entries with realex work and show up as ‘Realauth’ when you list attendees.
  • There doesn’t appear to be anybody (or none of the 50 entries this
    month) where it gave a false positive; confirmed an entry on EE where
    someone hadn’t paid on Realex.

  • One other point We did an overhaul and upgrade last month before we opened up entries for the summer 2013 events last week.
    Previously the confirmation page on the realex website just stripped
    out the competitors details, name, address, etc in text format. Now
    it imports the whole thank you page, with adverts, menus, images,
    etc.

  • I had though that the problem was with the website, due to slow
    loading, but realex have confirmed that they haven’t had any 500
    errors (they have previous emailed me as soon as a 500 error occurs).
    It was only when I added the paypal payment option and found that it
    worked 100% of the time, that I thought that the issue maybe with the realex integration.


Dean

December 18, 2012 at 11:34 pm

Hi Thank you that extra info it does sound very much like the issue the devs are working on right now. I’ll add your notes to the ticket, and we hope to get this resolved soon.


bcrinion

December 19, 2012 at 4:15 am

Dean,

Great, please do keep me up to date with the payment gateway progress. Entries for the 2013 Irish Triathlon season will really take off in the new year, so it would be great to get it sorted in the coming weeks.

Brian.


Josh

  • Support Staff

December 19, 2012 at 5:10 pm

Hi Brian,

I do know that what they’re working on with the Realex gateway has mostly to do with integrating the email hook across the gateways, and adding an additional hook in the case where Realauth enters an incorrect notify URL.

I’d say that the slow load time may be the culprit. There are two pages that can handle the notification, which are set in the Event Espresso Page settings. What I would suggest doing is removing all the widget content from those pages to help speed things up. There are some scripts and ads running on the pages I checked out and these may be causing the payment notification to time out.

This is the perfect use case for the widget logic plugin.

http://wordpress.org/extend/plugins/widget-logic/


bcrinion

December 20, 2012 at 6:23 am

Josh,

I’ve installed the widget logic plugin and used it to removed all widgets except the required link to T&C’s on the Thanks You page. Hopefully this helps. http://www.irishtriathlon.com/entry/thank-you/

On the page speed issue, I don’t see the paypal gateway would work 100% of the time but the Realex gateway only works 50% of the time.


Josh

  • Support Staff

December 20, 2012 at 9:27 am

That will likely help, but if you check the page you linked to in something like the chrome web inspector or the PageSpeed module in Firebug, you’ll see there are over a dozen unnecessary scripts and styles loading that are making the page load slowly. One quick tip I can give you that will reduce this by a few more is the Event Espresso calendar scripts and stylesheet can be set to only load on the calendar page. There is a setting in the Calendar options where you can enter the calendar page ID and the calendar scripts won’t load anywhere else.

If you look at the page source, there are loads of scripts there that each take up an http request that aren’t being used, for example, there isn’t a contact form on the page, but there are scripts and styles loading up for the contact form plugin.

This is more of an advanced tutorial, but if you combine the idea to deregister scripts and styles that are loading on that page (you can use conditional tags to make it only deregister on the thank you page), you can reduce the page weight and help that payment notification not time out.

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


bcrinion

December 20, 2012 at 9:45 am

Josh,

Thanks for the tips, I’ve set the Event Espresso calendar scripts and stylesheet to only load on one page. Plus I’ve disabled the contact form script.

The other errors I’ll leave to a developer.

Viewing 8 reply threads

The support post ‘Payment confirmation only working 50% of the time’ 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