配置属性
备注
- 以下参数存储在商户服务器上的属性文件中,包含 PayMaster MPI 软件需要使用的静态信息。
- 只有
MerchantID
需要相应更改。 - 对于
CheckoutUrl
、PaymasterEntryPoint
、UPPSchema
和CCSchema
的值将由 WordPress WooCommerce 内置功能自动生成,以检索文件的位置。 - 对于
debug_log
,此文件的任何更改都会影响 WooCommerce 中支付设置页面中的调试模式复选框。 - 循环支付属性文件应配置在 CCPayment.ini 文件中。
必填字段
字段名称 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|
MerchantID | 字符串 | 15 | 商户 ID | "000010000022572" |
PayMasterUrl | 字符串 | 512 | PayMaster 支付 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 | 字符串 | 512 | PayMaster 循环 URL 页面 | "https://xxx.finexusgroup.com/upp/faces/ccpayment.xhtml?" |
countryCode | 字符串 | 2 | ISO 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 | 字符串 | 3 | ISO 4217 货币数字代码 | "458" |
LangLocale | 字符串 | 5 | 语言 | "en" |
CheckoutUrl | 字符串 | 512 | 结账 URL 页面 | "https://xxx.xxxxx.xxx/checkout" |
PaymasterEntryPoint | 字符串 | 512 | PayMaster 入口点 | "var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/PaymasterEntryPoint.json" |
UPPSchema | 字符串 | 512 | UPP 支付模式 | "var/www/vhosts/xxx/xxx/wp-content/plugins/finexus-payment-gateway-for-woocommerce-V45/src/UPPPaymentSchema.json" |
debug_log | 字符串 | 3 | 启用调试模式 | "Yes", "No" |
CCSchema | 字符串 | 512 | CC 支付模式 | "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