question

ziaulhaq avatar image
ziaulhaq asked bryanvargas answered

How to integrate clover rest API with ASP.NET Core with global developer account

I'd like to integrate the Clover payment gateway into my current web application. The Clover team has set up a global developer account and a merchant account for me, but I need guidance on creating and configuring an app within the global developer account and linking it with the merchant account. Additionally, I'm seeking assistance on how to make API calls to the Clover API from our ASP.NET Core REST APIs.


OrdersREST 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.

bryanvargas avatar image
bryanvargas answered ziaulhaq commented

We have our Clover Docs that will go through our REST APIs and setting up your app: https://docs.clover.com/docs/clover-development-basics-web-app

1 comment
10 |2000

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

ziaulhaq avatar image ziaulhaq commented ·

The initial step in payment process through the WebAPI approach is to create the OAuth token. When using the sandbox account details, when generating the OAuth token its redirecting to the clover sandbox environment to login. Once the login is successfully its creating the OAuth token.

Just need to clarify the will it be the same behavior in the actual PROD environment setup or its different behavior? How we can prevent redirect to login to the clover login page?

0 Likes 0 ·
bryanvargas avatar image
bryanvargas answered

it will be the same if the merchant is not logged into their dashboard and is trying to access your app. If they are logged into the web dashboard and download>install>open your app they will successfully go through Oauth automatically and you will get a 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.

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