Skip to main content

Configure Properties

note
  • The following parameters are stored in a property file on the Merchant Server which contains static information to be used by PayMaster MPI software.
  • Only MerchantID and SecretKey need to be changed accordingly.
  • For CheckoutUrl, PaymasterEntryPoint and UPPSchema value will be auto generated by WordPress WooCommerce built-in function to retrieved the location of the file.
  • For debug_log, any changes in this file will affect the Debug Mode checkbox in Payment Settings page in WooCommerce.

Mandatory Fields

Field NameTypeLengthDescriptionExample
MerchantIDString15Merchant ID."000010000022572"
PayMasterUrlString512PayMaster payment URL page."https://xxx.finexusgroup.com/upp/faces/upp/payment.xhtml?"
EcommMerchIndString1Ecommerce merchant indicator."0" - Non-E-Commerce merchant,
"1" - E-Commerce (3D Secure),
"2" - E-Commerce (Non-3D Secure/MOTO)
VersionNoString2Version number."06"
ServiceIDString3Service ID."FNX"
TokenFlagString1Card tokenization."Y" – Agree to store the card details used for the payment into PayMaster system,
"N" – Disagree/FPX payment
RecurringUrlString512PayMaster recurring URL page."https://xxx.finexusgroup.com/upp/faces/ccpayment.xhtml?"
countryCodeString2Country code defined by ISO 3166-1."MY
PreAuthFlagString1Pre-authorization transaction."A" – Account verification transaction,
"N" – Normal transaction,
"Y" – Pre-authorization transaction
TxnChannelString3Transaction channel."WEB" - Web Channel (default),
"API"- via API,
"DIR" - Direct,
"GDS" - GDS Channel,
"OTH" – Others
PaymentIDString3Payment Method/Function."U01" - UPP Transaction
SHAlgorithmTypeString3Secure Hash Algorithm type."SH2"
ExpTxnAmtString1Exponent of transaction amount."2"
CurrCodeString3ISO 4217 currency numeric code."458"
LangLocaleString5Language."en"
CheckoutUrlString512Checkout URL page."https://xxx.xxxxx.xxx/checkout"
PaymasterEntryPointString512PayMaster entry point."D:/XXX/XXX/XXX/PaymasterEntryPoint.json"
UPPSchemaString512Schema for UPP payment."D:/XXX/XXX/XXX/UPPPaymentSchema.json"
debug_logString3Enable debug mode."Yes", "No"
SecretKeyString64Secret key."B9XXX6FA91749XXX9F71340E3XXXC3478524320XXX8587D22XXXA35DD4E7BXXX"

Example Configuration

File Name: UPPPayment.ini
MerchantID=000010000022572
PayMasterUrl=https://xxx.finexusgroup.com/upp/faces/upp/payment.xhtml?
EcommMerchInd=0
VersionNo=06
ServiceID=FNX
TokenFlag=N
RecurringUrl=https://xxx.finexusgroup.com/upp/faces/ccpayment.xhtml?
CountryCode=MY
PreAuthFlg=N
TxnChannel=WEB
PaymentID=U01
SHAlgorithmType=SH2
ExpTxnAmt=2
CurrCode=458
LangLocale=en
CheckoutUrl=https://xxx.xxxxx.xxx/checkout/
PaymasterEntryPoint=/xxx/wooCommerce/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/PaymasterEntryPoint.json
UPPSchema=/xxx/wooCommerce/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/UPPPaymentSchema.json
debug_log=no
SecretKey=B96856FA91749A259F71340E3C6BC3478524320F218587D22071A35DD4E7B4FF