Set up GoCardless ​

GoCardless collects payments by direct debit from the bank account of your customer, for example through SEPA in the euro area. You can create several GoCardless Settings, one for each GoCardless account.

INFO

This gateway is provided by the payments app. Payment gateway settings moved out of ERPNext and the Frappe Framework into this app. Install it to see the settings page.

Prerequisites ​

  • A GoCardless account, and an access token from the GoCardless dashboard.
  • Optional but recommended: a webhook secret from GoCardless.

Enable GoCardless ​

  1. Open the GoCardless Settings list and create a new GoCardless Settings.
  2. Enter the Access Token.
  3. Enter the Webhooks Secret.
  4. Save.

What ERPNext creates ​

When you enable the gateway, ERPNext creates a Payment Gateway, a bank-type Account in your chart of accounts, and a Payment Gateway Account. Open the Payment Gateway Account to change the receiving account or the default Payment Request message. Learn more in About payment gateways.

How a direct debit payment works ​

  1. The first time a customer pays, GoCardless asks for the IBAN (or local account number), and the customer accepts a direct debit mandate. ERPNext stores it as a GoCardless Mandate.
  2. GoCardless collects the payment.
  3. For the next payments, the mandate already exists. ERPNext sends the payment straight to GoCardless. The customer gets only a confirmation email from GoCardless.

Disable cancelled mandates automatically ​

Create a webhook in GoCardless that points to your site. GoCardless then tells ERPNext when a mandate is cancelled or expires, and ERPNext disables the mandate. Enter the same webhook secret in GoCardless Settings.

Supported currencies ​

EUR, GBP, SEK, DKK.