Post Checkout Order Confirmation / Redirects
When it comes to dealing with successful orders through WP CannaSync, you have three option.
- Redirect to dynamic order confirmation pages (recommended)
- Redirect to a static thank you page
- Remain on Dutchie's checkout (not recommended)
1 - Redirect to dynamic order confirmation pages
Live Demo: https://dev.wpcannasync.com/shop/thank-you/?orderNumber=270033307
First you will need to make sure you have added your Dutchie API secret key:
Next you will need to email Dutchie API Support and supply/update your Post Checkout Redirect URL for each store location you are using. The post checkout redirect URL is simply the store page URL (for each location) with thank-you added at the end.
Single Store Redirect Example:
Store Page: https://yourwebsite.com/shop/
Checkout URL: https://checkout.yourwebsite.com
Post Checkout Redirect: https://yourwebsite.com/shop/thank-you/
Multi-Store Redirects:
https://checkout-bronx.yourwebsite.com -> https://yourwebsite.com/bronx/thank-you/
https://checkout-brooklyn.yourwebsite.com -> https://yourwebsite.com/brooklyn/thank-you/
https://checkout-long-island.yourwebsite.com -> https://yourwebsite.com/long-island/thank-you/
2 - Redirect to a static thank you page
First, build a static thank you page with whatever information /content you need. Next, you will need to email Dutchie API Support and supply the URL of your new thank you page. You can refer to this as a Post Checkout Redirect URL
Note: Do not use the URL/slug of thank-you for your static page as it will conflict with the dynamic confirmation page built into WP CannaSync.
Redirect Example: https://checkout.yourwebsite.com -> https://yourwebsite.com/thanks/
3 - Remain on Dutchie's checkout
Do nothing and users will see the order now button change to "Order Complete" and become greyed out (not an ideal solution):