← Blog
Perfex CRMPaymentsDirect Debit

Perfex CRM Direct Debit: Recurring Payments That Collect

Perfex CRM direct debit collects instead of asking. Compare the GoCardless mandate route with Stripe SEPA auto-capture, and pick the right one by geography.

A retainer client’s card expires on the last day of the month. The charge is attempted on the 1st, the issuer returns “expired card”, the invoice stays open, and nobody notices until somebody runs the overdue report ten days later. Then a person you pay writes an email to a person who already agreed to pay you, asking them to pay you again.

That loop is why Perfex CRM direct debit exists as a category. A card is a credential that decays. A direct debit mandate is an instruction to a bank that keeps working until the customer withdraws it. For a business that bills the same people every month, the difference compounds.

We build and sell both of the Perfex modules discussed below, so weigh the recommendations accordingly. The scheme mechanics underneath them are the same whatever you install.

This article covers Perfex CRM Classic. Perfex CRM Next is a separate product, not an upgrade - here is where contracts, proposals and subscriptions go.

The arithmetic of card failure on a retainer book

Cards are typically issued with a three or four year expiry. Take a book of 60 retainer clients paying by card. Expiry alone kills roughly one or two of those credentials every month - 60 divided by about 42 months. Then add the ones replaced early: fraud reissues, lost wallets, a client switching bank, a corporate card moving to a new employee.

Card account updater services (Visa Account Updater, Mastercard Automatic Billing Updater) recover a share of these, but not every issuer participates and updates are not instant. What is left is involuntary churn: revenue you already earned, unpaid because a sixteen digit number changed.

The failure is also silent. The client does not know the charge failed - from their side, no reminder arrived and life continued. From yours, the CRM shows an overdue invoice with no explanation attached. Someone has to notice, diagnose and chase, usually an account manager burning 20 minutes per client.

Direct debit fails too, but it fails differently, and the distinction is the whole argument:

  • An insufficient funds return is a collection failure against a mandate that still exists. The next cycle runs normally without the customer touching anything.
  • A replaced card is a credential failure. The only fix is persuading the customer to re-enter their details: an email, a link, a wait.

Perfex CRM direct debit means a mandate, not a saved card

Both routes below share the same shape, and being precise about it changes how you write your terms of business and your first migration email.

  1. The customer authorises a mandate once, on the provider’s hosted page, using their bank account details.
  2. That mandate lives at the provider and is tied to a scheme - Bacs in the UK, SEPA across the euro area.
  3. You initiate collections against the mandate. Money is pulled from their account on a schedule.
  4. The provider tells your Perfex install what happened, and the CRM writes the invoice and the payment.

Step 4 is the one people underestimate. Pulling money is the easy half. Getting your books to agree with your bank statement without a human retyping figures is the half that recovers the week a month.

The GoCardless route: hosted mandate, real subscriptions, webhook writeback

The GoCardless payment gateway for Perfex CRM covers both one-off invoices and recurring subscriptions, which is unusual - most gateway modules do one properly and treat the other as an afterthought.

For a single invoice, the customer is sent to the GoCardless hosted page to set up their bank details, then redirected back to your site. The payment is created and the invoice is marked as paid. From the client portal it behaves like any other Perfex payment method.

For Perfex CRM recurring subscription payments, the flow is more interesting. You create the subscription in Perfex against a Stripe plan, which is where Perfex holds the amount and the billing interval. The client then sees a Subscribe with GoCardless option on the subscription page rather than only a card path. Once they authorise their bank details, a GoCardless subscription is created and collections run automatically on that interval.

Here is the part worth paying for: each successful payment creates the corresponding invoice and payment record in Perfex through the module’s built-in webhook. The ledger stays current without manual entry, so month-end reconciliation becomes a glance rather than a data entry session.

Supported billing intervals are weekly, monthly and yearly. That is a genuine constraint and you should check it against how you actually sell. If your standard retainer is quarterly, or billed every six weeks, this subscription flow will not model it and you are back to raising invoices and collecting them one at a time.

Setup requires no coding. It configures like every other Perfex payment module, documentation is provided, and the recurring side needs a webhook URL and a webhook secret set in both the module settings and your GoCardless dashboard. The module targets modern hosting with PHP 8.2+ compatibility (PHP 8.1 or newer recommended) and ships current GoCardless Pro, Guzzle and PSR-7 dependencies.

The Stripe SEPA direct debit route: authorize once, capture automatically

