Download the PHP package hejiaqiang1980/fast-payment without Composer

On this page you can find all versions of the php package hejiaqiang1980/fast-payment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fast-payment

fastPayment

通用支付接口,目前已接入:通联网上收银统一下单接口功能

运行环境

PHP7.0

安装方法

  1. 可以在你的项目根目录运行:composer require sxqibo/fast-payment

快速使用

通联初始化类

1. 统一支付接口

使用场景:请求扫码支付的二维码串(支持支付宝、QQ钱包、云闪付),公众号JS支付(支付宝,微信,QQ钱包,云闪付),微信小程序支付

2. 统一扫码接口

使用场景:扫一扫付款二维码,获取付款二维码内容调用此接口进行收款.支持微信,支付宝,手机qq,银联规范付款二维码

3. 交易撤销

使用场景:只能撤销当天的交易,全额退款,实时返回退款结果

4. 交易退款

使用场景:支持部分金额退款,隔天交易退款。(建议在交易完成后间隔几分钟(最短2分钟)再调用退款接口,避免出现订单状态同步不及时导致退款失败。)

5. 交易查询

使用场景:同时支持统一支付、支付退货两种种交易的查询

6. 根据授权码(付款码)获取用户ID

使用场景: 通过微信付款码换取openid 通过银联userAuth的code(非付款码)换取userid

7. 微信人脸授权码获取

使用场景:使用微信rawdata换取authcode

8. 订单关闭

使用场景:对于处理中的交易,可调用该接口直接将未付款的交易进行关闭。

9. 获取交易类型列表

10. 获取交易方式列表

其他

代码贡献

如果您有发现有BUG,欢迎 Star,欢迎 PR !

商务合作

手机和微信: 18903467858 欢迎商务联系!合作共赢!


All versions of fast-payment with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
guzzlehttp/guzzle Version 7.5.0
wechatpay/wechatpay-guzzle-middleware Version ^0.2.2
ext-openssl Version *
ext-curl Version *
ext-json Version *
ext-simplexml Version *
ext-libxml Version *
overtrue/wechat Version ^5.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hejiaqiang1980/fast-payment contains the following files

Loading the files please wait ....