Setting up post purchase thank you page protection lets you recover delivery coverage from shoppers who bypassed your cart widget or jumped straight to accelerated checkout. Because the offer appears on Shopify’s order confirmation screen after the initial payment is captured, it introduces zero friction to your checkout funnel while giving buyers a calm moment to consider transit risk.
In a self-funded shipping protection program run with Sam Shipping Protection, you keep 100% of every post-purchase fee collected. While our introductory thank-you page shipping protection overview covers the basics of post-purchase placement, this playbook walks through the exact order-edit mechanics, button and style optimizations for a second chance shipping protection upsell, handling unpaid order balances, and measuring your thank you page attach rate from your exported order data.
Why do shoppers skip protection in the cart—and how does a second chance shipping protection upsell catch them?
Even when your cart widget is clearly positioned above the checkout button, a share of buyers will reach the order confirmation page without protection. On Shopify stores, missed cart opt-ins usually happen for three reasons:
- Dynamic Buy Now and accelerated wallet buttons: Shoppers clicking Shop Pay, Apple Pay, Google Pay, or “Buy it now” directly on a product page skip the cart page and cart drawer shipping protection widget completely. Unless you are on Shopify Plus running an in-checkout extension, those buyers never see your cart toggle.
- Pre-payment price sensitivity: During cart review, shoppers are focused on the merchandise subtotal, discount codes, and shipping rates. An extra fee before checkout can feel like another hurdle, whereas right after payment their mindset shifts to delivery and package safety.
- Accidental toggle-offs: If you use an opt-in toggle—or if a buyer unchecks an auto-added protection toggle to see their bare subtotal—they often complete payment before reconsidering.
A second chance shipping protection upsell on the thank-you page catches all three groups. In Sam Shipping Protection, the extension checks the completed order lines first: if the order already includes a protection item (sam_protect_shipping), the block stays hidden. If the order is unprotected, the offer renders once on the confirmation screen.
How does the post-purchase order-edit and payment flow work under the hood?
Understanding what happens when a customer accepts the thank-you page offer helps you write clearer button copy and train your support team. Unlike pre-purchase cart toggles that simply add a variant before checkout, a thank-you page extension modifies an existing Shopify order.
Here is the step-by-step lifecycle of a thank-you page protection offer in Sam Shipping Protection:
| Step | What the customer sees on the thank-you page | What Sam Shipping Protection does in Shopify |
|---|---|---|
| 1. Offer loads | A card displaying your protection icon, title, localized fee ({price} — {description}), optional note or policy link, and two buttons: Dismiss and Add to order. | Verifies the order has no protection item, confirms your monthly plan limit is not reached, and prices the offer in the order’s presentment currency using your pricing settings. |
| 2. Customer clicks Add to order | The primary button enters a loading state while the order is updated. | Uses your store’s order-editing permission to run an order edit (orderEditBegin, orderEditAddVariant, orderEditCommit) with the staff note "Shipping protection added by the buyer from the Thank you page", tags the order if configured, and records the order with source thank_you. |
| 3. Confirmation & payment link | A green banner appears (✓ Successfully added to order, please complete the payment), and the primary button changes from Add to order to Pay now. | Retrieves Shopify’s additionalPaymentCollectionUrl for the newly added balance and attaches it to the Pay now button. |
| 4. Customer clicks Pay now | The buyer is taken to Shopify’s secure payment page to pay the protection fee difference. | Once paid, Shopify updates the order’s financial status from Partially paid to Paid. |
How do you configure and style your thank-you page widget in Sam Shipping Protection?
To launch or refine your post-purchase offer, you configure the card in Sam and place the app block in Shopify’s checkout editor. (For the full initial store setup, see how to add shipping protection to Shopify checkout.)
Step 1: Enable the widget and grant the order-editing permission
- In your Shopify admin, open Sam Shipping Protection and click Protection.
- Scroll to Where it shows and expand the Thank You Page card.
- Switch Enable widget on (it is off by default).
- If you see the warning banner Permission required to edit orders (and the Needs permission badge on the card), click Grant permission and approve the access in Shopify. Because adding protection after checkout edits the buyer’s order, customers will not see the offer on the thank-you page until this permission is granted.
Step 2: Customize the four button and confirmation labels
Because post-purchase protection is a two-click flow (Add to order followed by Pay now), clear button labels prevent shoppers from stopping halfway. Inside the Thank You Page card under Buttons, you can customize four fields (leaving any field blank uses its default):
- Accept button (default:
Add to order): Try action-oriented phrasing likeAdd protection to order. - Dismiss button (default:
Dismiss): Can be softened toNo thanksorSkip coverage. - Payment button (default:
Pay now): Make the final step unmistakable, such asPay protection feeorComplete payment. - Confirmation message (default:
Successfully added to order, please complete the payment): Remind the buyer that coverage takes effect once they click the payment button.
Step 3: Match the card’s appearance and typography to your checkout
Still inside the Thank You Page card, use the live preview (switched to Thank you) to style the extension using native Shopify checkout tokens:
- Appearance: Set Icon size (
0to100 px), Border (None,Base,Large), Border style (Solid,Dashed,Dotted), Border radius (Small,Base,Large), Padding (None,Small,Base,Large), and Background (Transparent,Subdued,Base). - Typography: Set color (
SubduedorBase), tone (Neutral,Success,Warning,Critical), and type (Generic,Offset,Redundant,Strong, plusItalicorSmallfor notes) independently for the Title, Description, and Note.
The title, description, icon, and translations come directly from your Content card (widget text and translations). Note that while a Learn more popup opens a modal in the cart, on the thank-you page it displays as text or an external policy link.
Step 4: Place the Sam Checkout UI block in the Shopify checkout editor
- In Shopify admin, go to Settings > Checkout and click Edit on your active checkout configuration.
- At the top of the editor, switch the page selector dropdown to Thank you.
- Click Add app block, select Sam Checkout UI, and drag it near the top of the order confirmation column so customers see it before closing the tab.
- Click Save in the top right corner.
How do you optimize your thank you page attach rate without creating unpaid order balances?
When you evaluate post-purchase performance, looking only at clicks on Add to order gives an incomplete picture. You want buyers to both add protection and finish the Pay now step. Use these four operational practices to keep your thank you page attach rate clean and profitable.
1. Price the offer fairly across small and large orders
Your thank-you page widget uses the same pricing engine as your cart widget:
- Fixed fee or cart-value tiers: If you charge a flat fee (on any plan) or use Set price by cart value (on Standard and Plus; see percentage fees vs cart-value bands), Sam matches the order’s line-item total to the right tier variant.
- Percentage pricing: If you charge a percentage of the order subtotal (with optional Minimum price and Maximum price caps on Plus), Sam calculates the exact percentage fee for that order, creates a temporary variant at that price to commit the order edit, and deletes the temporary variant immediately afterward.
- Multi-currency conversion: For international orders via Shopify Markets, Sam checks contextual pricing for the buyer’s country or converts the fee into the order’s presentment currency (
presentmentCurrencyCode) so the buyer sees their local currency on the card.
2. Handle “Partially paid” orders when a buyer skips “Pay now”
What happens if a shopper clicks Add to order on the thank-you page, sees the confirmation banner, and closes their browser tab before clicking Pay now?
- The order shows an outstanding balance: Because Shopify commits the order edit when Add to order is clicked, the
sam_protect_shippingitem remains on the order and Shopify marks the order Partially paid with a balance due equal to the protection fee. - Sam does not auto-charge or nag the buyer: Sam never charges a card without the customer completing Shopify’s payment page, and it does not send automated payment reminders.
- Set a clear warehouse rule: Decide how your fulfillment team handles partially paid protection orders:
- Option A (Remove unpaid protection before shipping): Filter for
Partially paidorders carrying your protection tag (such asshipping-protectionconfigured under auto-fulfill and tag protected orders). If the unpaid balance equals the protection fee, edit the order to remove the protection line item before fulfillment so the order returns to Paid and is not covered. - Option B (Send a Shopify payment link): For high-ticket orders where the customer likely wanted coverage, click Collect payment > Send invoice in Shopify admin to email them the payment link.
- Auto-fulfillment timing: If you use Mark as fulfilled immediately after purchase under Auto fulfillment, note that Sam waits until the order is fully paid before auto-fulfilling the digital protection item.
- Option A (Remove unpaid protection before shipping): Filter for
3. Account for rules that do not apply on the thank-you page
Before turning on the thank-you page widget, check two boundaries documented in Sam’s user guide:
- The offer shows only once: If a customer clicks Dismiss, reloads the thank-you page after declining, or closes the page and returns later, the offer does not reappear (unless they already clicked Add to order and still have a pending
paymentUrl, in which case the card reloads in the Pay now state so they can finish paying). - Cart hiding rules do not apply on the thank-you page: Rules set under Protection > Rules > Targeting & exclusions (hide the widget from some customers or carts)—including Hide from customer tags, minimum cart totals, country restrictions, and excluded products—apply to the cart widget, not the thank-you page. Every order without protection sees the thank-you offer. If your blended store serves Net 30 wholesale buyers or B2B accounts that must never have post-checkout balances added, keep the thank-you page widget turned off (see shipping protection for B2B and wholesale orders).
4. Stop fraudulent buyers before checkout rather than after payment
Because the thank-you page offer runs after payment is captured, it is designed for legitimate customers who want coverage against carrier loss, transit damage, or porch theft. If your store faces stolen credit cards, reshipper abuse, or repeat false-claim buyers, filtering them out after checkout is too late. Pair your protection program with server-side Shopify checkout fraud prevention using LabX Fraud Filter. While storefront scripts run in the browser, a Shopify Checkout Validation Function runs server-side during checkout and cannot be bypassed, stopping blocked email domains, flagged addresses, or abusive buyers before an order is ever created.
How do you measure your thank you page attach rate and revenue share?
To see how much incremental revenue your post-purchase placement generates alongside your cart and Shopify Plus checkout widgets, use the CSV export on the Protected orders page (see protected orders and protection revenue).
Step 1: Export your protected orders CSV by date range
- In Sam Shipping Protection, click Protected orders in the app menu.
- Click the date range selector (default is Last 30 days), choose your measurement window (for example, 30 days after enabling the thank-you block), and click Apply.
- Click Export at the top right to download
protected-orders-<date>.csv(holds up to 5,000 matching orders).
Step 2: Segment the Source column (cart, checkout, thank_you)
Open the exported CSV in your spreadsheet tool and inspect the Source column, which records the exact placement where each customer added protection:
cart: Added via the cart page or cart drawer widget.checkout: Added via the Shopify Plus checkout extension.thank_you: Added via the post-purchase thank-you page offer.
From this data and your total Shopify order count for the same period, track two metrics (see our guide to package protection attach rate for the broader framework):
- Second-chance recovery rate (true thank-you page attach rate):
Thank-you page attach rate = (Protected orders with
Source = thank_you) ÷ (Total eligible orders − Orders protected in cart or checkout) Illustrative example: Suppose your store processes 1,000 eligible parcel orders in a month. If 350 buyers add protection in the cart (Source = cart), 650 orders reach the thank-you page unprotected. If 39 of those buyers add and pay for protection on the thank-you page (Source = thank_you), your thank-you page recovery attach rate is 39 ÷ 650 = 6.0%, lifting your store’s overall attach rate from 35.0% to 38.9%. - Paid completion ratio on thank-you opt-ins: Cross-check your
thank_yourows against Shopify’s financial status (PaidvsPartially paid) so you count only collected protection fees toward your net protection margin. You can also ask Shopify Sidekick in your admin: “How much protection revenue did I make this month, and which protected orders came in this week?”
Frequently asked questions
How does post purchase thank you page protection charge the customer?
When a buyer clicks Add to order on the thank-you page, Sam Shipping Protection edits the order to add the protection product and shows a Pay now button linking to Shopify’s payment collection page. The customer is not charged automatically; until they click Pay now and complete payment, the order shows an outstanding balance.
How do I calculate my thank you page attach rate in Sam Shipping Protection?
Open Protected orders in Sam Shipping Protection, pick your date range, and click Export to download the CSV (up to 5,000 orders). Filter the Source column for thank_you to count post-purchase opt-ins, then divide that count by the number of unprotected orders that reached your thank-you page (or by total store orders to see its share of overall attach rate).
Do my cart targeting and exclusion rules apply to the thank-you page offer?
No. In Sam Shipping Protection, Targeting & exclusions rules—such as hiding the widget from tagged customers, below a minimum cart total, or outside chosen countries—apply to the cart widget (and partially to the Shopify Plus checkout widget), not the thank-you page. Every order that reaches the thank-you page without a protection item sees the offer once.
What happens if a customer clicks Add to order but leaves without clicking Pay now?
Because the order edit is already committed in Shopify, the protection item stays on the order and the order status shows as Partially paid with an outstanding balance equal to the protection fee. Sam does not charge or remind the customer automatically, so your team can either send a Shopify invoice reminder or edit the order to remove the unpaid protection line item before fulfillment.
Sources
- Sam Shipping Protection user guide: Offer protection on the thank-you page
- Sam Shipping Protection user guide: See protected orders and protection revenue
- Sam Shipping Protection user guide: Change the widget text and translate it
- Sam Shipping Protection user guide: Auto-fulfill and tag protected orders
Part of our guide: Shipping protection →