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
, andCCSchema
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 Name | Type | Length | Description | Example |
---|---|---|---|---|
MerchantID | String | 15 | Merchant ID. | "000010000022572" |
PayMasterUrl | String | 512 | PayMaster payment URL page. | "https://xxx.finexusgroup.com/upp/faces/upp/payment.xhtml?" |
EcommMerchInd | String | 1 | Ecommerce merchant indicator. | "0" - Non-E-Commerce merchant, "1" - E-Commerce (3D Secure), "2" - E-Commerce (Non-3D Secure/MOTO) |
VersionNo | String | 2 | Version number. | "06" |
ServiceID | String | 3 | Service ID. | "FNX" |
TokenFlag | String | 1 | Card tokenization. | "Y" – Agree to store the card details used for the payment into PayMaster system, "N" – Disagree/FPX payment |
RecurringUrl | String | 512 | PayMaster recurring URL page. | "https://xxx.finexusgroup.com/upp/faces/ccpayment.xhtml?" |
countryCode | String | 2 | Country code defined by ISO 3166-1. | "MY |
PreAuthFlag | String | 1 | Pre-authorization transaction. | "A" – Account verification transaction, "N" – Normal transaction, "Y" – Pre-authorization transaction |
TxnChannel | String | 3 | Transaction channel. | "WEB" - Web Channel (default), "API"- via API, "DIR" - Direct, "GDS" - GDS Channel, "OTH" – Others |
PaymentID | String | 3 | Payment Method/Function. | "C04" - Recurring Transaction |
SHAlgorithmType | String | 3 | Secure Hash Algorithm type. | "SH2" |
ExpTxnAmt | String | 1 | Exponent of transaction amount. | "2" |
CurrCode | String | 3 | ISO 4217 currency numeric code. | "458" |
LangLocale | String | 5 | Language. | "en" |
CheckoutUrl | String | 512 | Checkout URL page. | "https://xxx.xxxxx.xxx/checkout" |
PaymasterEntryPoint | String | 512 | PayMaster entry point. | "var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/PaymasterEntryPoint.json" |
UPPSchema | String | 512 | Schema for UPP payment. | "var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/UPPPaymentSchema.json" |
debug_log | String | 3 | Enable debug mode. | "Yes", "No" |
CCSchema | String | 512 | Schema 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