Payment Provider Homologation

The last step to complete the implementation process is to check if the integration was done correctly.

To do so, you can simulate the integration functioning with the Payment Provider Test Suite app.

Install the Test Suite app

There are two ways to download it: accessing the VTEX App Store or through the Admin.

Considering that you want to download the app through the Admin, proceed as follows:

  1. Access the Admin.
  2. Go to the ACCOUNT SETTINGS module.
  3. Click on Apps then App Store.
  4. Now look for Payment Provider Test Suite in the search bar.
  5. Click Install.
  1. After that, you will be redirected to the VTEX App Store. Click the GET APP button at the top right corner of the page.
  1. Then, on the popup screen, type your account's name - with lowercase and no space in between - and click the CONFIRM button.
  1. Click INSTALL to complete the installation process.

After that, the Test Suite app will be installed in your Admin.

Run the tests

After having proceeded with the Homologation process you can start running tests to validate the integration.

Service information

To start, fulfill each field according to the instructions below:

  • Service URL: The provider’s endpoint. VTEX will use this URL to contact the provider system.
  • Connector Name: How your connector will be named in VTEX. The connector name has necessarily to be related to your brand. Also, the Connector Name is case-sensitive. That means that it considers uppercase and lowercase.
  • X-VTEX-API-AppKey: fulfill it with the value X-VTEX-API-AppKey.
  • X-VTEX-API-AppToken: fulfill it with the value X-VTEX-API-AppToken.

❗️

Warning

Once you define the connector name, it can not be changed.

Then, click the Check URL button. This action will call the GET List Payment Methods endpoint. The response will indicate which payment methods will be able to be analyzed in the next step (Tests form).

Tests

After the call, the payment methods implemented will be exposed in the form and the switches will be activated automatically.

Check if the right options were activated. Then, click the Run Tests button.

Logs

All of the operations realized in the test phase will be exposed in the Logs box, including the ones that may present some error in the integration.

If errors happen, make all the adjustments necessary to adapt your connector to the Payment Provider Protocol rules and try to run the test again.

If everything is ok, you need to open a ticket to the VTEX support team informing them that the integration was completed. However, before opening the ticket, make sure you have the following information:

  • Connector Name: a description of the provider. Use max. 16 alphanumeric characters. This name can not be modified after being published.
  • Partner contact: partner email address in case we need to communicate changes and new features of our protocol.
  • Production Service Provider Endpoint: the base path that will be used for API calls to the provider, e.g. https://vtex.pagadito.com. It has to respond to at least one of the following routes: {{serviceUrl}}/manifest or {{serviceUrl}}/payment-methods. This endpoint must be publicly available.
  • Sandbox Service Provider Endpoint: the base path that will be used in test mode for API calls to the provider. E.g. https://sandboxserviceproviderendpoint.com.
  • Owner account: the VTEX account name which will be used in callback requests. This account must be available at [account].myvtex.com.
  • Allowed Accounts: describe which VTEX accounts from this provider will be available (all accounts or specific accounts).
  • New Payment methods: inform if this connector supports a payment method that is not yet available in the VTEX Admin.
  • New Payment method purchase flow: if a "New Payment method" is supported, inform whether it works with Redirect or Payment App. For more information, access Purchase Flows.

The SLA required for the payment team to carry out homologation is 30 days.

❗️

Obey the process

Do not open the ticket for homologation if the Logs box presents any type of error. Redo the operation until the Logs box results are clear. If you need help in this scenario, talk to your Partner Account Manager.

❗️

Contact VTEX Support Team

It is mandatory to open a ticket to VTEX Support. Without that, the implementation will not be recognized by our system.

After that, the VTEX support team will inform you if the implementation was done correctly.


Did this page help you?