2017 © Pedro Peláez
 

library checkout-php-api

image

checkout/checkout-php-api

  • Sunday, July 29, 2018
  • by ravish.ramrakha
  • Repository
  • 29 Watchers
  • 19 Stars
  • 53,345 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 25 Forks
  • 3 Open issues
  • 20 Versions
  • 16 % Grown

The README.md

:heavy_exclamation_mark: This library points to Checkout.com's classic API. Please refer to the latest PHP SDK instead to benefit from the updated API, (*1)

Requirements

PHP 5 > 5.3.0, (*2)

How to use the library

Add the latest version of checkout-php-library into your project by using Composer or manually:, (*3)

Using Composer (Recommended), (*4)

Either run the following command in the root directory of your project:, (*5)

composer require checkout/checkout-php-api

Or require the Checkout.com package inside the composer.json of your project:, (*6)

"require": {
    "php": ">=5.2.4",
    "checkout/checkout-php-api": "1.2.18"
},

Manually, (*7)

Download or clone the github repository, master or download a release, and manually add it to your project., (*8)

Example

After adding the library to your project, include the file autoload.php found in root of the library., (*9)

include 'checkout-php-api/autoload.php';

You will be required to set the secret key when initialising a new APIClient instance. You will also have option for other configurations defined in AppSettings.php file., (*10)

The constructor available for configuration:, (*11)

 __construct($secretKey, $env = 'sandbox' ,$debugMode = false, $connectTimeout = 60, $readTimeout =60)

 //Example:
use com\checkout;
$apiClient = new checkout\ApiClient('sk_test_XXXXXXXXXXXX');

By default both $connectTimeout and $readTimeout are to 60 seconds. You may change them as needed., (*12)

$env accepts either 'sandbox' or 'live' as value. This parameter allow you to shift between the sandbox environment or live environment. By Default the sandbox environment will be used., (*13)

Sample code for:

The Versions

29/07 2018

dev-CheckoutApi

dev-CheckoutApi

  Sources   Download

29/07 2018

dev-release/v1.0

dev-release/v1.0

  Sources   Download

23/04 2018

dev-master

9999999-dev https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

23/04 2018

1.2.15

1.2.15.0 https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

23/04 2018

dev-dev

dev-dev https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

01/03 2018

1.2.14

1.2.14.0 https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

21/12 2017

1.2.13

1.2.13.0 https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

24/10 2017

1.2.12

1.2.12.0 https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

10/10 2017

1.2.11

1.2.11.0 https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

13/09 2017

1.2.10

1.2.10.0 https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

10/07 2017

1.2.9

1.2.9.0 https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

20/06 2017

1.2.8

1.2.8.0 https://github.com/checkout/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

30/01 2017

1.2.7

1.2.7.0 https://github.com/CKOTech/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

17/10 2016

1.2.6

1.2.6.0 https://github.com/CKOTech/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

15/09 2016

1.2.5

1.2.5.0 https://github.com/CKOTech/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

26/05 2016

1.2.4

1.2.4.0 https://github.com/CKOTech/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

20/04 2016

dev-release/v1.2

dev-release/v1.2 https://github.com/CKOTech/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

20/04 2016

1.2.3

1.2.3.0 https://github.com/CKOTech/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

08/04 2016

1.2.1

1.2.1.0 https://github.com/CKOTech/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko

16/03 2016

dev-release/v1.1

dev-release/v1.1 https://github.com/CKOTech/checkout-php-library

Checkout PHP API Library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Dhiraj Gangoosirdar

payment gateway online payment checkoutcom checkout.com gw3 cko