Require it with Composer composer require confide/php-sdk dev-master.
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.
Basically, all parameters are passed to Coinfide\Client constructor. Supported parameters are:
sslOptions: array of curl options to pass to the client;trace: passing'trace' => truedumps all requests (made and received) to console.
Copy .env.example to .env and run the tests or examples. The following examples are included:
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).
Read full documentation in the wiki