Foo Masterpass Payment Gateway Adapter Properties
Set the Foo Masterpass Payment Gateway Adapter properties in /opt/mtx/conf/payment-service.yaml.
Foo Masterpass Payment Gateway Adapter Properties describes the Foo Masterpass Payment Gateway Adapter
properties.
Property Name | Description | Default Value | Required |
---|---|---|---|
baseUrl | This is the base URL of the Foo Masterpass Payment Gateway. | - | Yes |
clientId | This is the Foo Masterpass client ID that is supplied by Foo. | - | Yes |
secretKey | This is the secret key to encrypt requests that are supplied by Foo. | - | Yes |
currency | The ISO currency code for the payment. This should match the currency configured in the Foo Masterpass Payment Gateway. | QAR | No |
performPaymentUrl | The URL to use for performing single payments. This is appended to the value defined in the base URL property. | ext/v5/inapp/performPayment | No |
performRefundUrl | The URL to use for performing a payment refund. This is appended to the value defined in the base URL property. | ext/v5/inapp/performRefund | No |
requestTokenUrl | The URL to use for requesting a client token. This is appended to the value defined in the base URL property. | ext/v5/inapp/requestToken | No |
getCardTokenUrl | The URL to use for fetching the card token. This is appended to the value defined in the base URL property. | ext/v5/inapp/getCardToken | No |
payment:
gateway:
# foomasterpass Payment Gateway
foomasterpass:
configs:
default:
clientId: '2070312345'
secretKey: 'xxxxx'
baseUrl: 'https://yyyyy.com'
currency: 'QAR'
rechargeCatalogIds: [98,99]