1. Go to this page and download the library: Download ventepos/bluesnap-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/ */
ventepos / bluesnap-php example snippets
public function __construct()
{
$environment = 'sandbox'; // or 'production'
\tdanielcox\Bluesnap\Bluesnap::init($environment, 'YOUR_API_KEY', 'YOUR_API_PASSWORD');
}