question

ishansethi avatar image
ishansethi asked ishansethi commented

Web App Merchant Authentication

When a merchant installs our web app, how will the web app know what merchant (And their respective merchant ID) it is?

REST 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

·
David Marginian avatar image
David Marginian Deactivated answered ishansethi commented

Please see our documentation on the OAuth flow - https://docs.clover.com/docs/using-oauth-20.. The merchant id will be passed back to you with the code which you will use to obtain an access token.

3 comments
10 |2000

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

ishansethi avatar image ishansethi commented ·

So when the client/merchant downloads the app through the clover store, are the static assets locally downloaded or is it a redirect to the web app which we have to host?


Thanks for the speedy answer btw

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ ishansethi commented ·

You mentioned your integration is a web-app. There is nothing for the merchant to download. They simply connect to/install your web app from the Clover App Market and we redirect them to your site url. You will then obtain a token on their behalf using the parameters we pass in the redirect.

1 Like 1 ·
ishansethi avatar image ishansethi David Marginian ♦♦ commented ·
Got it. Thanks.
0 Likes 0 ·

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