I have implemented clover hosted checkout on my website. Everything works ok , both in production and in sandbox until I try to add tax rates.
I have added a tax rate to my merchant account ( attaching a screenshot ),
and here is the json I am sending to https://apisandbox.dev.clover.com/invoicingcheckoutservice/v1/checkouts:If I try to add any other amount than 675000 I will receive an error that tax rate of n does not match any of the merchant tax rates.
When I try to create a checkout with that payload, I receive a correct response with checkoutSessionId and the payment URL.
On the checkout page the tax is calculated correctly and is shown in the Tax field for each item, but when I try to pay I receive this error - COS create order failed with exception: 400 Bad Request: [{"message":"Referenced tax rate does not exist: null"}. What am I doing wrong? This is all happening on the clover hosted checkout page, not on my resource.