aligncommerce/aligncommerce-php-lib

Align Commerce PHP Library

v1.1.1 2014-09-24 09:28 UTC

This package is not auto-updated.

Last update: 2024-04-23 00:12:44 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements :

PHP 5.4 and later.

Registration :

Register account at https://aligncommerce.com/dashboard/

Installation

Obtain the latest version :

git clone https://github.com/aligncommerce/align-php-library.git

To use the Library, add the following to your PHP Script:

require_once("/path/lib/Align.php");

Configuration :

Configure your credential on lib/Align/Apiconfig.php

authBasicUsername = Username that you used in our registration.

authBasicPassword = Password that you used in our registration.	

clientId  = Provided in https://aligncommerce.com/dashboard/keys.

secretKey = Provided in https://aligncommerce.com/dashboard/keys.

Basic usage:

require_once("lib/Align.php");
echo Invoice::retrieve();