Payment Service

The following environment variables can be configured for containers created from the payment-service image.

Environment Variables Specific to Payment Service describes the environment variables that configure Payment Service.

Table 1. Environment Variables Specific to Payment Service
Environment Variable Description
MTX_GWPX_HOST The host name of the Gateway Proxy host. The default value is gatewayproxy.
MTX_GWPX_PORT The port number of the Gateway Proxy. The default value is 4080.
MTX_AAMQ_HOST The host name of the Apache ActiveMQ instance to use. The default value is activemq.
MTX_AAMQ_PORT The Port number of the Apache ActiveMQ instance to use. The default value is 61616.
MTX_PAY_LOG_LEVEL The default level of logging for application-specific loggers. The default value is info.

Values for the properties described in Properties Specific to Payment Service are derived from the above environment variables and do not need to be explicitly set in your configuration.

Table 2. Properties Specific to Payment Service
Property Name Property Value
spring.activemq.broker-url tcp://${MTX_AAMQ_HOST:activemq}:${MTX_AAMQ_PORT:61616}
payment.service.gatewayProxy.host ${MTX_GWPX_HOST:gatewayproxy}
payment.service.gatewayProxy.port ${MTX_GWPX_PORT:4080}

For more information about the Pay Now payment service, see MATRIXX Pay Now.