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
MerchantID
andSecretKey
need to be updated accordingly. - The values for
CheckoutUrl
,PaymasterEntryPoint
andUPPSchema
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.
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. | "U01" - UPP 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. | "D:/XXX/XXX/XXX/PaymasterEntryPoint.json" |
UPPSchema | String | 512 | Schema for UPP payment. | "D:/XXX/XXX/XXX/UPPPaymentSchema.json" |
debug_log | String | 3 | Enable debug mode. | "Yes", "No" |
SecretKey | String | 64 | Secret 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