Posted: June 5, 2017 at 11:05 am
|
We are consistently seeing EE not updating on PayPal payment success. We receive the payment confirmation from PayPal but EE remains set to unpaid. 1. Register to event. IPN is on… help! |
Hi there, Does the registration continue to show as incomplete now? (as in a little while after the registration was made) Or does it continue to show as unpaid? What I’ wondering is if the user is arriving back to your site before the IPN has hit your site, if that’s the case the registration will show as complete a little later. If you view the IPN history from your PayPal account what status do the IPN’s have? You can view the history using this link: https://www.paypal.com/ie/cgi-bin/webscr?cmd=_display-ipns-history&nav=0.3.2 |
|
|
Thanks for reply. Status is “sent” 4HB81215J4302071D |
|
And still sat as “incomplete” in EE (some two hours plus later) |
Ok, so that’s not the problem then, but the IPN is arriving on your site and is being correctly acknowledged. You’ll need to check within your ipn log to see if there are any errors during the IPN validation. Open up /wp-content/uploads/espresso/logs/paypal.ipn_results.log Search for
Then view the details after that line, what does it show? If you are unsure either send a copy of that file over to support[at]eventespresso.com Or send FTP credentials over to use so I can take a look using this form: |
|
|
Ok; site is on AWS so not an easy task to ftp! Will have a look |
|
I can see a good few “[06/05/2017 5:58 PM] – FAIL: IPN Validation Failed” messages over time (that was around same time as I processed this payment in question). But only success messages up to sep 2016 and then nothing. Could it be that “curl” is not working on this AWS instance? Errors resulting from the execution of curl transfer: [09/20/2016 10:08 PM] – SUCCESS! |
|
Hmmm! fsockopen/cURL Your server has fsockopen enabled, cURL is disabled. |
So that will be the problem, Your server can’t connect to PayPal or some of the details from the IPN are different than what PayPal is expecting and validation fails (so the site will not update) There should be further details just after that link to show the error thrown.
The preferred method of connecting to PayPal is cURL, the payment gateway will attempt to fall back to fsockopen but you would be much better of enabling cURL on the server. |
|
|
Thanks; I decided that we should try and use EE4 as having a few issues and moved to PayPal Express which negates IPN. This has seemed to work ok and so we can close this for now. |
Ah, ok great, I’m glad EE4 is working for you. |
|
The support post ‘PayPal payment (success) is not updating in EE(3)’ 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.