2017 © Pedro Peláez
 

library thirdpay-receiver

Required by user applications of catpkt/thirdpay-provider

image

catpkt/thirdpay-receiver

Required by user applications of catpkt/thirdpay-provider

  • Tuesday, May 29, 2018
  • by CatPKT
  • Repository
  • 1 Watchers
  • 0 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

第三方支付使用者

概述

配合 catpkt/thirdpay-provider 实现通用第三方支付集成。, (*1)

  • catpkt/thirdpay-provider 用于提供统一接口的第三方支付微服务
  • catpkt/thirdpay-receiver 用于调用这些微服务

使用

  1. 在类中引入trait \CatPKT\ThirdPayReceiver\TThirdPayReceiver
  2. 实现抽象方法 getEncryptor 提供加密器。
  3. 实现抽象方法 getApiUri, 提供所要调用微服务的接口链接。
  4. 实现抽象方法 asyncCallback, 实现支付成功后的异步回调。
  5. 设定路由,将某个目录指向 handle 方法,用于接收回调。
  6. 调用类中的 createPay 方法发起支付。

The Versions

29/05 2018

dev-master

9999999-dev

Required by user applications of catpkt/thirdpay-provider

  Sources   Download

MIT

The Requires

 

by Fenz

29/05 2018

0.0.7

0.0.7.0

Required by user applications of catpkt/thirdpay-provider

  Sources   Download

MIT

The Requires

 

by Fenz

27/11 2017

0.0.6

0.0.6.0

Required by user applications of catpkt/thirdpay-provider

  Sources   Download

MIT

The Requires

 

by Fenz

27/11 2017

0.0.5

0.0.5.0

Required by user applications of catpkt/thirdpay-provider

  Sources   Download

MIT

The Requires

 

by Fenz

27/07 2017

0.0.4

0.0.4.0

Required by user applications of catpkt/thirdpay-provider

  Sources   Download

MIT

The Requires

 

by Fenz

26/07 2017

0.0.3

0.0.3.0

Required by user applications of catpkt/thirdpay-provider

  Sources   Download

MIT

The Requires

 

by Fenz

25/07 2017

0.0.2

0.0.2.0

Required by user applications of catpkt/thirdpay-provider

  Sources   Download

MIT

The Requires

 

by Fenz

25/07 2017

0.0.1

0.0.1.0

Required by user applications of catpkt/thirdpay-provider

  Sources   Download

MIT

The Requires

 

by Fenz