less than a minute read • Updated 39 minutes ago
Revisit a past web receipt
How to reopen a completed transaction's receipt, including how to keep the full URL in the address bar for testing template changes.
Every transaction has a unique receipt URL that can be reopened later — useful for customers checking a past order, or for testing template changes without completing a new checkout.
Steps
To revisit a receipt while testing template changes:
With privacy_redirect=false in place, the full URL stays in the address bar, so you can reload the page as many times as you need while you work on your template.
Notes
The easiest way to get a receipt’s URL is the view link in the admin’s transaction history — this also works for customers or admins who just want to look up a past order.
The URL is also available as the
receipt_urlTwig variable in email receipts, and in responses from the API and the transaction datafeed.By default, Foxy replaces the full receipt URL with
/receiptin the browser’s address bar as soon as it loads, to prevent someone from reopening another customer’s receipt on a shared or public computer just by hitting the back button. This is why the full URL normally can’t be reloaded —privacy_redirect=falseis what disables that protection for testing.