Checkout Error
-
When someone tries to use the checkout form there’s a JavaScript popup saying there was an issue:
Could not initiate PayPal Checkout {}
Then I checked the inspector console in Chrome, and it shows this error:
Error: {“success”:true,”order_id”:””,”order_data”:{“name”:”UNPROCESSABLE_ENTITY”,”details”:[{“field”:”/purchase_units/@reference_id==’default’/amount/breakdown/item_total/value”,”value”:”20.00″,”issue”:”ITEM_TOTAL_MISMATCH”,”description”:”Should equal sum of (unit_amount * quantity) across all items for a given purchase_unit”}],”message”:”The requested action could not be performed, semantically incorrect, or failed business validation.”,”debug_id”:”10d426325c9dc”,”links”:[{“href”:”https://developer.paypal.com/docs/api/orders/v2/#error-ITEM_TOTAL_MISMATCH”,”rel”:”information_link”,”method”:”GET”}]}}
It seems to be hung up on a calculation for the total, but there isn’t any quantity option on the form. Any idea what’s happening there?
- You must be logged in to reply to this topic.