Download the PHP package orkestra/transactor without Composer
On this page you can find all versions of the php package orkestra/transactor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download orkestra/transactor
More information about orkestra/transactor
Files in orkestra/transactor
Package transactor
Short Description Offers support for interacting with different financial transaction processing platforms
License MIT
Informations about the package transactor
Orkestra Transactor
The Transactor provides payment processing functionality to any PHP 5.4+, 7.0+ project. This library contains dependencies on Symfony and supports both Symfony 2.3+ and 3.0+.
HHVM is loosely supported, but it has not been extensively tested. Please Report an Issue if you have any problems.
Supported payment processors:
- Network Merchants credit card, ACH, and swiped transactions.
- Authorize.Net credit card and ACH support.
- Cash and check transactions for brick and mortar stores.
- Points, useful as a means to keep track of account credit.
Installation
Install this project using Composer.
Add orkestra-transactor to your project by running composer require orkestra/transactor:~1.2
, or by adding it to your composer.json
file:
Then run composer install
or composer update
.
Usage
Overview
- Create Credentials
- Create Account
- Create Transaction
- Process Transaction
1. Create Credentials
Credentials are used by a Transactor to authenticate with the remote system. Each transactor has specific fields that are necessary to allow processing of transactions.
You can use a given Transactor to create a default set of Credentials by calling $transactor->createCredentials()
.
Tip: You can inspect a Credentials entity and get its Transactor type, then pass that to the TransactorFactory to dynamically load the appropriate Transactor for a given Transaction.
2. Create Account
An Account is essentially a container of customer information. There are multiple types of Account entities, basically one type per Network type. Different Transactors support different networks. A Network is the method by which to process a transaction, such as Credt Card, ACH, or Cash.
3. Create Transaction
A Transaction must provide the Transactor a proper Account and Credentials to allow the Transactor to process.
4. Transact
Use the Transactor to actually process the Transaction.
All versions of transactor with dependencies
orkestra/common Version ~1.0
guzzlehttp/guzzle Version ~3.7
symfony/symfony Version ~2.3|~3.0
symfony/serializer Version ~2.3|~3.0