error with paypal
-
hi,
about WPC Product Bundles for WooCommerce, with last update it seems the total amount passed to paypal is the discount amount (so a negative value) and paypal plugin abort the procedure for negative amount.this is what is logged
“Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='default'item/0/unit_amount/value","value":"-5.00","issue":"CANNOT_BE_NEGATIVE","description":"Must be greater than or equal to 0. If the currency supports decimals, only two decimal place precision is supported."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"c0fd3b7db6387","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-CANNOT_BE_NEGATIVE","rel":"information_link","method":"GET"}]}”Please is urgent.
Kind regards
FabioThe page I need help with: [log in to see the link]
The topic ‘error with paypal’ is closed to new replies.