VivaPayments / API

Index of Viva Wallet open source projects on GitHub.
139 stars 163 forks source link

Authentication issue on ISV Basic Auth endpoints #2437

Closed pyr0hu closed 12 months ago

pyr0hu commented 12 months ago

Hello!

We have an issue when we want to use the Create Transaction or Retrieve Transaction by Order Code endpoints.

Both endpoints uses Basic Auth with Reseller Ids. But it's not really straightforward as on the Create Transaction page the documentation says that we have to use Reseller ID and Secret, but under that it says ISV ID and not Reseller ID. The issue is that neither of them works and we cannot authenticate that endpoint.

We've ensured that the transaction is existing (using the retrieve transaction by transaction id endpoint) but that uses OAuth2 and not Basic Auth and that's even using a different API path (/checkout/v2/isv/transactions versus /api/transactions/?orderCode=....)

How can we make this work?

VivaWalletCustomerSupport commented 12 months ago

Hello @pyr0hu,

Thank you for your message. Kindly note that the Reseller ID & API Key can only be generated upon request.

To generate the credentials, we need you to tell us the phone number of the Demo ISV account. For security reasons, please send it via email at support@vivawallet.com and add the GitHub ticket number on the subject of the e-mail.

Kind regards, Viva Wallet E-commerce Support Team

pyr0hu commented 12 months ago

@VivaWalletCustomerSupport What is the difference from the Reseller API Credentials which are present on the web interface under API Access?

VivaWalletCustomerSupport commented 12 months ago

Hello @pyr0hu,

Thank you for your prompt response. We have received and replied to your email as requested. Can you please clarify if the credentials we sent are the same as the ones from the web interface?

Kind regards, Viva Wallet E-commerce Support Team

pyr0hu commented 12 months ago

@VivaWalletCustomerSupport

no, they are different.

web interface: image

and the one I got from the support: 0139bdaf-1a...

VivaWalletCustomerSupport commented 12 months ago

Hello @pyr0hu,

Thank you for the confirmation. Please let us know if you need further assistance.

Kind regards, Viva Wallet E-commerce Support Team