测试流程

测试流程

测试支付环境断的唯一依据是支付账户中是否是设置了测试模式.

财务会在配置支付账户时按照规则配置好,测试收款渠道步骤:

收款渠道配置live尾缀的支付账户,checkout时email填写包含了@test.maiyuan.com。

(前提:该支付插件配置了测试模式的支付账户,如果存在多个则选择最新的。支付账户由财务人员维护。)

支付账户

网关支付账户可以设置live和test账户, 此处信息应由有权限相关人员(例如财务)维护, 为运营测试支付流程配置live和test账户。

  • 账户名称的建议: 方便从名称上区分和管理。

  • 账户如果是live账户应在账户名称结尾包含live字符, test账户结尾包含sys_test,。

  • 账户名称包含网关名称。

店铺的支付方式(收款渠道)需要运营根据需要进行配置, 只有配置了收款渠道,顾客才可以付款。

各网关测试相关资源

Adyen

测试卡: https://docs.adyen.com/development-resources/test-cards/test-card-numbers

拒绝原因: https://docs.adyen.com/development-resources/refusal-reasons

支付API返回码: https://docs.adyen.com/online-payments/payment-result-codes

通知事件码: https://docs.adyen.com/development-resources/webhooks/understand-notifications

WorldPay

测试卡: https://developer.worldpay.com/docs/wpg/reference/testvalues

PayPal

错误代码: https://developer.paypal.com/api/rest/reference/orders/v2/errors/

Local Codes: https://developer.paypal.com/api/rest/reference/locale-codes/

最后更新于