Wexlyn
Back to the docs

Payments and checkout

Connecting GoCardless

Confirmed direct-debit payments, chargebacks, refunds. Where the credentials live, the connect steps, what becomes what in Wexlyn and how to check it.

GoCardless is listed under Settings → Integrations → GoCardless in Wexlyn. Confirmed direct-debit payments, chargebacks, refunds.

What Wexlyn reads

  • Confirmed direct-debit payments as sales, with the mandate's customer
  • Chargebacks and refunds

Before you start, in GoCardless

  1. In GoCardless open Developers → Create → Access token, name Wexlyn, scope Read only, and copy the token (live_…).
  2. Then Developers → Create → Webhook endpoint: you will paste Wexlyn's URL there in a moment, so keep the page open.

Connect in Wexlyn

  1. Open Settings → Integrations → GoCardless.
  2. Enter Access token; Webhook endpoint secret. Press Connect. Wexlyn checks the credentials before saving them, encrypted.

In GoCardless, after connecting

  • Create the webhook endpoint in GoCardless with the URL from the connection card. GoCardless shows the endpoint's secret once; paste it into Wexlyn.
  • Every delivery carries a Webhook-Signature header that Wexlyn checks with that secret. Deliveries that do not match are refused.

Events Wexlyn listens for: payments.confirmed, payments.charged_back, refunds.created.

What becomes what

  • A payment that becomes confirmed is a sale for its amount, dated the charge date; paid out later does not duplicate it.
  • A charged back payment marks the sale refunded in full; a refund marks it refunded for the refund amount.
  • The customer behind the mandate becomes a person tagged !gocardless.

Check it works

Press Send test webhook on the endpoint in GoCardless, or wait for the next confirmed payment. Sync now imports confirmed payments of the last 60 days.

If something is off

The integration page keeps the last deliveries it received with the event, whether it was processed or ignored, and the reason in plain words (no email or phone on the record, not a sale event, a signature that did not match). Failed deliveries can be replayed after the cause is fixed.

  • Nothing arrives: the URL or credentials in GoCardless differ from the connection card, or the events are not enabled on that side. For connections Wexlyn registers itself, the card says if GoCardless refused.
  • People without a source: the person never visited a page with the Universal Script. Their later visits and purchases are attributed once a tracked visit matches their email or phone.
  • Stages do not move: a tag, status or pipeline stage only moves a person when a rule under Settings → Lead stages names it (or, for GoHighLevel and HubSpot, a rule on the connection's own page).