question

oerhuilaji avatar image
oerhuilaji asked parquet76 answered

Problem with create checkout

1, I get the token with "Example OAuth Request" (Oauth type is token)

2, I copy the token to https://docs.clover.com/reference/createcheckout, and enter my Mid and example data, the response is



{

"status": {

"reason": "Unauthorized",

"code": 401

},

"message": "COS get merchant failed with exception: 401 Unauthorized: [{\"message\":\"401 Unauthorized\"}]"

}


I give the app all permissions and enable online payments, the access_token can use to get pakms.


app_id = "82YMJQGV74Z78"

merchant_id = "V7G2EK5C5V181"


could you help me to goon?

e-commerce api
10 |2000

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

1 Answer

·
parquet76 avatar image
parquet76 answered

You aren't supposed to retrieve the token that way. Please see the docs - https://docs.clover.com/docs/making-a-checkout-request.

10 |2000

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

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