We suddenly get this message in the morning
"code": "processing_error",
"message": "Order number must be provided if tax amount is provided"
Endpoint we use: https://docs.clover.com/reference/postordersidpay
Payload:
{ "source": "clv_XXXXXXXXXXXX", "tip_amount": 0, "ecomind": "ecom", "level2": { "purchase_identifier": "{MERCHANT_ID}", "order_number": "C568" }, "soft_descriptor": { "dba_name": "{MERCHANT_NAME}", "street": "{MERCHNAT_ADDRESS}", "city": "Victoria", "region": "TX", "postal_code": "77905", "country_code": "840", "merchant_contact_info": "{MERCHANT_PHONE}" } }
What is confusing is the error message mentioning about tax amount while in our payload we don't set taxAmount.
What is the correct payload for using E-Commerce API? It seems there are many combinations.
Any direct guide to help the issue will be much appreciated.
Thanks!