Support

Home Forums Event Espresso Premium Paypal IPN Autoreturn issue

Paypal IPN Autoreturn issue

Posted: May 10, 2014 at 2:13 pm


Chirag Chhita

May 10, 2014 at 2:13 pm

Hi,
I am having an issue with Paypal IPN auto return.
Here is what I have done:
– Setup my event and pages with EE shortcode pages
– Setup Paypal with IPN
– Setup Autoreturn URL to go to the /transactions page

The user is redirected back to the sites /transactions page. It correctly shows the Thank you text and transaction details, and the system generates the invoice and ticket to the user.
My issue is that the /transactions page then redirects back to the Paypal page…

However if I disable the Autoreturn URL, the customer has to manually click to return to my website. If they do click the link, everything works fine!

The autoreturn seems to be causing the issue.
Is there a configuration issue I have missed?

I have also tried the Basic Transactions Page Template as well with no luck.

Setup:
Wordpress: 3.9.1
EE: Version 3.1.36.5.P

Thanks!


Lorenzo Orlando Caum

  • Support Staff

May 11, 2014 at 3:38 pm

Hello Chirag,

Could you check to see if your Event Espresso pages are published with the correct shortcodes?

You can see these pages in WP-admin –> Event Espresso –> General Settings.


Lorenzo


Chirag Chhita

May 11, 2014 at 3:44 pm

Hi Lorenzo,
Yes I have checked and they are correct. I have tried to do the PayPal auto return to both the transaction page and the thank you page but I get the same issue when testing both.

Also I noticed after it redirects me back to paypal and I complete the payment for a second time (I just did this to see what would happen), it will correctly auto return to the site without the redirect back to paypal.


Lorenzo Orlando Caum

  • Support Staff

May 11, 2014 at 3:47 pm

The auto return URL should be set to the thank you page for Event Espresso.

The transactions page URL is for the PayPal IPN which updates in the background.

Which one is it currently set to?


Lorenzo


Chirag Chhita

May 11, 2014 at 3:49 pm

It is set to the thank you page at the moment


Chirag Chhita

May 11, 2014 at 4:45 pm

I have checked it on mobile and i still get the same issue.
Is there anything else I can check? Also I have just moved the site to GoDaddy – not sure if that could be the issue.


Dean

May 12, 2014 at 1:44 am

Hi,

In your Payment Settings > PayPal section, is the option “Bypass Payment Overview Page” set to Yes?

If so, setting this to no should stop the redirect. It will of course mean your customers will have to manually select the gateway rather than be redirected there automatically.


Chirag Chhita

May 12, 2014 at 6:21 am

Thank you for that. I will try this out when I can get back to my computer.
I would prefer my customers not have to have that extra step. Is there is known bug in the software that is causing this?
Or some other issue?

Thanks


Tony

  • Support Staff

May 12, 2014 at 6:49 am

Hi Chirag,

To explain a little what may be happening.

The custom registers onto an event, the PayPal gateway is set to auto re-direct so once registered they are directed to PayPal. They make a payment, PayPal sends an IPN to your set and then re-directs the user back to the site.

Seems simple enough, however, what we are noticing more often is that the PayPal IPN’s are being delay for up 60 seconds. What this means is the user pays through PayPal, who then redirect the user back to your site (before the IPN and so the payment status is Incomplete. (Registration Incomplete/Pending)

At this point there is an option within Event Espresso. (Event Espresso -> General Settings. ‘Show payment options for “Pending Payments” on the Payment Overview page?’)

If that option is set to Yes, the PayPal gateway is displayed, as that is set to re-direct to PayPal the user is directed back. Usually by that time the IPN has then been received, EE updates the registration in the background, and when the user returns once again all is well.

However this can cause double payments as the user is directed back thinking the payment has not gone through when redirected.

Unfortunately as the IPN’s are sent from PayPal there is not very much we are able to do to prevent this, short of recommended another Payment Gateway. (Stripe would be my recommendation)

Currently this is just an educated guess but if this is the case, upon being redirected back to the site from PayPal the user may notice the Payment status is still ‘Incomplete’ after waiting a minute or so and refreshing the page, the status will update to Complete.

The support post ‘Paypal IPN Autoreturn issue’ 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