Planning a GoCardless recurring-payment integration
Track mandate and payment events before linking recurring charges to a business application.
Define the billing journey
Agree which customer and approved agreement a recurring charge relates to, who can authorise it and how the finance team reviews the result. A request to collect a payment is a different event from confirmation of its outcome.
Track mandate and payment states
GoCardless documents separate mandate and payment events, including mandate cancellation. Decide how each relevant state appears in the business application and who investigates a failed collection or cancelled mandate under the organisation’s agreed process.
Handle events and reconciliation
Verify webhook notifications using the provider’s current guidance and record a safe reference for each event. Define how duplicate, delayed or missing updates are reconciled with the provider before another collection is attempted.
Test without collecting money
Use fictional customers and mocked responses or an appropriately isolated provider sandbox to test a pending payment, a failure and a cancelled mandate. Agree actual customer communications and financial treatment with the business owner; do not create live collections or send messages during tests.