lendable/gocardless-enterprise-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

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

v9.3.0 2021-02-02 08:34 UTC

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

Scrutinizer Code Quality Build Status Coverage Status Latest Stable Version Total Downloads

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)