Download the PHP package suifeng/applet-paylogin without Composer

On this page you can find all versions of the php package suifeng/applet-paylogin. 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 applet-paylogin

### 注意事项 微信支付使用APIv2规则 所以需要配置V2接口的密匙 不会用就看 test 目录下的示例 本项目只要是为自己服务 其他人用请自行看文档摸索 支付宝是订阅消息 不是订单消息等

安装说明

composer require suifeng/applet-paylogin

功能支持

第三方 token openid 支付 回调 退款 订单查询 解密手机号 订阅消息
微信小程序
支付宝小程序 x
字节小程序

字节小程序

Config

参数名字 类型 必须 说明
salt string 担保交易的 SALT
app_id int 小程序的 APP_ID
secret string 小程序的 APP_SECRET
debug string 沙盒调试开关 使用为 true 不使用为false
notify_url string 支付回调 url

token

openid

预下单

文档地址:https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/ecpay/APIlist/pay-list/pay

解密手机号

字节订单查询

文档地址:https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/ecpay/APIlist/pay-list/query

字节退款

文档地址:https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/ecpay/APIlist/refund-list/refund

异步通知

文档地址:https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/server/ecpay/APIlist/pay-list/callback
这里如果有退款 记得要判断下 支付回调和退款回调

订阅消息

微信小程序

Config

参数名字 类型 必须 说明
appid int 小程序 appid
secret int 小程序 secret
mch_id string 商户 mch_id
mch_key string 商户 mch_key
notify_url string 异步地址
cert_pem string cert_pem 证书
key_pem string key_pem 证书

token

openid

预下单

文档地址:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_1

微信解密手机号

微信订单查询

文档地址:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_2

微信退款

文档地址:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_4

异步通知

文档地址:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_7&index=8

订阅消息

支付宝小程序

Config

参数名字 类型 必须 说明
appid int 小程序 appid
screct_key int 解密手机号的 AES密钥
notify_url string 异步回调地址
debug string 沙箱调试开关 使用沙箱设置为ture 不使用设置为false
rsaPrivateKey int 请填写开发者私钥去头去尾去回车,一行字符串
alipayrsaPublicKey int 请填写支付宝公钥,一行字符串

openid

支付宝解密手机号

预下单

文档地址:https://opendocs.alipay.com/open/02ekfj

支付宝订单查询

文档地址:https://opendocs.alipay.com/open/02ekfh?scene=common

支付宝退款

文档地址:https://opendocs.alipay.com/open/02ekfk

异步通知

文档地址:https://opendocs.alipay.com/open/194/103296

订阅消息

文档地址:https://opendocs.alipay.com/mini/02cth2


All versions of applet-paylogin with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
ext-curl Version *
ext-openssl Version *
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 suifeng/applet-paylogin contains the following files

Loading the files please wait ....