We recommend that the official package from Gocardless is used: https://packagist.org/packages/gocardless/gocardless-pro
Client library for the GoCardless Enterprise API
You will need to create a config.php with the configuration settings (a dist file is provided for reference):
<?php
return [
'baseUrl' => 'https://api-sandbox.gocardless.com/',
'gocardlessVersion' => '2015-07-06',
'webhook_secret' => XXXXXXXXXXXXXXXXXXXXXX,
'creditorId' => XXXXXXXXXXXXXX,
'token' => XXXXXXXXXXXXXXXXXXXXXXXXXXX,
];
After adding the configuration, run the unit tests:
$ php vendor/bin/phpunit