A Stripe payment link, a Whop checkout or any other hosted checkout runs on the processor's own page, where the Universal Script cannot run. After the payment the buyer has to land on a page that does carry it, with their details, so the purchase joins the clicks that led to it. Wexlyn hosts that page for you.
What the page does
- Stripe redirects the buyer to the page with the Checkout Session id (Stripe will put nothing else in the URL).
- Wexlyn looks the session up through your Stripe connection and gets the buyer's email, phone, name, the amount, the products and the payment id.
- The sale is recorded, keyed by Stripe's payment id, so the Stripe webhook for the same charge updates the same order instead of adding a second one.
- The buyer lands on a page with the Universal Script, which identifies them. The visitor cookie that clicked the ad now carries the buyer's email, and the sale is credited to that ad.
The page is served on your tracking domain when you have one (t.yourdomain.com/thanks/<slug>), so it shares your website's first-party cookie and needs no extra DNS record. Without a tracking domain it answers on app.wexlyn.ai.
Set it up
- Connect Stripe under Settings → Integrations → Stripe.
- Open Tracking → Thank-you Pages and press New page (1). One page serves every payment link and every price: the amount and product come from the Stripe session.
- Fill in the page. The slug (1) is the last part of its address. The title and message are what the buyer reads. Leave the rest empty unless you need it: Default amount (2) is only used when the address carries neither an amount nor a session, Redirect URL (3) sends the buyer on to your own site, and the switch at the bottom (4) is explained under "Use your own thank-you page instead".
This is what the buyer lands on after paying:
- Point your Stripe links at it. The quick way: open Settings → Integrations → Stripe → Payment links, switch on the links (1), choose the page (2) and press Point selected links at this page (3). Wexlyn sets the after-payment redirect on Stripe for you.
Or set it by hand in Stripe. Press Copy Stripe URL on the page's row (2 in the first picture). In Stripe, open the payment link, press Edit, go to After payment (1), choose Don't show confirmation page (2) and paste the address (3). Then press Update link.
The URL Stripe needs ends in ?session_id={CHECKOUT_SESSION_ID}; Stripe fills in the real id when it redirects.
Use your own thank-you page instead
Turn on Pass straight through to your own page and set the Redirect URL. The buyer never sees the hosted page: Wexlyn records the sale and forwards them at once to your page with email, phone, name, amount, currency, order_id and product appended. The Universal Script on your page reads the email and phone from the URL and identifies the buyer.
Other checkouts
Any tool that can redirect after payment with merge fields can use the same page: send the buyer to …/<slug>?email={{email}}&amount={{amount}}&order_id={{order_id}}&product={{product}}. Default amount and Product name on the page are only used when the URL carries neither an amount nor a session.
Sales calls: a link addressed to one lead
When a salesperson sends a payment link during a call, the buyer may pay with a different email, or from another device, and the cookie cannot join the two. Open the lead in the CRM and press the card icon next to their name (1):
Wexlyn lists your Stripe payment links with this lead stamped on them. Press Copy link and send that version.
Stripe keeps the stamp on the Checkout Session, and the purchase is credited to this lead and their ad whatever email or device they use. The checkout email field is also pre-filled with the email Wexlyn knows.
Limits
- The buyer must reach the page: a closed tab after paying still records the sale through the Stripe webhook, but without the browser identify. Use the lead-stamped link for sales calls.
- Stripe only collects a phone number when the payment link asks for one; turn that on for links used on calls.
- Previews and refreshes of a paid page do not create duplicate sales; orders are keyed by the payment.