跳到主要内容

配置属性

备注
  • 以下参数存储在商户服务器上的属性文件中,包含 PayMaster MPI 软件需要使用的静态信息。
  • 只有 MerchantID 需要相应更改。
  • 对于 CheckoutUrlPaymasterEntryPointUPPSchemaCCSchema 的值将由 WordPress WooCommerce 内置功能自动生成,以检索文件的位置。
  • 对于 debug_log,此文件的任何更改都会影响 WooCommerce 中支付设置页面中的调试模式复选框。
  • 循环支付属性文件应配置在 CCPayment.ini 文件中。

必填字段

字段名称类型长度描述示例
MerchantID字符串15商户 ID"000010000022572"
PayMasterUrl字符串512PayMaster 支付 URL 页面"https://xxx.finexusgroup.com/upp/faces/upp/payment.xhtml?"
EcommMerchInd字符串1电子商务商户指示符"0" - 非电子商务商户,
"1" - 电子商务(3D 安全),
"2" - 电子商务(非 3D 安全/MOTO)
VersionNo字符串2版本号"06"
ServiceID字符串3服务 ID"FNX"
TokenFlag字符串1卡令牌化"Y" – 同意将用于支付的卡详细信息存储到 PayMaster 系统中,
"N" – 不同意/FPX 支付
RecurringUrl字符串512PayMaster 循环 URL 页面"https://xxx.finexusgroup.com/upp/faces/ccpayment.xhtml?"
countryCode字符串2ISO 3166-1 定义的国家代码"MY
PreAuthFlag字符串1预授权交易"A" – 帐户验证交易,
"N" – 正常交易,
"Y" – 预授权交易
TxnChannel字符串3交易渠道"WEB" - 网络渠道(默认),
"API"- 通过 API,
"DIR" - 直接,
"GDS" - GDS 渠道,
"OTH" – 其他
PaymentID字符串3支付方式/功能"C04" - 循环交易
SHAlgorithmType字符串3安全哈希算法类型"SH2"
ExpTxnAmt字符串1交易金额的指数"2"
CurrCode字符串3ISO 4217 货币数字代码"458"
LangLocale字符串5语言"en"
CheckoutUrl字符串512结账 URL 页面"https://xxx.xxxxx.xxx/checkout"
PaymasterEntryPoint字符串512PayMaster 入口点"var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/PaymasterEntryPoint.json"
UPPSchema字符串512UPP 支付模式"var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/UPPPaymentSchema.json"
debug_log字符串3启用调试模式"Yes", "No"
CCSchema字符串512CC 支付模式"var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/CardPaymentSchema.json"

示例配置

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