Hello. I am connecting my Cloud software to charge cards with a clover device.
I am trying to "Create a card token for use with subsequent payments" using this guide:
https://docs.clover.com/reference/request_token
I can successfully send other commands (message, get signature, welcome, thank-you) to the terminal and get a proper behavior and response. When I send this command I get proper behavior (dev-kit device asked to scan a card, after swiping it shows Credit/Debit option), but I get an error response after swiping and choosing "Credit" on the device.
I am using PHP and cURL.
If I include 'tokenType' => 'ECOMM_COMPAT' I get one error:
{"code":"processing_error","message":"400 Bad Request: Please provide valid expiry date.","requestId":"91e665e9-30432","requestType":"REQUEST_TOKEN","type":"api_error"}
...and if I don't include that I get another:
{"code":"processing_error","message":"503, ","requestId":"91e665e9-30431","requestType":"REQUEST_TOKEN","type":"api_error"}
The docs say error 503 means "The device is not available because it is currently servicing another call.", but it is not! I can't find anything about an "expiry date" anywhere on the internet. All other functions are working properly. Someone please help me figure this out. Thanks.