Hi ZenCarters,
I am helping a friend diagnose a problem with her store. She has been running with the store for many months accepting paypal payments with no problems. Starting yesterday, she found the following symptoms for Paypal orders:
- Cart is built-up and checked out with no probs
- Payment appears to go through Paypal with no problems
- User is redirected back to the shopping site successfully, however, they do not get given an order number.
I have turned on debug for the paypal module, and I have observed the following:
- I can see the inbound IPN request from Paypal arriving
- We get an error using https with curl, so fall back to using fsockopen
- The POST vars that are being sent back appear to be sensible, and look to be valid
However, the last few lines in the debug log are:
Code:
Feb 13 2012 15:59 -- IPN INFO (fs) - Confirmation/Validation response
8
VERIFIED
0
Feb 13 2012 15:59 -- Breakpoint: 1 - Collected data from PayPal notification
Feb 13 2012 15:59 -- IPN WARNING :: Transaction was NOT marked as VERIFIED. Keep this report for potential use in fraud investigations.
IPN Info:
Feb 13 2012 15:59 -- IPN FATAL ERROR :: Transaction did not validate. ABORTED.
The response from Paypal appears to be returning VERIFIED (not sure what the leading/trailing 8 and 0 are though), but for some reason ZenCart is deciding that it is invalid?!?
One other thing that I noticed that occurred at 2:30am yesterday morning (the problem started occurring after that) was the following error message in the logs:
Code:
PHP Warning: PHP Startup: Suhosin Extension does not officially support PHP 5.2 and below anymore, because it is discontinued. Use it at your own risk. in Unknown on line 0
I've also noticed that the virtual server was restarted about that time, so I presume that the virtual hosting service may have upgraded something (I have an open ticket with them to find out what they did). Even so, I am having trouble reconciling the apparent output from the Paypal debug with the actual behaviour of ZenCart.
Any thoughts would be much appreciated. Note that we aren't using Express or PDT.
Thanks a lot.
edwardaux