The Stripe SEPA Direct Debit gateway for Perfex has a different shape. It accepts automatic payments straight from customers’ SEPA-enabled bank accounts, and once a payment is authorized the module captures it on its own. The flow from authorization through to capture runs in the background, with no manual processing step left for anyone to forget.

Configuration takes under a minute: enter your Stripe API settings inside Perfex CRM and the SEPA option becomes available. It is built on Stripe’s Payment Intents API and kept current with the latest Stripe API version. That matters more than it sounds - SEPA handling has changed shape several times as Stripe evolved its payment method model, and a gateway pinned to an old API version fails quietly rather than loudly. A French translation is included, plus documentation covering upload and activation.

The honest framing: this module’s job is invoice-level authorize-and-capture done properly, not driving the Perfex subscription object. If what you need is a mandate bound to a Perfex subscription that raises its own invoice each cycle, the GoCardless module is the one that documents that path.

UK versus euro area: the scheme decides more than the module does

Geography is the first filter, not the second, because the two schemes behave differently enough to change your operations.

Bacs (UK)SEPA Core (euro area)
CurrencyGBPEUR
Collection cycleRoughly three working daysPresented one business day ahead
Payer refund rightIndefinite, under the Direct Debit Guarantee8 weeks unconditional, 13 months if unauthorised
Advance noticeRequired before the first collectionPre-notification required, commonly 14 days unless agreed shorter

If your clients hold GBP accounts, you want a provider whose core competence is Bacs. If they sit on IBANs across the euro area and you already run Stripe for cards, SEPA through Stripe is the smaller operational step: one dashboard, one payout schedule, one reconciliation, one place to look when something is disputed.

Mixed book? Run both, but set the expected method per client rather than showing every option to everyone.

What direct debit actually costs you

An article that only lists advantages is not much use. Four things you give up:

  • Settlement is slower. Cards clear in days; direct debit clears in days plus the scheme cycle. If your own cash timing is tight, the switch can push one collection past your payment run during the transition.
  • The refund window is long and one-sided. Under the UK Direct Debit Guarantee the payer can request a refund indefinitely; under SEPA Core it is 8 weeks with no reason required. Design dispute handling around those windows, not card chargeback timelines.
  • Onboarding has friction. The customer must find their bank details and consciously authorise a mandate. That is a bigger ask than typing a card number, which is why direct debit rewards relationships expected to run a year, not a single project.
  • Failures still happen. Insufficient funds, closed accounts, cancelled mandates. Direct debit turns failure into a manageable exception; it does not remove it.

Getting the webhook right before you move clients across

For the GoCardless subscription flow, the webhook is the mechanism that keeps your books honest. Treat it as production infrastructure rather than a settings field.

  • The endpoint must be publicly reachable with no HTTP auth, no IP allowlist, and no bot-protection rule that challenges non-browser requests. On a self-hosted Perfex install behind Cloudflare, a managed rule is the usual culprit.
  • Set the webhook secret in the module settings and in the GoCardless dashboard, and make them match exactly. The module ships a dedicated webhook secret setting precisely so signatures can be verified. A mismatch means legitimate events are rejected and no invoice appears.
  • Respond fast. Providers retry on non-2xx responses and timeouts, so a slow endpoint invites duplicate deliveries. Keep heavy work out of the request cycle.
  • Log raw payloads somewhere readable for the first month. When money lands in the bank but not in Perfex, that log is the difference between five minutes and a lost afternoon.
  • Confirm the SSL certificate chain is complete. A certificate a browser accepts can still fail stricter server-side verification from the provider’s end.

Where to start

Pick the route with one question: do your clients hold GBP or EUR accounts, and are you already on Stripe for cards? Euro accounts plus an existing Stripe setup means SEPA. Anything else, or any need for mandate-driven Perfex subscriptions with automatic invoice creation, means GoCardless.

Then roll it out on the smallest safe surface:

  1. Install on a staging copy of Perfex and confirm the gateway appears in the client area.
  2. Take one real collection at the smallest amount your provider allows, from your own bank account.
  3. Verify the invoice and the payment record appear in Perfex with nobody touching them.
  4. Move your three longest-standing retainer clients over first. They will forgive a wobble, and their mandates are the ones worth most.
  5. Give it two full billing cycles before migrating the rest, and leave the card gateway enabled throughout.

The measure of success is not that payments arrive. It is that in month three, nobody writes a payment reminder email at all.