Download the PHP package vagh/laravel-allinpay without Composer
On this page you can find all versions of the php package vagh/laravel-allinpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vagh/laravel-allinpay
More information about vagh/laravel-allinpay
Files in vagh/laravel-allinpay
Download vagh/laravel-allinpay
More information about vagh/laravel-allinpay
Files in vagh/laravel-allinpay
Vendor vagh
Package laravel-allinpay
Short Description An Allinpay(Tonglian) PHP SDK For Laravel
License MIT
Package laravel-allinpay
Short Description An Allinpay(Tonglian) PHP SDK For Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-allinpay
Laravel-AllInPay
针对 通联支付 接口定制的适用于 Laravel 框架的 SDK
Installing
Usage
在 Laravel 环境中这样使用:
在 Laravel 中使用也是同样的安装方式,配置写在 config/services.php
中:
然后在 .env
中配置对应的配置项。
可以用两种方式来获取 Vagh\LaravelAllInPay\AllInPay
实例:
不在 Laravel 环境下可以这样使用:
统一支付接口(微信 JS SDK)
具体参数详情请以及接口返回值请参考通联支付的官方文档
参数 | 说明 | 必传 |
---|---|---|
open_id | 对应微信支付的发起用户ID | 是 |
notify_url | 支付回调地址 | 是 |
app_id | 微信对应的 AppID | 是 |
amount | 需要支付的金额 单位:分 | 是 |
out_trade_no | 商户订单号 | 是 |
valid_time | 订单有效时间 | 否 |
true_name | 付款人真实姓名 | 否 |
id_card_no | 证件号 | 否 |
退款接口
具体参数详情请以及接口返回值请参考通联支付的官方文档
参数 | 说明 | 必传 |
---|---|---|
open_id | 对应微信支付的发起用户ID | 是 |
amount | 需要支付的金额 单位:分 | 是 |
out_trade_no | 商户订单号 | 是 |
remark | 备注信息 最多25字 | 否 |
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT
All versions of laravel-allinpay with dependencies
PHP Build Version
Package Version
The package vagh/laravel-allinpay contains the following files
Loading the files please wait ....