Stripe
Match payments to posts, and keep refunds in step.
Not tested with a live account yetAbout 10 minutesYou need: a Stripe account and access to its Developers page
What we read
Payments, refunds and disputes. We write nothing. We never ask for a full secret key.
Connect
- Open Integrations, then Stripe.
- Copy our webhook address.
- In Stripe, open Developers, then Webhooks. Add our address and choose the events listed on our page.
- Copy Stripe's signing secret, which starts with
whsec_, and paste it into our page. - To bring in old payments, also add a restricted read key. It starts with
rk_. We refuse full secret keys. - Make a test payment in Stripe's test mode.
Pass the visitor id
This is the best proof. For a Stripe Payment Link, add the id as client_reference_id:
Payment Link
https://buy.stripe.com/YOUR_LINK?client_reference_id=v_...For Checkout made by your server, send the visitor id from the page and add it:
Your server
const session = await stripe.checkout.sessions.create({
mode: "payment",
line_items: [{ price: "price_123", quantity: 1 }],
success_url: "https://coach.example/thanks",
client_reference_id: visitorId,
metadata: { tm_visitor: visitorId },
});If you already use client_reference_id for something else, keep it and use metadata only.
One payment, many events
Stripe can send several events for one payment. We use the payment intent as the main id, so it counts once.
If it doesn't match
Names and marks belong to their owners. Showing one does not mean they endorse us.
Was this useful?
Your answer stays in this browser.
Last checked: 2026-12-03Plain MarkdownSomething wrong? Tell us