question

richrichrich avatar image
richrichrich asked

access-token format issue

Hey,

This is Frank. We found when the first time the user install our clover app. We get the access token by code,mid,clientid,appsecret The clover server will return the access-token like this

"p5RJa7wXekyBZ/UkaOlqvaEMjgVzcAJ7XWRAhIaZliJ77KOW73nD2rB......", looks like it is encrypted

and seems we can not use this token to get the order_type.


But if we request to access token again by code,mid,clientid,appsecret. We get something like this "5a1d3861-94df-4fbf-9415-9a105......" it is a guid. And we could get the order_type without any issue.


Is there anyway we could get the correct access token when the first time user install the app?


Thanks


Frank








API 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