Skip to main content

Configure Properties

  • The following parameters are stored in a property file on the merchant server, containing static information used by the PayMaster MPI software.
  • Only the MerchantID needs to be updated accordingly.
  • The values for CheckoutUrl, PaymasterEntryPoint, UPPSchema, and CCSchema will be auto-generated by the WordPress WooCommerce built-in function to retrieve the location of the file.
  • Changes to debug_log will affect the Debug Mode checkbox on the Payment Settings page in WooCommerce.
  • The recurring payment properties should be configured in the CCPayment.ini file.
  • The following parameters are stored in a property file on the Merchant Server which contains static information to be used by PayMaster MPI software.

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."C04" - Recurring 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."var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/PaymasterEntryPoint.json"
UPPSchemaString512Schema for UPP payment."var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/UPPPaymentSchema.json"
debug_logString3Enable debug mode."Yes", "No"
CCSchemaString512Schema for CC payment."var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/CardPaymentSchema.json"

Example Configuration

File Name: CCPayment.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=C04
SHAlgorithmType=SH2
ExpTxnAmt=2
CurrCode=458
LangLocale=en
CheckoutUrl=https://xxx.xxxxx.xxx/checkout/
PaymasterEntryPoint=var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/PaymasterEntryPoint.json
UPPSchema=var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/UPPPaymentSchema.json
debug_log=no
CCSchema=var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/CardPaymentSchema.json