Hi @Sri Nalam,
I'm not sure I understand the question. Could you please elaborate and refer our guide for asking good, clear questions? Are you referring to generating the OAuth code when merchants install your app or when customers make an online order?
Yeah @Miguel, i need to generate the oauth code to get the access tokenand there by create order when end users like to place order from our website., kindly guide how to generate the code
At a high-level the flow is: After the merchant installs your app, they will be redirected to your app's url with the code parameter in the URL
https://yoursite.com/?code={code}&...
If for some reason, you don't have the code, you can redirect the user to the following URL:
https://sandbox.dev.clover.com/oauth/authorize?client_id={appId}&redirect_uri={yoursiteurl}
Once you have the code, you then go through the OAuth flow. If successful, you will be returned the API token. You should securely store the API token. When customers make online orders, you will retrieve the token to make API calls.
If you are able to get the API token in sandbox, it should be the same process in production.
2 People are following this question.
Question re: custom e-commerce site and Clover integration
Get App Billing Infomation failed when using ApplicationSecret [ SandBox ]
OAuth - Request for API Token Blocked by CORS policy
OAuth Flow: state variable not passed back with token the first time, but it works the second time.
Not able to access merchant data with oauth generated api_token