Support

Home Forums Event Espresso Premium Payments through mobile randomly fail

Payments through mobile randomly fail

Posted: August 8, 2014 at 12:31 pm

Viewing 5 reply threads


Miguel Fonseca

August 8, 2014 at 12:31 pm

Hi,

I have received reports of PayPal payments that randomly fail when made through a mobile phone.

I have tested this myself on my phone and also see random failed payments:
1. (On phone) I register a fake attendant and submit the payment on paypal
2. (On phone) Paypal page offers a link for me to return to my website. I click on it.
3. (On phone) I am taken back to my website’s Thank You Page. However, this shows the payment as “incomplete”
4. (On PC) I check the attendee list and see the fake attendant successfully registers with “complete” status
5. (On phone) I refresh my website’s Thank You page and notice that the payment status switched to “complete”.

Do you know what might be going on?

It looks like the PayPal IPN is not making it to my website on-time but I go back to it too soon. How could I prevent this? Is there a way to tell PayPal to not show a link to return to my website so that at least we don’t confuse the customer? I don’t want them to think they failed to register when in fact the payment was processed successfully.

Thanks,
Miguel


Lorenzo Orlando Caum

  • Support Staff

August 8, 2014 at 12:38 pm

Hi Miguel,

We have some troubleshooting steps here for the PayPal IPN including a simplified transactions template file:

https://eventespresso.com/wiki/how-to-set-up-paypal-ipn/#incomplete


Lorenzo


Miguel Fonseca

August 8, 2014 at 1:26 pm

Hi Lorenzo,

Thanks for the pointer. Does this mean that the current transactions template takes a long time to process the IPN message from PayPal and this simplified one should reduce the likelihood of the race condition?

Thanks,
Miguel


Lorenzo Orlando Caum

  • Support Staff

August 10, 2014 at 2:46 pm

Hi Miguel,

Sometimes the PayPal IPN is slow to post back to the site by just a few seconds. I believe you experienced this in one of your tests.

The simplified transaction template is a light version that should update quickly.

Are you using the auto return feature for PayPal?


Lorenzo


Miguel Fonseca

August 11, 2014 at 1:02 pm

Hi Lorenzo,

I followed your suggestion but it still made no difference. I’m hoping I did it right:

1) I uploaded the txnpage.php into my theme. (My theme is actually a child theme so I put the file under this child theme’s top folder. The transactions page showed the template “txn page” as an option in the dropdown menu so I’m guessing I did this right.)

2) I followed the same steps as I detailed above but got the same “falsely incomplete” page. A page reload showed the payment as complete.

Questions:

(Q1) Did I handle the uploading of the simplified template file properly in the context of a child theme?

(Q2) How do I check if I’m using the auto return feature? I’m assuming that you suggest that it be turned off?

I have:
* “Bypass Payment Overview Page” set to “No”
* “Force HTTP on Return URL” unchecked

I don’t see any other option under PaylPal Settings that might allow to me turn off that feature.

(Q3) If the delay is in the IPN posting back to my website, how would a light version of the template help? Doesn’t this template kick in only when it gets the IPN?

Thanks,
Miguel


Tony

  • Support Staff

August 12, 2014 at 11:09 am

Hi Miguel,

Q1) Yes that is correct. If the template appeared within the dropdown then it is loading the template correctly. You can view the template working at *your_domain*/transactions/

Q2) If after you make a payment, Paypal automatically directs you back to the site then auto return is working.

Those two settings are correct. You can enable/disable auto return through your Paypal account itself, not Event Espresso. If you log into Paypal, go to Profile, then find ‘Website Payment Preferences’ there you will find your auto return settings. However EE provides an auto return URL within the gateways which will override theses settings.

What are they currently set to?

Q3) The lite transaction template ensures the IPN can be processed as quickly as possible once it is received. We have found in the past that some themes loading multiple images, JS and other resources would slow down the IPN processing, so we remove all this from the equation using this template.

If the IPN’s themselves are being delayed from Paypal, there is not a lot we co do to speed this up as we no control over their servers. Unfortunately it is becoming increasingly common to see these delays.

If you log into your Paypal Account again, go to My Account -> History -> IPN History. Do you see an IPN’s in the list with a status of ‘Retrying’?

Viewing 5 reply threads

The support post ‘Payments through mobile randomly fail’ 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