Download the PHP package activecollab/payments without Composer

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

Payments

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.

All versions of payments with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
activecollab/datevalue Version ^2.0
activecollab/user Version ^4.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 activecollab/payments contains the following files

Loading the files please wait ....