question

sevith avatar image
sevith asked

PHP & Charging Cards

Using the documentation:
https://docs.clover.com/docs/ecommerce-accepting-payments

I have generated an OAUTH token and a idempotency key but I still get a 401 unauthorized error in the sandbox env, here is the code I am testing out https://pastebin.com/EMD8DcPS

I am not sure what I am doing wrong, are my keys generated incorrectly somehow ?
Even the CURL example shown in the documentation doesnt work with the keys I am using...So I am not sure where I am going wrong.



REST APIAPI Token
10 |2000

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

0 Answers

·

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