Datatrans is one of Nezasa's supported payment providers besides Payyo and Adyen. This page summarizes the most important characteristics of the integration with Datatrans and what configuration parameters are required to be retrieved from the Datatrans admin interface and passed to Nezasa's support for setting up Datatrans.
When Datatrans is configured, the online payment in the checkout will be using Datatrans. The integration uses the hosted payment page solution of Datatrans. That means the user in the checkout clicks on "pay now" and is then forwarded to the hosted payment page of Datatrans. The process flow is therefore as follows:
- User clicks on "pay now" on the payment page of the checkout.
- The user gets redirected to the hosted payment page of Datatrans.
- The user performs payment.
- The user gets redirected back to TripBuilder.
This type of integration is called "Redirect & Lightbox" by Datatrans, also see https://docs.datatrans.ch/docs/redirect-lightbox.
Please check the Datatrans documentation for insights about the options of your payment setup. In there, currency support provided payment methods of your hosted payment page, styling, and more is configured.
To set up your Datatrans, after having ordered the Datatrans add-on, please provide the following information to Nezasa:
- Datatrans merchant ID (usually a number)
- Datatrans password (usually an alphanumeric string)
- Datatrans signature (usually a number
The 3 parameters will then be configured for TripBuilder. The setup needs to be done per distribution channel, which means a separate Datatrans account for each of your distributions can be defined.
In the Datatrans admin, the most critical aspects for the configuration are:
- UPP Administration → UPP Data
Generally, no changes are needed here. Most of the information required, like callback URLs, are passed by TripBuilder to Datatrans in the request.
- UPP Administration → Security
Get the username and password for the server-to-server communication from here.
- UPP Administration → Security → Security Signature:
Generate a "sign" token (additional merchant identification). This sign token is the "signature" parameter that needs to be passed to Nezasa for the configuration.
Nezasa's STAGING and DEV environment use the sandbox environment of Datatrans. As a customer of Datatrans, you can create such a sandbox account yourself with Datatrans for free. Nezasa will have to configure the credentials as described above, but in this case, from your sandbox account.
- Test Credit Cards: Please note that only test credit cards can be used in that environment. The list of test credit cards can be found in Datatrans' documentation: https://docs.datatrans.ch/docs/testing-credentials
- Currencies: Please note that not all sales currencies may be active in your test account. If, for specific currencies, Datatrans payments keep failing, check with Datatrans if those currencies could be activated in your test account.
How to enable/disable payment methods?
Everything within the Datatrans Hosted Payment Page is to be configured in your admin UI in Datatrans. For further help with your admin UI there, please reach out to Datatrans.
Authenticate / Capture
When possible, TripBuilder always performs a payment authentication first, then books the travel components, and only when all that was successful the capturing on the credit card is triggered.
Payment Data in TripBuilder / PCI
Nezasa is not holding nor processing any of the payment relevant data. The user directly enters the data on the hosted payment page of Datatrans. The only data available to TripBuilder about the payment is a transaction ID provided by Datatrans, the amount, and anonymized data of the credit card, e.g., in the form of 1234 XXXX XXXX XXXX.
At the time being, refunds cannot be triggered from within TripBuilder. However, the Datatrans admin UI provides such functionality.
Do you support a Datatrans account per distribution channel?
Yes, TripBuilder supports configuring separate credentials for the distribution channels.
Do you support a Datatrans account per currency?
Currently, it is not possible to dynamically use different Datatrans accounts depending on the payment currency.
Online Payment - Datatrans Card Type Parameter
Credit & debit cards are the most popular payment methods for online payments through Datatrans. Datatrans supports all international card brands, including MasterCard, Visa, and American Express.
An overview of the different card brands including parameters and acquirers can be found here.