Download the PHP package cncal/alipay without Composer
On this page you can find all versions of the php package cncal/alipay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package alipay
Alipay(web) for laravel
安装
-
执行命名:
-
如果 Laravel 版本小于5.5:
-
添加
AlipayServiceProvider
至config/app
的providers
: - 添加 Facade 至
config/app
的aliases
:
-
- 发布资源文件
config/alipay.php
和storage/logs/alipay.log
:
配置
在 config/alipay.php
中配置支付宝信息:
merchant_private_key
和merchant_public_key
可由支付宝开放平台提供的RSA签名验签工具生成。 生成之后在平台配置密钥,即可获取alipay_public_key
。如有问题,请查阅参考文档。
gateway_url
:支付宝网关app_id
:创建应用后获取的 app_idalipay_public_key
:与 app_id 对应的支付宝公钥,查看地址merchant_private_key
:RSA 签名验签工具生成的商家私钥charset
:仅支持 GBK 和 UTF-8sign_type
:生成商家公钥和私钥的签名方式,目前仅支持 RSA 和 RSA2, 推荐使用 RSA2notify_url
:支付成功后的异步通知地址,支付宝用 POST 方式请求该地址,所以确保该地址可以被访问到,尤其当你的网站有认证机制的时候return_url
:支付成功后的同步回调地址,尽量不要在该地址后添加任何参数,例如?date=***
。如果必须这样做,在Alipay::check
之前unset
它们
使用
All versions of alipay with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
>= 5.1
The package cncal/alipay contains the following files
Loading the files please wait ....