GoCardless Payment Gateway Integration

GoCardless is a UK-based payment gateway that simplifies bank-to-bank payments, focusing on Direct Debit and Instant Bank Pay solutions. It supports payments in over 30 countries, integrating with schemes like BACS (UK), SEPA (Europe), ACH (US), and others, with fees as low as 1% + £0.20 per transaction. GoCardless offers features like automated recurring payments, intelligent retries (Success+), and open banking capabilities, making it ideal for businesses handling subscriptions, invoices, or one-off payments with minimal admin overhead.

This guide walks you through integrating GoCardless into your application, from account creation to live deployment.


Step 1: Log in or Sign Up

  1. Visit GoCardless: Go to GoCardless and click Sign Up to create a new account or Log In if you already have one.
  2. Account Creation: Provide your email, password, and business details (e.g., company name, country). Select a plan (Standard or Pro) based on your needs—Pro is required for API access.
  3. Email Verification: Check your inbox for a verification email from GoCardless and click the link to activate your account.
  4. Dashboard Access: Log in to the GoCardless Dashboard at manage.gocardless.com to manage payments, API credentials, and settings. A Sandbox account is available for testing.

Step 2: Set Up Your Account

Before processing payments, configure your GoCardless account:

  1. Complete Your Profile:
  1. Business Verification (Required for Live Mode):
  1. Add a Settlement Bank:
  1. Sandbox Mode: Use the Sandbox at developer.gocardless.com with test credentials to simulate payments without verification.

Step 3: Obtain API Credentials

GoCardless provides credentials for integration:

How to Get Your Credentials:
  1. Log in to the GoCardless Dashboard.
  2. Go to Developers > API Access.
  3. Generate an Access Token:
  1. Key Security: Keep the Access Token confidential—use it only in server-side code. Store it securely.
  2. Add this to your application’s Admin Panel under System Settings > Payment Gateways > GoCardless.

Step 4: Configure Payment Methods

GoCardless supports bank payment methods, activated based on your region:

  1. Go to Settings > Payment Schemes in the Dashboard.
  2. Available methods include:
  1. Contact support@gocardless.com to enable additional schemes or currencies (e.g., USD, AUD).
  2. These methods will appear in your checkout flow once integrated.

Step 5: Set Up Webhooks

Webhooks notify your server of payment events (e.g., payment success):

  1. In the Dashboard, go to Developers > Webhooks.
  2. Click Create Webhook Endpoint.
  3. Webhook URL:
  1. Events: Subscribe to events like:
  1. Save the webhook. GoCardless signs notifications with a secret (generated during setup) for verification.
  2. Testing: Use the Sandbox to send test webhooks and confirm receipt.

Step 6: Set Up Credentials in Our Dashboard

Integrate GoCardless into your application:

  1. Log in to your application’s Admin Panel.
  2. Navigate to System Settings > Payment Gateways > GoCardless.
GoCardless API Keys
  1. Fill out the configuration form:
GoCardless API Keys
  1. Detailed Fields:
  1. Click Submit to save. Your GoCardless gateway is now configured.

Step 7: Test the Integration

Test your setup in Sandbox Mode:

  1. Enable Sandbox Mode:
  1. Simulate Payments:
  1. Verify Webhooks:
  1. Debugging: If issues arise, check the Sandbox Dashboard’s Payments tab for error details (e.g., “Invalid Bank Details”).

Step 8: Enable Live Mode

After successful testing:

  1. GoCardless Dashboard:
  1. Admin Panel:
  1. Webhook Confirmation: Verify the webhook URL is set in the live Dashboard.

Step 9: Go Live

Launch your GoCardless integration:

  1. Start Accepting Payments:
  1. Live Verification:
  1. Troubleshooting:

Additional Tips

Note:

If you need further help, our support team is available 24/7. Reach out at softivus@gmail.com or through the Admin Panel. Let’s streamline your payments with GoCardless!