Jump to content

Error on PayPal checkout with empty error logs


Recommended Posts

Hi,

I've encountered a problem while setting up my paypal using prestashop. Currently I'm using a Sandbox account to do the testing, i got everything, the API usernams, password, signatures and keyed in accordingly and also the account has been verified as well. While I tried to checkout 1 of the item, it gives me error during the "Payment" stage with log as below:

Please refer to logs:

1. PayPal response:
2. ->
3. PayPal returned error

The error logs are empty and I do not know where to start debugging. Anyone can help me with this error?

Thank you for reading this thread. Any help is very much appreciated.

Link to comment
Share on other sites

I've uninstall the module and reinstall the module again and re-keyed in the API details. It still doesn't work but the error logs showed now. Can anyone please tell me what's the problem?

Please refer to logs:

1. Making new connection to 'api-3t.sandbox.paypal.com/nvp'
2. Connect with CURL method successful
3. Sending this params:
4. METHOD=SetExpressCheckout&VERSION=60.0&PWD;=*********&USER=youru2_1301468397_biz_api1.gmail.com&SIGNATURE;=*********&Amt=165.07&PAYMENTACTION=Sale&ReturnUrl=http://www.beanniecharm.com/bc/modules/paypal/payment/submit.php?fromPayPal=1&CANCELURL=http://www.beanniecharm.com/bc/order.php&CURRENCYCODE=USD&NOSHIPPING=1&SOLUTIONTYPE=Sole&LANDINGPAGE=Billing&LOCALECODE=EN&[email protected]&SHIPTONAME=you+ru+tan&SHIPTOSTREET=3+JALAN+ANGGERIK+14&SHIPTOSTREET2;=&SHIPTOCITY=johor+bahru&SHIPTOSTATE=CA&SHIPTOZIP=81100&SHIPTOCOUNTRY=US&SHIPTOPHONENUM;=&ADDROVERRIDE=1
5. Send with CURL method failed ! Error: Failed to connect to 216.113.191.88: Permission denied
6. Connect failed with fsockopen method
7. PayPal response:
8. 0 ->
9. ->
10.PayPal returned error

Link to comment
Share on other sites

Same issue. Seems to work when I take it out of sandbox test mode, but I can't test live because paypal won't let me test using the same account as my shop account (only paypal account I have).

Anyone have input?

Link to comment
Share on other sites

  • 1 month later...

This is another bug.

You need to fix all the {url} with a hardcoded https://yourshop.com

I have solved the problem in my shop by editting the file /modules/paypal/redirect.tpl for paypal checkout.

In total I had to replace 5 times the {url}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...