PayPal Smart Buttons Error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hello folks, so I've seen this posted on another topic, but it was for a different error message, and looked to all intents unresolved.  

I've configured the PayPal Smart Buttons and received notice that the credentials submitted were correct, went to checkout, and used Paypal and I'm getting this error message.  Not sure if this is still an issue or has been resolved in another ticket, if so, please send me there and I'll delete this thread.

Log level
Error
Short message
Error while placing order. Error 1: Payment error: {"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"ORDER_NOT_APPROVED","description":"Payer has not yet approved the Order for payment. Please redirect the payer to the 'rel':'approve' url returned as part of the HATEOAS links within the Create Order call or provide a valid payment_source in the request."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"c34749fefd20a","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-ORDER_NOT_APPROVED","rel":"information_link","method":"GET"}]}.
Full message
IP address
86.161111111
Customer
david@blah.uk
Page URL
https://newdev.iwanttights.com/RealOnePageCheckout/ConfirmOrder
Referrer URL
https://newdev.iwanttights.com/order/checkout
Created on
25/04/2021 22:10:18
3 years ago
Try to make a payment on a clean theme and without using a checkout plugin (e.g. RealOnePageCheckout). If the error persists, then contact PayPal support with the debug_id from the error log.
3 years ago
Thanks for that. I figured it out, it's the OnePageCheckout I was using, it's not the NopCommerce standard one.

So when I've switched that off and gone back to the native checkout the whole damn lot works perfectly.

I've contacted the developers of the plugin hopefully they can help.

Thanks for your reply.

David.
3 years ago
Hi,
I have fixed this issue. Its a calculation of total amount when you apply discount and inclusive of tax. The plugin is not considering the tax included at all the steps which results in negative discount. This plugin code is a part of nop solution and can be edited.
Thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.