1. Go to this page and download the library: Download jeeb/jeeb-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jeeb / jeeb-php example snippets
use Jeeb\Jeeb;
\Jeeb\Jeeb::config(array(
'environment' => 'sandbox', // sandbox OR live
'auth_token' => 'YOUR_AUTH_TOKEN',
'curlopt_ssl_verifypeer' => TRUE // default is false
));
// $order = \Jeeb\Merchant\Order::find(7294);
use Jeeb\Jeeb;
# \Jeeb\Merchant\Order::find($orderId, $options = array(), $authentication = array())
$order = \Jeeb\Merchant\Order::find(1087999, array(), array(
'environment' => 'sandbox', // sandbox OR live
'auth_token' => 'YOUR_AUTH_TOKEN'));