Chargebee is listed under Settings → Integrations → Chargebee in Wexlyn. Successful payments, refunds.
What Wexlyn reads
- Successful payments as sales, with the customer and the invoice line
- Refunds
Before you start, in Chargebee
- Decide on a username and password for the webhook; you will enter them in both Chargebee and Wexlyn.
- Optional: create a read-only API key under Settings → Configure Chargebee → API keys so Wexlyn can check the connection.
Connect in Wexlyn
- Open Settings → Integrations → Chargebee.
- Enter Site name; Webhook username; Webhook password; API key (optional). Press Connect. Wexlyn checks the credentials before saving them, encrypted.
In Chargebee, after connecting
- In Chargebee open Settings → Configure Chargebee → Webhooks → Add webhook: the URL from the connection card, Basic authentication with the same username and password, and at least the events
payment_succeededandpayment_refunded. - Wexlyn accepts a delivery only when its basic-auth header matches.
Events Wexlyn listens for: payment_succeeded, payment_refunded.
What becomes what
payment_succeededbecomes a sale for the transaction amount (Chargebee sends cents; Wexlyn converts).payment_refundedmarks the sale refunded.- The customer becomes a person tagged
!chargebee.
Check it works
Chargebee's webhook page has Test webhook; a real test payment on a test site also works.
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 Chargebee differ from the connection card, or the events are not enabled on that side. For connections Wexlyn registers itself, the card says if Chargebee 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).