question

dominicrooijackers avatar image
dominicrooijackers asked bryanvargas commented

Payeezy migration - pakms multiple merchants - oauth

Hello

We are working on getting off the Payeezy platform (since again, the portal says new payments will not be accepted after march 1 2024).

This call seems to come the closest to what we need in order to accept online payments.
https://docs.clover.com/docs/clover-development-basics-ecommerce

But we have a requirement that, based on which location a product is sold from, the transaction has to go through a specific merchant account.

This call here ( https://docs.clover.com/reference/getapikey ) seems to get the merchant information based on the oauth token.

Does this mean that, for every payment, we have to generate a new oauth token (IE not rely on the refresh token) because the merchant that the payment has to be processed under can be different from one to the next.
I also don't see where to link this merchant to a app in the clover dashboard

The process for obtaining the oauth token (https://docs.clover.com/docs/high-trust-app-auth-flow) seems to include a step where someone accepts the application in Clover UI.
But we are not making software for external people who would use it with their Clover account. We have a internal API that will take calls from a IVR (customers making payments on the phone) and basically acts as a middleman between the IVR and (currently) Payeezy

Please let me know how to get a oauth token without any user interaction and if I should get a new token every time I want to process a payment.

e-commerce apiOAuthAPI 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

Each merchant needs its own OAuth token and a static PAKMS key. You will use those to make customer payments for that merchant account. Each payment will need to be a clover card token. You will have to get an app or you can use merchant generated tokens for that specific merchant if you wish to have an appless integration.

10 |2000

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

dominicrooijackers avatar image
dominicrooijackers answered

Bryan,

When I go to my dashboard (https://sandbox.dev.clover.com/developer-home) I do not see a way to link 1 merchant to 1 app.
Do you know how I can get merchant generated tokens ?
I looked through the list here (https://docs.clover.com/reference/merchantgetmerchantgateway) but nothing stood out to me as "yes this is the API call that I need"

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 bryanvargas commented

Let's double back, are you planning on having your app downloaded by merchants and use your interface?

I already recommend reading through: https://medium.com/clover-platform-blog/understanding-clover-auth-tokens-and-ecommerce-keys-4e048827afa2

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

dominicrooijackers avatar image dominicrooijackers commented ·

Bryan,


We are not making a app for external people.
This part in the link you provided [This token is given to you after going through a proper OAuth 2.0 flow for a merchant who downloaded and opened your app] does not apply to us. There is no app to download.


0 Likes 0 ·
bryanvargas avatar image bryanvargas ♦♦ dominicrooijackers commented ·

Have your merchant follow these directions and provide your their keys: https://www.clover.com/en-US/help/set-up-api-tokens

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