UNPROCESSABLE_ENTITY when buy 2 products with more than 2 number after comma
-
checkout error when paying with paypal when a prduct is buy twice or more, and if product have a price on woocoerce with more than 2 number after the comma like 10,547€. problem with rounding?
UNPROCESSABLE_ENTITY – Should equal sum of (unit_amount * quantity) across all items for a given purchase_unit
on log:
2022-11-19T09:54:06+00:00 DEBUG <------------------- WebToffee PayPal Express Payment ( Response on Create Order API ) -------------------> { "name": "UNPROCESSABLE_ENTITY", "details": [ { "field": "\/purchase_units\/@reference_id=='default'\/amount\/breakdown\/item_total\/value", "value": "24.73", "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": "7dbbbf2efe86f", "links": [ { "href": "https:\/\/developer.paypal.com\/docs\/api\/orders\/v2\/#error-ITEM_TOTAL_MISMATCH", "rel": "information_link", "method": "GET" } ] }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘UNPROCESSABLE_ENTITY when buy 2 products with more than 2 number after comma’ is closed to new replies.