Setting up card payments with Stripe
Connect your own Stripe account and your customers can pay an invoice by card from their portal, or from a payment link in the invoice email. The money goes straight to your Stripe account, not through ours. Online payments are on every plan.
Before you start. You need a Stripe account of your own, and you need to be an owner, because only owners can open Settings.
Set it up
- In your Stripe dashboard, go to Developers, then Webhooks, and add an endpoint.
- For the address, use the one shown in Gleam under Settings, in the Online payments section. It is specific to Gleam, so copy it from there.
- Choose the events
checkout.session.completedandcheckout.session.async_payment_succeeded. If you want refunds you make in Stripe to be recorded in Gleam too, also chooserefund.createdandrefund.updated. - Copy the signing secret Stripe gives you (it starts with
whsec_) and your secret key (it starts withsk_). - Paste both into the Online payments section of Settings and choose Save payment settings. The keys are stored encrypted, and afterwards only the end of the secret key is shown.
Tips. Tick Offer an optional tip on the card payment page if you want one. A tip is added to the card payment but kept apart from the invoice, shared between the people on the visits, and shown under Tips in Reports.
What your customers see. A customer who signs in to their portal sees a pay button on any invoice that is sent and not yet paid. On the invoice page, the Payment link box gives you a web address that pays the balance by card without signing in. It is valid for 30 days and is added to the invoice email. A customer with no saved card is also offered an optional Save a card link, so their next invoices can be paid without them doing anything. The invoice is marked paid when Stripe confirms the payment.
If a payment does not show. Check that the webhook address in Stripe is exactly the one Gleam shows, that both events are ticked, and that the signing secret you saved belongs to that endpoint. The payment itself is always in your Stripe dashboard.
Switching it off. Choose Switch off online payments in the same section. Customers cannot pay by card until you connect again. See can clients pay online and how Direct Debit works.