Page 1 of 1

Paypal Express Checkout not working when product have shipping Value

Posted: Tue Jun 26, 2018 2:06 pm
by devtester478
I am using Opencart Version 2.3.0.2 and facing issue with PayPal express checkout. I am using per product shipping extension and when the product with shipping is added in the cart and process with PayPal then on PayPal sandbox page I am getting an error of "Sorry, we can’t complete your purchase at this time". If i check in the console then it shows an error of Bad Request.

POST https://www.sandbox.paypal.com/webapps/ ... h/setbuyer 400 (Bad Request)

The same if I try with a product that doesn't have shipping then it works fine.

Can anyone help me to fix it out?

Thanks

Re: Paypal Express Checkout not working when product have shipping Value

Posted: Tue Jun 26, 2018 2:33 pm
by ravikumar22
devtester478 wrote:
Tue Jun 26, 2018 2:06 pm
I am using Opencart Version 2.3.0.2 and facing issue with PayPal express checkout. I am using per product shipping extension and when the product with shipping is added in the cart and process with PayPal then on PayPal sandbox page I am getting an error of "Sorry, we can’t complete your purchase at this time". If i check in the console then it shows an error of Bad Request.

POST https://www.sandbox.paypal.com/webapps/ ... h/setbuyer 400 (Bad Request)

The same if I try with a product that doesn't have shipping then it works fine.

Can anyone help me to fix it out?

Thanks
its a very simple and clear. that as you said when product has shipping it throw error. and when product has no shipping its working. it means when you try to buy the product who has shipping your extension "product shipping" is being applied there and since that has code error. so you can simply check your error log. and contact to "product shipping" extension developer.
For Quick Professional Support Contact: ravikumar1986ravi@gmail.com
Image

Re: Paypal Express Checkout not working when product have shipping Value

Posted: Tue Jun 26, 2018 3:00 pm
by devtester478
Thanks for your quick reply. I get it fixed. The condition for the shipping was commented by me and i forget to uncomment it. When i debugged it step by step then i found the issue.

Thanks :)