lendable / gocardless-enterprise-bundle
Integration of GoCardless enterprise library into Symfony
Installs: 20 103
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 28
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.0
- gocardless/enterprise: ^6.0
- stof/doctrine-extensions-bundle: *
- symfony/symfony: ^3.4.26|^4.0|^5.0
Requires (Dev)
- friendsofphp/php-cs-fixer: *
- jakub-onderka/php-parallel-lint: ^1.0
- matthiasnoback/symfony-dependency-injection-test: ~3.1
- php-coveralls/php-coveralls: ^2.1
- phpstan/phpstan: ^0.11
- phpstan/phpstan-phpunit: ^0.11
- phpunit/phpunit: ~7.5
- symfony/phpunit-bridge: ^3.0|^4.0|^5.0
README
There is no direct replacement for this project. We recommend that the official package from Gocardless is used: https://packagist.org/packages/gocardless/gocardless-pro
GoCardless Enterprise Bundle
Integration of the GoCardless Enterprise API into Symfony.
- Create a new parameter called
gocardless_enterprise
in your configuration:
parameters:
gocardless_enterprise:
baseUrl: 'https://api.gocardless.com/'
gocardlessVersion: '2015-07-06'
webhook_secret: XXXXXXXXXXXXXXXXXXXXXX
creditorId: XXXXXXXXXXXXXX
token: XXXXXXXXXXXXXXXXXXXXXXXXXXX
- Add GoCardlessEnterpriseBundle to your AppKernel.php
new Lendable\GoCardlessEnterpriseBundle\GoCardlessEnterpriseBundle(),
You will then have a service available to you called gocardless_enterprise.client
with methods for interacting with GoCardless Enterprise API endpoints.
This service includes a method for validating the signature of any webhook received from GoCardless (assuming you configured the webhook_secret
properly).
The following Models will be mapped to your database automatically:
- Customer
- CustomerBankAccount
- Mandate
- Payment
Documentation and help can be found here:
https://developer.gocardless.com/pro/2015-07-06 (for versioned docs)
https://help.gocardless.com (for GoCardless support contact details)