Datatrans Payment Gateway Adapter Properties

Set the Datatrans Payment Gateway Adapter properties in /opt/mtx/conf/payment-service.yaml.

Datatrans Payment Gateway Adapter Properties describes the Datatrans Payment Gateway Adapter properties.
Table 1. Datatrans Payment Gateway Adapter Properties
Property Name Description Default Value Mandatory
baseUrl Base URL for all requests to Datatrans. - Yes
merchantId HTTP header merchant ID. - Yes
secretKey Secret key to generate basic authentication. - Yes
currencyMultiplier Amount multiplier (for example, 100 for 2 decimal places). 100 No

For more information about Datatrans configuration, see the Datatrans website.

payment:
  gateway:
    #Datatrans Payment Gateway
    datatrans:
      configs:
        default:
          merchantId: 0029907123
          secretKey: uDTuRmVbV25JEAO123a
          baseUrl: https://api.sandbox.datatrans.com