aliconfig.php 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. // 以下配置均为本人的沙箱环境,贡献出来,大家测试
  11. // 个人沙箱帐号:
  12. /*
  13. * 商家账号 naacvg9185@sandbox.com
  14. * appId 2016073100130857
  15. */
  16. /*
  17. * !!!作为一个良心人,别乱改测试账号资料
  18. * 买家账号 aaqlmq0729@sandbox.com
  19. * 登录密码 111111
  20. * 支付密码 111111
  21. */
  22. return [
  23. 'use_sandbox' => true, // 是否使用沙盒模式
  24. 'app_id' => '2016073100130857',
  25. 'sign_type' => 'RSA2', // RSA RSA2
  26. // 支付宝公钥字符串
  27. 'ali_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmBjJu2eA5HVSeHb7jZsuKKbPp3w0sKEsLTVvBKQOtyb7bjQRWMWBI7FrcwEekM1nIL+rDv71uFtgv7apMMJdQQyF7g6Lnn9niG8bT1ttB8Fp0eud5L97eRjFTOa9NhxUVFjGDqQ3b88o6u20HNJ3PRckZhNaFJJQzlahCpxaiIRX2umAWFkaeQu1fcjmoS3l3BLj8Ly2zRZAnczv8Jnkp7qsVYeYt01EPsAxd6dRZRw3uqsv9pxSvyEYA7GV7XL6da+JdvXECalQeyvUFzn9u1K5ivGID7LPUakdTBUDzlYIhbpU1VS8xO1BU3GYXkAaumdWQt7f+khoFoSw+x8yqQIDAQAB',
  28. // 自己生成的密钥字符串
  29. 'rsa_private_key' => 'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC/z+Ue/oS0GjO2myYrkdopw5qq6Ih/xlHBx0HBE0xA2dRinpMuZeI0LUUtN54UAUZbDz8rcaOCb0jeloeYolw54tadcIw4Q2hbdeJPplldJZyi1BDYtBJZ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K0EHEuO9GOUZq8+6kLtc+cBUCgYBFJ/kzEsVAjmEtkHA33ZExqaFY1+l2clrziTPAtWYVIiK5mSmxl9xfOliER/KxzDIVMigStEmpQH5ms3s/AGXuVVmz4aBn1rSyK2L6D9WnO9t9qv1dUW68aeOkV3OvZ1jZlj0S/flDaSEulGclDmvYinoGwX+aAyLy0VQIlUqj5wKBgHEUEf7YDnvw/IBnF1E4983/7zBx9skoHhpEZsh2+1or7LIw6z0m3lsNBnK0MZZBmW/7HwOtVfhXUUPbVrOJdi70YoMynX3gjK3LTXhzISheZgcNRKTqiJgVunPokJxQRyYcAfaQeuIm9O8cCPE1rZpNAzCdd4NSj83UZRm3YOmC',
  30. 'limit_pay' => [
  31. //'balance',// 余额
  32. //'moneyFund',// 余额宝
  33. //'debitCardExpress',// 借记卡快捷
  34. //'creditCard',//信用卡
  35. //'creditCardExpress',// 信用卡快捷
  36. //'creditCardCartoon',//信用卡卡通
  37. //'credit_group',// 信用支付类型(包含信用卡卡通、信用卡快捷、花呗、花呗分期)
  38. ], // 用户不可用指定渠道支付当有多个渠道时用“,”分隔
  39. // 与业务相关参数
  40. 'notify_url' => 'https://dayutalk.cn/notify/ali',
  41. 'return_url' => 'https://dayutalk.cn',
  42. 'fee_type' => 'CNY', // 货币类型 当前仅支持该字段
  43. ];