Support

Home Forums Event Espresso Premium Paypal payment made but still Pending Payment on both incomplete and even Abando

Paypal payment made but still Pending Payment on both incomplete and even Abando

Posted: January 20, 2016 at 5:49 am


Sean Firth

January 20, 2016 at 5:49 am

I have a problem with some bookings showing up as still Pending Payment after Paypal payment made. It has happened on both incomplete and even an abandoned transaction.
I checked paypal IPN and it is sending back the transaction details to Event Espresso.
What is happening? and how can it easily be fixed. I do not have time to cross reference every incomplete and abandoned transaction to verify whether its been paid or not.
I did notice my EE was not latest version (though just updated last week so not too out of date). So I have updated it. What now?
Seems to be a pretty common bug amongst other users over the years but all with slight variations.


Tony

  • Support Staff

January 20, 2016 at 6:18 am

Hi Sean,

I checked paypal IPN and it is sending back the transaction details to Event Espresso.

Where are you checking this?

It has happened on both incomplete and even an abandoned transaction.

Do you have ‘auto return‘ enabled within your PayPal account?

The transaction will be incomplete if the user returns from PayPal to your site but the IPN has not been received/processed.

It will be abandoned if the user paid on PayPal then closed the browser … and the IPN has not been received/processed.

Have you gone through the steps posted here?

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

Seems to be a pretty common bug amongst other users over the years but all with slight variations.

Generally the problem with PayPal comes from ‘laggy’ IPN’s, meaning the user is sent back to your site way before PayPal has actually sent the IPN to say the payment has been complete. EE4 is designed to handle this better than EE3 but if the user doesn’t come back to the site from PayPal we have to wait for the session to expire before updating the Transaction (which is why auto return above matters)

So this is only happening for a few registrations, not all?


Sean Firth

January 20, 2016 at 7:14 am

Most of my registrations are fine. They are paying with paypal and then they are tagged as completed. Some are not though.

“The transaction will be incomplete if the user returns from PayPal to your site but the IPN has not been received/processed.
It will be abandoned if the user paid on PayPal then closed the browser … and the IPN has not been received/processed.” so I can see in paypal that the transaction has been completed and an IPN has been sent to the site. EE is not recieving all of them for some reason. Most but not all. A laggy IPN is a possible explanation but whats the fix for that?

It is only happening for a few registrations but I can see another 20 or so pending payment regos from the last week that I have not yet cross checked on paypal. Thats 20 out of around 100


Sean Firth

January 20, 2016 at 7:16 am

When you say “wait for session to expire” is that the paypal session? how long does that take? I have incomplete/pending payment bookings over 12hrs old with payments made


Sean Firth

January 20, 2016 at 7:21 am

What about resending IPNs from within paypal. Is that an ok thing to do or is that going to really mess up already done transactions?


Tony

  • Support Staff

January 20, 2016 at 9:00 am

…so I can see in paypal that the transaction has been completed and an IPN has been sent to the site. EE is not recieving all of them for some reason. Most but not all. A laggy IPN is a possible explanation but whats the fix for that?

A laggy IPN would explain if the transactions were like that for about an an hour or so. Theres a cron that runs to recheck the transaction to see a valid IPN was received once the users session expires on your server (about an hour)

When you say “wait for session to expire” is that the paypal session? how long does that take? I have incomplete/pending payment bookings over 12hrs old with payments made

Answer above, so does the payment within that incomplete transaction show as pending or incomplete?

What about resending IPNs from within paypal. Is that an ok thing to do or is that going to really mess up already done transactions?

It should be ok, however before randomly spanning EE with IPNs 😉 we can check everything is setup correctly.

Did you follow the steps from the link above?

Once change I do recommend (although not always possible) is switching from PayPal, offsite payment gateways (especially PayPal) cause these kind of issues. Personally I recommend Stripe, for that gateway you’ll need the EE4 Stripe Payment Gateway but it is more reliable than PayPal.

The support post ‘Paypal payment made but still Pending Payment on both incomplete and even Abando’ 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