Configure Properties
- The following parameters are stored in a property file on the Merchant Server, which contains static information used by the PayMaster MPI software.
- The properties file must be located in the same directory as the PayMaster MPI.
- The Reversal Payment properties should be configured in the CCPayment.properties file.
Mandatory Fields
Field Name | Type | Length | Description | Example |
---|---|---|---|---|
VersionNo | String | 2 | Version number. | "06" |
PaymasterEntryPoint | String | 512 | PayMaster entry point. | "D:/XXX/XXX/XXX/PaymasterEntryPoint.json" |
CCSchema | String | 512 | Schema for Credit/Debit Card Payment. | "D:/XXX/XXX/XXX/CardPaymentSchema.json" |
ServiceID | String | 3 | Service ID. | "FNX" |
MerchantID | String | 15 | Merchant ID. | "D1022012123" |
TxnChannel | String | 3 | Transaction channel. | "WEB" - Web Channel (default), "API"- via API, "DIR" - Direct, "GDS" - GDS Channel, "OTH" – Others |
LangLocale | String | 5 | Language. | "en" |
SuccRespURL | String | 512 | Successful payment page. | "https://xxx.xxxxx.xxx/approved.jsp " |
UnsuccRespURL | String | 512 | Unsuccessful payment page. | "https://xxx.xxxxx.xxx/declined.jsp" |
CancelRespURL | String | 512 | Cancel payment page. | "https://xxx.xxxxx.xxx/cancel.jsp " |
SHAlgorithmType | String | 3 | Secure Hash Algorithm type. | "SH2" |
SecretKey | String | 64 | Secret key. | "B9XXX6FA91749XXX9F71340E3XXXC3478524320XXX8587D22XXXA35DD4E7BXXX" |
Example Configuration
File Name: CCPayment.properties
VersionNo=06
ServiceID=FNX
MerchantID=D1022012123
TxnChannel=WEB
LangLocale=en
SuccRespURL=https://xxx.xxxxx.xxx/success.jsp
UnsuccRespURL=https://xxx.xxxxx.xxx/declined.jsp
CancelRespURL=https://xxx.xxxxx.xxx/cancel.jsp
ReversalRespURL=https://xxx.xxxxx.xxx/reversal.jsp
SHAlgorithmType=SH2
SecretKey=B9XXX6FA91749XXX9F71340E3D4E7BXXX
PaymasterEntryPoint=D:/xxx/xxx/xxx/PaymasterEntryPoint.json
CCSchema=D:/xxx/xxx/xxx/CardPaymentSchema.json