question

jimmybriggs avatar image
jimmybriggs asked deros published

406 on checkout request in sandbox

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"}]}}

clover2.png

clover1.png

Payments
clover2.png (27.5 KiB)
clover1.png (30.8 KiB)
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

deros avatar image
deros answered deros published

Having the same issue... Been trying for two days. Trying to get support...

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bryanvargas avatar image
bryanvargas answered jimmybriggs commented

This issue was resolved last night, please try again

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jimmybriggs avatar image jimmybriggs commented ·
I can now get 200 messages back, I can no longer login to the dev account/sandbox where my form is configured with my credentials, when I try to reset my password/setup a new account and enter my email on the website, I receive a message that I will be emailed further instructions in an account exists, however no inbound messages have been arriving when I make these requests. When I use the credentials I setup, they do not work. This is in regards to logging into the developer sandbox dashboard via clover.com in order to start setting our callbacks/redirect urls for the test form.


The test form calls with our token return 200 and seem to be working, but now we cannot login to finish configuring the form or test from the clover side.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community