Can I pass order data to my thank you page?
One of the most requested features we were asked for was the ability to pass data via URL parameters to custom Thank-You Pages. With Spiffy Checkouts, this is possible in a couple of was.
When you use a custom Thank-You Page url, Spiffy will automatically pass some dynamic data along, via URL parameters.
Spiffy passes the following parameters to custom Thank-You Page URLs:
We also pass
order= This is the Spiffy Order ID #
total= This is the order total, it is sent over as an integer (ex: $99.88 would pass as total=9988)
code= This will pass over any promo code that was used
add= This references the addon/offer bump, if you have one set up. This will be a 'True/False' value, based on the customer adding the item
ups= This references your one-click upsell, if you have one set up. This will also be a 'True/False' value, based on the customer accepting the upsell
Additionally, you can add your own static parameters to your 'Thank-You Page URL' in the Spiffy Checkout Editor.
If you need to pass a piece of static data (data that would be the same for every customer that purchased on a specific checkout) just append the parameter(s) to your Thank-You Page URL in the Spiffy Checkout Editor, and the automatic parameters that we will add will follow that, when the customer reaches your 'Thank-You' page.
Example: If you wanted to add a static product ID to your thankyou page URL, just append ?product=22 or ?product=2019ebook right to the end of your custom Thank-You Page URL in the Spiffy Checkout Editor.
If you have any questions on passing parameters to your custom thank-you page. please don't hesitate to ask us at Support@Spiffy.co
Always here to help.