Getting Started
Overviewโ
The GoCardless Payment Gateway module for Perfex CRM integrates GoCardless into your Perfex CRM installation, enabling you to accept direct debit payments from your clients. The module supports both sandbox (test) mode and live mode, allowing you to verify the payment flow before accepting real transactions.
Themesic is not affiliated with GoCardless and does not have access to any user data processed through the gateway.
Requirementsโ
Before installing the module, ensure you have the following:
- A working installation of Perfex CRM
- Administrator access to the Perfex CRM backend
- The downloaded module archive from Themesic
- A GoCardless account (sandbox for testing, live for production)
Installationโ
Follow these steps to install the GoCardless module:
- Extract the downloaded archive to a location on your computer.
- Inside the extracted folder, locate the file named
upload.zip. - Log in to your Perfex CRM Admin panel.
- Navigate to SETUP โ Modules.
- Click the Upload Module button and select the
upload.zipfile. - Press Install โ the module will now appear in your modules list.
Test Modeโ
Before going live, it is recommended to test the integration using the GoCardless sandbox environment.
- Sign up for a GoCardless Sandbox account at developer.gocardless.com.
- Once registered, obtain your sandbox API key from the GoCardless developer dashboard.
- In your Perfex CRM backend, navigate to the GoCardless module Settings.
- Paste the sandbox API key into the API key field.
- Ensure the Test Mode toggle is enabled.
- Press Save.
Testing a Paymentโ
To verify the integration is working:
-
Generate an invoice in Perfex CRM.
-
At checkout, select GoCardless as the payment method.
-
Use the following test bank details:
Field Value Sort Code 200000Account Number 55779911 -
Complete the payment and confirm the transaction appears in both Perfex CRM and the GoCardless sandbox dashboard.
The test bank details above are provided by GoCardless specifically for sandbox testing and will not process any real funds.
Live Modeโ
When you are satisfied with your test results, follow these steps to switch to production:
- Log in to your live GoCardless account at gocardless.com.
- Obtain your live API key from the account dashboard.
- In your Perfex CRM module Settings, replace the sandbox API key with the live API key.
- Disable the Test Mode toggle.
- Press Save.
Your Perfex CRM installation is now ready to accept real direct debit payments through GoCardless.
For GoCardless-specific support (account issues, payment disputes, etc.), contact GoCardless directly at [email protected] (available 9amโ6pm, MondayโFriday).
Currency Configurationโ
By default, the GoCardless module processes payments in GBP (British Pounds). If you need to change the currency, follow these steps:
-
Navigate to the following file in your Perfex CRM installation:
modules/gocardless_gateway/libraries/Gocardless_gateway.php -
Locate line 156, which contains the currency code setting.
-
Change the currency code to your desired value (e.g.,
EUR,SEK,AUD). -
Save the file.
Make sure to use a currency code that is supported by GoCardless. Using an unsupported currency will cause payment failures. If you encounter any issues, please contact support at https://themesic.com/support.