Payment Service Gateway Proxy Settings

You must configure the Payment Service to communicate with the Gateway Proxy for inbound requests so that the Gateway Proxy can dynamically load the latest MDC definitions from MATRIXX Engine at startup. Optionally, you can configure the Payment Service to communicate with a Payment Gateway Provider using a proxy server.

Note: In the communication between the Payment Service and the third-party Payment Gateway provider, the Gateway Proxy does not intervene.

By default, the Payment Service attempts to connect to the Gateway Proxy running on the same server on port 4080. Define the Gateway Proxy connection properties in the /opt/mtx/conf/payment-service.yaml file as described in Payment Service Gateway Proxy Settings.

Table 1. Payment Service Gateway Proxy Settings
PropertyDescriptionDefault Value
payment.service.gatewayProxy.port The port used for connecting to the Gateway Proxy. 4080
payment.service.gatewayProxy.username The username for connecting to the secure Gateway Proxy interface rsGateway
payment.service.gatewayProxy.password The password for connecting to the secure Gateway Proxy interface rsGway
payment.service.gatewayProxy.passwordKey The key that encrypts the password when connecting to the secure Gateway Proxy interface Mtx5000
For example:
payment:
  service:
    gatewayProxy:
      port: 4080
      username: rsGateway
      password: rsGway
      passwordKey: Mtx5000

Optionally, configure the Payment Service to communicate with a Payment Gateway Provider using a proxy server.

You must define the proxy server properties in the /opt/mtx/conf/payment-service.yaml file. Payment Service Proxy Settings describes the Payment Service proxy server configuration properties.

Table 2. Payment Service Proxy Settings
Property Description
payment.service.proxy.host The IP address of the Payment Service proxy server.
payment.service.proxy.port The port number of the Payment Service proxy server.
payment.service.proxy.username The proxy server user name.
payment.service.proxy.password The proxy server password.
For example:
payment:
  service:
    proxy:
      host: acme-proxy-host
      port: 1234
      username: proxy-username
      password: proxy-password