Skip to content

finix-payments/processing-php-client

Repository files navigation

Finix Processing HTTP Client

Circle CI

Requirements

PHP 5.4 and later.

Issues

Please use appropriately tagged github issues to request features or report bugs.

Composer

You can install the bindings via Composer. Run the following command:

composer require finix/processing-php

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

Getting Started

If you do not wish to use Composer, you can download the latest release. Then, require all bootstrap files:

require('/path/to/Finix/Settings.php');
require('/path/to/Finix/Bootstrap.php');

use \Finix\Settings;
use \Finix\Bootstrap;

Settings::configure([
    "root_url" => "https://api-staging.finix.io",
    "username" => 'US4CoseCAaB5RjTYrnwfDrZa',
    "password" => '4ca5aef5-f077-4277-a785-00f2cab07c21'
]);

Bootstrap::init();

See the tests for more details.