2017 © Pedro Peláez
 

library payments

Abstract interface for preparing orders and processing payments

image

activecollab/payments

Abstract interface for preparing orders and processing payments

  • Monday, May 22, 2017
  • by ilijastuden
  • Repository
  • 4 Watchers
  • 1 Stars
  • 4,849 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 21 Versions
  • 7 % Grown

The README.md

Payments

Build Status, (*1)

Prepare orders and receive payments. Concept and exploration. We'll see where it will lead us., (*2)

Order lifecycle events:, (*3)

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

Subscription lifecycle events:, (*4)

  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., (*5)

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., (*6)

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., (*7)

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

  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.

The Versions

22/05 2017

v1.0.x-dev

1.0.9999999.9999999-dev https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

14/03 2017

dev-33-execute-order

dev-33-execute-order https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

11/01 2017

dev-master

9999999-dev https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

11/01 2017

0.10.17

0.10.17.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

27/12 2016

0.10.16

0.10.16.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

26/12 2016

0.10.15

0.10.15.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

26/12 2016

0.10.14

0.10.14.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

26/12 2016

0.10.13

0.10.13.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

25/12 2016

0.10.12

0.10.12.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

21/12 2016

0.10.11

0.10.11.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

13/12 2016

0.10.10

0.10.10.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

09/12 2016

0.10.9

0.10.9.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

30/11 2016

0.10.8

0.10.8.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

23/11 2016

0.10.7

0.10.7.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

12/11 2016

0.10.6

0.10.6.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

19/10 2016

0.10.5

0.10.5.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

18/10 2016

0.10.4

0.10.4.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

29/09 2016

0.10.3

0.10.3.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

14/07 2016

0.10.2

0.10.2.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

14/05 2016

0.10.1

0.10.1.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab

07/05 2016

0.10.0

0.10.0.0 https://labs.activecollab.com

Abstract interface for preparing orders and processing payments

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ilija Studen

payments activecollab