alipay.php 2.6 KB

123456789101112131415161718192021
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 支付宝
  4. // +----------------------------------------------------------------------
  5. return [
  6. // 应用地址
  7. 'appId' => '2021001198635750',
  8. //请填写您的应用私钥
  9. 'merchantPrivateKey' => 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDZE8uMV4bNdjeMD/aBcdSw/F4pUZOrmiTO8Z+pPTSvdxcS77ws8wRNOrM8Zi2uD1agIKaazD8UHwOPjgscoYfF1cIRbYZyGarwHuyKRJ9N//XoLsNRlQiN4nQ880Q3GIRS6jVuN7omqSLS0/PhwAdQR1lo+TQrF0UU9NN86Lshn1dDCAClxNlokJe/BCq+CdFdWgozoOJXF9i9mclIcgMqz88S7UU/OwCcrTSRpYPrr6Zyj+PrrnZHAx6KlXT80cJpWS7CcWi8eLDgPo+6+a8YKrn5sZBWwvPKC7Kcf+gAsCV5r0JCgpE5pZ5dS1546R9EBnZQWZrDWTHvrrO46rSXAgMBAAECggEBAJTUupj1JapW5Ay2oRbs+ZuC2/hOQwXDgHsWNJZvLWEkMIC+N3FGCOv+VAcUMzuErqrI2BGH+bOM8/8Hr1yo7xLX1N/oDObL7GQHf7vpAqQS2wGeljGoEZ5d5b4oN9vihk7m3007DfkVu5d61FoyM5F56bZMLdVhde7BUQLx+eM5PagNIJhJUzb7JgFXBFBNH8kqN17zNawn6qlaZHmZ+oUL/p2AJynGIeXzLlGAfr5cttr8IsbbRrcdQy+s4WqFidzGIs0b/dAJF4d7o1ZB1t7qMFCfTjrcjJeFlgEOFCmYF2RBKVhq57FtAR/OB8Q8YYRGLfsSSUsYTpaoxaUOVKECgYEA9iICK1tV+8Fvg0LX40N0wKMWJrHq7WII2/vKJXToPnNKyFXWWnBV7Fw5jAoRvqF1s3snWTqcwau5N4rqcBuwayPCoZ4mu7FSmG7UI9RZgZQ+7IhMJjQv0ul+1rWDlcR3PYVtBxHzUDCMHN02tZ70WiVxY+bX16ZBvfaUTFS3mrECgYEA4ceZG0ZgguRYbKNASN91G7jNC069IFXAQC2gupCHXoAMDlMgG+chOPE/GTm05M8Btvx5L2WkL/a/q8Zeg6TFxUN1EInyBQQ6H8z+ivPAXgHN33b+PeHzYJLHtEMT1UJytLuYXz67tE2Jxm8UMGs4nxR/6/zVbQ17q+1Y773sBccCgYBJZH6tGwEanuV3iHkDhVvNDVRPmYHp4u+tWPlADgoqhQppjl7qfNDCOAXY4i/EXjTQngpvqvCPN3t1OnEJmNgUOoeQ1a3LDecJGRMc0/cUknXo5gN+6NTR2Vo+/8UK5ZiAucZ28z1QTgmZmcT0hz9pmfyjw3PdE/BKirpRwHk3IQKBgCKqEHm9jmfKQ0E6t0348PP2pZSM3ECwqbmwx7KdKgt6QV+Zp55hGBqz/2oSEBHpLmw3yytZwaGTks3+wNgZXjvxJXIKm9vlUD89q/8NeYV1ZXRfwp0hqcoz/vFQMyVU9GOHQdetvAfst7B9sW3VqHXUIefLg8EghtJYuITmdexVAoGAYulM+koElIHlzaY5zrOirwh5eoX2eYjb99WhrmMKtLduv+z3FlQhUpeuspB4H7dKQjowwP5H1cpZtilh321mKM5OWU8Y2lzsJFpcK3vhSTIyqE0tPa7FuY43z80c1BvTxZGCzw2xWQ8rVKDrfYACzerrvPW77F9soNpTAzBYBfA=',
  10. //支付宝公钥证书
  11. 'alipayCertPath' => app()->getRootPath() .'config/alipay/alipayCertPublicKey_RSA2.crt',
  12. //请填写您的支付宝根证书文件路径
  13. 'alipayRootCertPath' => app()->getRootPath() .'config/alipay/alipayRootCert.crt',
  14. //请填写您的应用公钥证书文件路径
  15. 'merchantCertPath' => app()->getRootPath() .'config/alipay/appCertPublicKey_2021001198635750.crt',
  16. //请填写您的支付类接口异步通知接收服务地址
  17. 'notifyUrl' => 'http://api.lipinwawa.com/api/ott/alipayNotifyUrl',
  18. //支付跳回反馈
  19. 'returnUrl' => 'http://api.lipinwawa.com/api/ott/alipayReturnUrl'
  20. ];