定制 activecollab/payments 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

activecollab/payments

Composer 安装命令:

composer require activecollab/payments

包简介

Abstract interface for preparing orders and processing payments

README 文档

README

Build Status

Prepare orders and receive payments. Concept and exploration. We'll see where it will lead us.

Order lifecycle events:

  1. Completed,
  2. Partially refunded,
  3. Fully refunded.

Subscription lifecycle events:

  1. Activation,
  2. Successful rebill,
  3. Failed rebill,
  4. Change,
  5. Deactivation.

When gateway listens to notifications from the gateway service, it should use ActiveCollab\Payments\Dispatcher instance to dispatch events so application can react to these order and/or subscription changes.

Working with Addresses

Address Interfaces

ActiveCollab\Payments\Address\AddressInterface describe an address. It can be used to define an address of an organization, or of an individual. In case of organizations, we can also keep track of tax ID, for invoicing purposes.

Addresses Interfaces

ActiveCollab\Payments\Address\AddressesInterface is used to handle situations where addressible object can have more than one address. For example, a merchant can have multiple locations, or it can change primary location at some point in time. Not having other addresses, or lossing info about previous addresses may not be acceptible, so we have to keep track about all addresses associated with the object.

Addresses interface can be combined with of following interfaces, when we want to specify a default address:

  1. ActiveCollab\Payments\Address\OptionalDefaultAddressInterface when default address is optional,
  2. ActiveCollab\Payments\Address\RequiredDefaultAddressInterface when default address is required.

To do:

  1. Subscription change should have the new total and new items.

统计信息

  • 总下载量: 15.42k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固