Guide · Checkout Extensibility
Why your referral program belongs on the Shopify Thank-you page.
Native Checkout UI Extension · Available on Basic, Grow, Advanced, and Plus
Every buyer who completes an order on your store sees the Thank-you page — 100% open rate, zero ad-blockers, and peak excitement right after payment. Placing a single-tap friend pass inside the checkout summary turns that moment into a predictable word-of-mouth loop.
1. Post-purchase beats floating launchers and post-order emails
Most referral apps rely on two placements: a floating bottom-corner launcher on every storefront page, or an email sent hours after the order. Both suffer from structural drop-off:
- Floating widgets clutter mobile storefronts: On mobile screens, corner widgets cover product photos and Add-to-Cart buttons while asking unconvinced visitors to refer a brand they haven't bought from yet.
- Post-purchase referral emails get buried: Customers already receive an order confirmation, a shipping confirmation, and a review request. A fourth marketing email asking them to sign up for a referral portal rarely gets clicked.
- The Thank-you page has 100% visibility: Every paying customer lands on the Thank-you page immediately after checkout, and returns to the Order status page to track their delivery.
2. Built on Shopify's Checkout UI Extensions (no Plus required)
With Shopify retiring legacy checkout.liquid and Additional Scripts, modern post-purchase blocks run inside sandboxed Checkout UI Extensions. While in-checkout upsells require Shopify Plus, Thank-you (purchase.thank-you.block.render) and Order status (customer-account.order-status.block.render) extensions work on every Shopify plan — including Basic, Grow (formerly Shopify), and Advanced.
Because VIP Pass (VIP Pass Referral) uses native Shopify Checkout components, the referral block automatically inherits your checkout typography, border radius, and color scheme with zero theme code edits and zero impact on page speed — while supporting percentage (%) or fixed-amount ($) rewards, custom code prefixes, custom copy, and a Terms & Conditions link. Stores that also want a dedicated referral page can optionally add the VIP Pass Referral Page theme block to /pages/referral.
3. Server-verified pass codes that handle webhook timing cleanly
A common problem with Thank-you page referral blocks is webhook lag: the customer lands on the Thank-you page immediately after checkout, while Shopify's orders/create webhook can take a second or two to finish creating the Shopify discount node.
VIP Pass never displays unminted or fake discount codes. Instead, the backend creates the real single-use Shopify discount on orders/create, and the Thank-you block verifies the buyer's pass with a brief bounded server-side wait if the webhook is still in flight — so every code shown on the Thank-you and Order status pages is live and ready to redeem.
4. What the buyer can do right from the block
- Share on WhatsApp: Opens WhatsApp with a pre-written personal note and a rich preview card showing the friend's percentage or fixed-dollar discount.
- Copy message / link: Copies the ready-to-paste share link for iMessage, Instagram DM, Telegram, or SMS.
- Scan QR code on desktop: Renders a scannable QR code on desktop screens so buyers can scan with their phone to share in chat immediately.
- Automated rewards & Klaviyo sync: Trigger referrer rewards on paid or fulfilled orders with an optional 7–30 day return-window hold, and sync
VIP Pass IssuedandVIP Pass Reward Issuedevents directly to Klaviyo.