Extends WooCommerce with a GoCardless gateway. A GoCardless merchant account is required.
This is a feature plugin for accepting payments via GoCardless. It requires WooCommerce to be installed before GoCardless for WooCommerce can be activated.
This extension is compatible with:
Install the following plugins on your dev site:
- WooCommerce
You can create a user on gocardless.com for live transactions and on the sandbox for test transactions. When you first set up a site, you’ll be prompted to create a user for the correct GoCardless environment when setting up the webhooks.
| Payment Methods screen | Default GoCardless configuration | Properly connected GoCardless configuration |
|---|---|---|
![]() |
![]() |
![]() |
- PHP: 7.4+
- WordPress: 6.8+
- WooCommerce: 10.7+
- Node: v24
- NPM: v11
- Composer: v2
nvm install- Ensures the required Node version is installed.npm install- Installs the necessary dependencies.npm run build- Creates a .zip archive containing the extension files for release or testing on other sites.npm run lint:js- Runs ESLint on JavaScript files.npm run test:unit- Executes PHPUnit tests.
E2E tests are powered by Playwright running against a site provisioned by @wordpress/env.
- Create a sandbox GoCardless account for test transactions.
- Add sandbox GoCardless credentials to the
.envfile, which can be found in the./tests/e2e/configdirectory.
GOCARDLESS_EMAIL=********
GOCARDLESS_PASSWORD=********
- Run
npm install. - Run
npx playwright install. - Run
npm run env:install-plugins - Run
npm run env:start(Note: Please start Docker before executing this command). - Add environment variables to the
/tests/e2e/config/.envfile (as mentioned above). - Run
npm run test:e2e-local.
- Add the
needs: e2e testinglabel to the pull request; it will initiate the E2E test GitHub action to run tests against the PR.


