Download the PHP package pudongping/global-pay without Composer

On this page you can find all versions of the php package pudongping/global-pay. 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 global-pay

GlobalPay

[![Latest Stable Version](https://poser.pugx.org/pudongping/global-pay/v/stable.svg)](https://packagist.org/packages/pudongping/global-pay) [![Total Downloads](https://poser.pugx.org/pudongping/global-pay/downloads.svg)](https://packagist.org/packages/pudongping/global-pay) [![Latest Unstable Version](https://poser.pugx.org/pudongping/global-pay/v/unstable.svg)](https://packagist.org/packages/pudongping/global-pay) [![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D%207.1.3-8892BF.svg)](https://php.net/) [![Packagist](https://img.shields.io/packagist/v/pudongping/global-pay.svg)](https://github.com/pudongping/global-pay) [![License](https://poser.pugx.org/pudongping/global-pay/license)](https://packagist.org/packages/pudongping/global-pay)

支持国际版支付的 PHP SDK,目前只支持支付宝国际版。因目前支付宝跨境在线支付服务只支持 app、wap、web 和报关这四种,本 SDK 提供了 app、wap、web 这三种跨境支付,详见支付宝国际支付官方文档

创建本仓库的初衷主要在于,本人目前所在单位有跨境支付的需求,之前境内支付一直采用 yansongda/pay 扩展包,也习惯了这种调用方式,但由于贵包暂时不支持境外支付,因此只能撸起袖子自己写一个了。 本只想此扩展包供团队内部使用,但近期刚好也有朋友问我境外支付采用的什么扩展包,遂想着将此包开源出去,以供各位同学参考!如果发现此包有 bug,欢迎随时提 PR,希望各位同学使用愉快!
本扩展包里面的功能只打算以本人所在单位的需求为导向进行扩展,因此暂时只考虑跨境支付宝支付,其他暂且不考虑。

安装

详细文档地址

https://pudongping.github.io/global-pay-doc

特点

运行环境

支持的支付方法

方法 描述
web 电脑支付
wap 手机网站支付
app APP 支付

所有支付方法都支持的方法

其他通用方法

返回参数说明

参数 含义
nper 期数
total_amount 本金
total_charge 总手续费
rate 利率
per_charge 每期手续费
per_amount 每期本金
per_total_amount 每期总费用
refund_list 还款列表
refund_list.nper 第几期
refund_list.charge 当前期数所需要支付的手续费
refund_list.amount 当前期数所需要支付的本金数
refund_list.current_total_amount 当前期数所需要支付的总费用

使用说明

非花呗分期支付

花呗分期支付

致谢

本仓库架构思想借鉴于 「 yansongda/pay 」,感谢贵包作者提供如此好用的 PHP 支付 SDK 扩展包!

LICENSE

MIT


All versions of global-pay with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.3
ext-openssl Version *
ext-simplexml Version *
ext-libxml Version *
ext-json Version *
ext-bcmath Version *
guzzlehttp/guzzle Version ^6.3|^7.0
monolog/monolog Version ^2.3
illuminate/support Version ^8.55
symfony/http-foundation Version ^4.0 || ^5.0.7
symfony/event-dispatcher Version ^4.0 || ^5.0
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 pudongping/global-pay contains the following files

Loading the files please wait ....