AbeP Posted March 3, 2011 Share Posted March 3, 2011 Hi Guys!First of all I'd like to say prestashop is AMAZING!I've had a major success with this apart from one element: PayPalI'm not using the API as I don't have SSL setup on the server, so I'm using "PayPal v1.7.1"The order goes through fine on paypal, I get a receipt and a "return to shop" at the end. The problem is after going through the paypal process, the order has a status of "Payment Error".It then tells me looking through the admin panel >>orders that €0.00 of €xx.xx has been paid.This happens with different amounts of money, I checked openssl and curl are installed. The only sort of debugging I could find was in the apache error log:[error] [client 89.101.189.62] * \t SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway., referer: http://hazshop.com/modules/paypalapi/payment/submit.php[Thu Mar 03 16:21:24 2011] [error] [client 89.101.189.62] > POST /nvp HTTP/1.1\r, referer: http://hazshop.com/modules/paypalapi/payment/submit.php[Thu Mar 03 16:21:24 2011] [error] [client 89.101.189.62] Host: api-3t.sandbox.paypal.com\r, referer: Can anyone help me in debugging this? I have a suspicion it might be to do with curl settings on the host, but thats through extensive googling and lack of clear understanding.EDIT:Installation type: NewPS version: 1.3.7Theme (default/customized): customised (very slightly)Code (original/modified): originalHosting: ?PHP version: PHP 5.2.17 (cli) (built: Jan 10 2011 02:46:23)MySQL version: 5.1.54Browser(s) concerned: AllAny help would be appreciated!Abe Link to comment Share on other sites More sharing options...
AbeP Posted March 3, 2011 Author Share Posted March 3, 2011 Ok so I've done a couple of things:Seen as I don't have SSL I changed the validation.php for the paypal module.Changed all https references to httpI've correctly setup my paypal account to use IPN, and set the return URL.Verified the amounts are the same (paypal transaction matches checkout amount).I'm at a loss on how to debug this at all! Again any help would be appreciated Link to comment Share on other sites More sharing options...
AbeP Posted March 6, 2011 Author Share Posted March 6, 2011 Updated the paypal addon to 2.0 add all is working fine after giving permissions to the generated API user Link to comment Share on other sites More sharing options...
Recommended Posts