Hello,
I am attempting to test against the sandbox, using the documentation site, the page hangs without response after filling out the required objects. I then moved over to postman and I am getting a 406 back when I try and post for a checkout session.
I believe I have everything needed but I appear to be missing something important to receive a 200
I have shared images in this post. Any suggests are greatly appreciated. Thanks for reading.
I have also confirmed my token and merchant ID by successfully calling without any issues:
https://sandbox.dev.clover.com/v3/merchants/<merchangeID>;
headers:
Accept: application/json
X-Clover-Merchant-Id: <merchant ID>
Content-Type: application/json
Authorization: Bearer <TOKEN>
Host: sandbox.dev.clover.com
Content-Length: 155
Body:
{"customer":{"firstName":"NAME","lastName":"NAME","email":"EMAIL@DOMAIN.COM"},"shoppingCart":{"lineItems":[{"price":1,"name":"test","unitQty":1}]}}
I have tried this same call with the pre-generated sample body:
{"customer":{"address":{"address1":"415 N Mathilda Ave","address2":"Clover","state":"CA","city":"Sunnyvale","country":"US","zip":"94085"},"firstName":"TestFirstName","lastName":"TestLastName","phoneNumber":"6502107888","email":"customer@example.com"},"redirectUrls":{"success":"https://www.clover.com","failure":"https://www.clover.com","cancel":"https://www.clover.com"},"shoppingCart":{"lineItems":[{"name":"Coke","price":185,"unitQty":1,"itemRefUuid":"NX7VS9CWMR0BT"}]}}