Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 803 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 803 Bytes

ABANDONED

We recommend that the official package from Gocardless is used: https://packagist.org/packages/gocardless/gocardless-pro


Unofficial integration with GoCardless Enterprise API

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