2017 © Pedro Peláez
 

library php-sdk

Coinfide.com PHP SDK

image

coinfide/php-sdk

Coinfide.com PHP SDK

  • Friday, May 12, 2017
  • by andrewtch
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 1 Versions
  • 5 % Grown

The README.md

Coinfide integration generic PHP SDK

Installation

Require it with Composer composer require confide/php-sdk dev-master., (*1)

Requirements

The server should support TLS 1.2. It means OpenSSL version > 1.0.1 and Curl > 7.43, check the library versions your PHP is compiled against., (*2)

Running

Basically, all parameters are passed to Coinfide\Client constructor. Supported parameters are:, (*3)

  • sslOptions: array of curl options to pass to the client;
  • trace: passing 'trace' => true dumps all requests (made and received) to console.

Examples

Copy .env.example to .env and run the tests or examples. The following examples are included:, (*4)

  • example.php - example order creation, and redirection to payment form;
  • callback.php - example callback processing;
  • orderlist.php - getting list of orders, fetching order details;
  • refund.php - payment refund;
  • status.php - changing order status (cancelling order).

Further reading

Read full documentation in the wiki, (*5)

The Versions

12/05 2017

dev-master

9999999-dev

Coinfide.com PHP SDK

  Sources   Download

MIT

The Requires

  • ext-curl *

 

The Development Requires