cmbconfig.php 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. * The file is part of the payment lib.
  4. *
  5. * (c) Leo <dayugog@gmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. return [
  11. 'use_sandbox' => true, // 是否使用 招商测试系统
  12. 'branch_no' => 'xxxx', // 商户分行号,4位数字
  13. 'mch_id' => 'xxxxxx', // 商户号,6位数字
  14. 'mer_key' => 'xxxaaaabbbccccc1', // 秘钥16位,包含大小写字母 数字
  15. // 招商的公钥,建议每天凌晨2:15发起查询招行公钥请求更新公钥。
  16. 'cmb_pub_key' => 'xxxxxx',
  17. 'op_pwd' => 'xxxxxx', // 操作员登录密码。
  18. 'sign_type' => 'SHA-256', // 签名算法,固定为“SHA-256”
  19. 'limit_pay' => 'A', // 允许支付的卡类型,默认对支付卡种不做限制,储蓄卡和信用卡均可支付 A:储蓄卡支付,即禁止信用卡支付
  20. 'notify_url' => 'https://dayutalk.cn/notify/cmb', // 支付成功的回调
  21. 'sign_notify_url' => 'https://dayutalk.cn/notify/cmb', // 成功签约结果通知地址
  22. 'sign_return_url' => 'https://dayutalk.cn', // 成功签约结果通知地址
  23. 'return_url' => 'https://dayutalk.cn', // 如果是h5支付,可以设置该值,返回到指定页面
  24. ];