Skip to main content

Configure Properties

  • Stored Parameters: The properties file contains static information used by the PayMaster MPI software.
  • File Location: Ensure the properties file is located in the same directory as the PayMaster MPI library.
  • Configuration File: For Reversal Payment, use the CCPayment.properties file to configure the necessary properties.

Mandatory Fields

Field NameTypeLengthDescriptionExample
VersionNoString2Version number."06"
PaymasterEntryPointString512PayMaster entry point."D:/XXX/XXX/XXX/PaymasterEntryPoint.json"
CCSchemaString512Schema for Credit/Debit Card Payment."D:/XXX/XXX/XXX/CardPaymentSchema.json"
ServiceIDString3Service ID."FNX"
MerchantIDString15Merchant ID."D1022012123"
TxnChannelString3Transaction channel."WEB" - Web Channel (default),
"API"- via API,
"DIR" - Direct,
"GDS" - GDS Channel,
"OTH" – Others
LangLocaleString5Language."en"
SuccRespURLString512Successful payment page."https://xxx.xxxxx.xxx/approved.jsp "
UnsuccRespURLString512Unsuccessful payment page."https://xxx.xxxxx.xxx/declined.jsp"
CancelRespURLString512Cancel payment page."https://xxx.xxxxx.xxx/cancel.jsp "
SHAlgorithmTypeString3Secure Hash Algorithm type."SH2"
SecretKeyString64Secret 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