← Files WixARCHIVED FILE

skills/wix-headless-templates/donations/project/src/pages/donate/thank-you.astro

689 Bytes · Oct 8, 2026 · 12:02 UTC

↓ Download file

See the change to this file →

---
// Post-checkout thank-you page — the Wix-hosted checkout redirects here with ?orderId= after a
// completed donation. KEEP THIS ROUTE: the data layer's redirect callbacks point at
// /donate/thank-you. No SSR fetch: the order read runs as the visitor in the browser, so the island
// is client:only. Swap its import to YOUR thank-you component if you design one — keep its rules
// (no order facts without the order; never "paid" unless the order says so).
import SiteLayout from "../../layouts/SiteLayout.astro";
import DonationReceipt from "../../components/donations/DonationReceipt";
---

<SiteLayout title="Thank you">
  <DonationReceipt client:only="react" />
</SiteLayout>

SHA-256: b7517119b446ae493adc7c9073e8b3ba10b20fcb9a88db53b9665350e593468f