Should equal sum of (unit_amount * quantity)
-
Hi,
if there are more than 1 amount of an article is in the card, there is an error, if I’d like to pay by paypal:
Should equal sum of (unit_amount * quantity) across all items for a given purchase_unit
Does anybody has an idea?
Logfile:
{ “name”: “UNPROCESSABLE_ENTITY”, “details”: [ { “field”: “\/purchase_units\/@reference_id==’default’\/amount\/breakdown\/item_total\/value”, “value”: “36.97”, “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”: “43ecf8a9050ff”, “links”: [ { “href”: “https:\/\/developer.paypal.com\/api\/rest\/reference\/orders\/v2\/errors\/#ITEM_TOTAL_MISMATCH”, “rel”: “information_link”, “method”: “GET” } ] }
- You must be logged in to reply to this topic.