-
Notifications
You must be signed in to change notification settings - Fork 55
/
pay.php
46 lines (33 loc) · 1.23 KB
/
pay.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
return [
'alipay' => [
// 支付宝分配的 APPID
'app_id' => env('ALIPAY_ID'),
// 支付宝异步通知地址
'notify_url' => 'https://www.jiqishibie.com/payment/alipay-notify',
// 支付成功后同步通知地址
'return_url' => 'https://www.jiqishibie.com/payment/alipay-return',
// 阿里公共密钥,验证签名时使用
'ali_public_key' => env('ALIPAY_PUBLIC_KEY'),
// 自己的私钥,签名时使用
'private_key' => env('ALIPAY_PRIVATE_KEY'),
],
'wechat' => [
// 公众号APPID
'app_id' => '',
// 小程序APPID
'miniapp_id' => '',
// APP 引用的 appid
'appid' => '',
// 微信支付分配的微信商户号
'mch_id' => '',
// 微信支付异步通知地址
'notify_url' => '',
// 微信支付签名秘钥
'key' => '',
// 客户端证书路径,退款时需要用到。请填写绝对路径,linux 请确保权限问题。pem 格式。
'cert_client' => '',
// 客户端秘钥路径,退款时需要用到。请填写绝对路径,linux 请确保权限问题。pem 格式。
'cert_key' => '',
],
];