Download the PHP package iatspayments/php without Composer
On this page you can find all versions of the php package iatspayments/php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download iatspayments/php
More information about iatspayments/php
Files in iatspayments/php
Package php
Short Description iATS Payments API PHP wrapper library.
License GPL-3.0+
Homepage https://github.com/iatspayments/php
Informations about the package php
iATS PHP API Wrapper
A PHP wrapper for the iATS SOAP API.
iATS Web Services provide the facility to securely process payments using credit cards, ACH, or direct debit through your website or software.
Full wrapper documentation: http://iatspayments.github.io/PHP/
iATS SOAP Web Services overview
Requirements
- An account with iATS Payments
- NB! If you are already an iATS customer, please contact us to verify your Account settings
- The PHP wrapper requires certain features to be set up to your existing account
- Please contact us with your Client Code
- PHP 5.3.3 or greater
- SOAP enabled in your PHP installation
Optional Requirements
Optional requirements can be installed using Composer.
- PHPUnit (for unit testing)
- phpDocumentor (for generating documentation files)
Installation
Using Git
-
Clone the Git repository
$ git clone [email protected]:iATSPayments/PHP.git iATSPaymentsPHP
Downloading Directly
- Download the latest PHP wrapper release
- Extract the archive to a local directory (e.g. iATSPaymentsPHP)
Installing Optional Requirements
-
Run the Composer installation to retrieve optional requirements for unit testing and documentation generation.
$ cd iATSPaymentsPHP
$ composer install
See the Usage Examples section for help integrating the wrapper in your application.
Running PHPUnit Tests
Unit tests can be run using PHPUnit.
- In the wrapper root directory, edit
phpunit.xml
.- Set IATS_AGENT_CODE to
TEST88
. - Set IATS_PASSWORD to
TEST88
.
- Set IATS_AGENT_CODE to
-
After installing PHPUnit via Composer, tests can be run using the following command in the wrapper root directory:
$ ./vendor/bin/phpunit
Wrapper Components
iATS Web Services and this wrapper are broken up into three components.
Core
The core represents the base of all other services. It is responsible for connecting to the iATS API, making API calls, and error handling. The core also handles API restrictions on location-specific services and currency, preventing invalid calls being made to the API.
CustomerLink
The CustomerLink service is used to create and update customer records. CustomerLink may be used with the ProcessLink service to process single or recurring transactions for customers.
iATS documentation
- Request / response overview: https://www.iatspayments.com/NetGate/Customerlinkv2.asmx
- Detailed service guide
ProcessLink
The ProcessLink service is used to process single, recurring and bulk transactions for customers. ProcessLink can also be used to refund transactions.
iATS documentation
- Request / response overview: https://www.iatspayments.com/NetGate/ProcessLinkv2.asmx
- Detailed service guide
ReportLink
The ReportLink service is used to generate transaction reports for the other services. Available reports include credit / debit card transactions, rejected transactions and returns.
iATS documentation
- Request / response overview: https://www.iatspayments.com/NetGate/ReportLinkv2.asmx
- Detailed service guide