This feature lets you redirect the customer to your own URL after a successful online payment instead of the standard Voucherino thank-you page. This is useful if you want to bring the customer back to your website, show them your own order confirmation, or perform other actions based on the order information.
Setting up a custom return URL
You can set up the redirect after payment for each sales iframe (widget) separately in the admin panel:
- Go to Administration → Online sales → Iframe list (Administrace → Online prodej → Seznam iframů)
- Click the Edit (Upravit) button for the selected iframe
- In the iframe settings, on the Payment methods (Platební metody) tab, find the Redirect after payment (Přesměrování po platbě) section
- Turn on the Active (Aktivní) switch
- Enter your return URL (e.g.
https://your-website.com/thank-you) - Save the changes
Note: The redirect only works for online payments by card or instant bank transfer. For (offline) bank transfer payments, the customer is shown the Voucherino page with the payment details.
Return URL structure with parameters
After a successful payment, the system redirects the customer to the URL you entered and automatically appends parameters with information about the order. You can use these parameters to identify the order on your website.
Parameters passed
| Parameter | Description | Example value |
|---|---|---|
void |
Order ID in Voucherino | 12345 |
vosh |
Security hash of the order for verification | a1b2c3d4e5f6... |
Example of the resulting URL
If you enter the return URL:
https://your-website.com/thank-you
After a successful payment, the customer will be redirected to:
https://your-website.com/thank-you?void=12345&vosh=a1b2c3d4e5f6...
If your URL already contains parameters:
https://your-website.com/thank-you?utm_source=voucherino
The system automatically uses the correct separator:
https://your-website.com/thank-you?utm_source=voucherino&void=12345&vosh=a1b2c3d4e5f6...
Getting order details via the API
Based on the parameters passed, you can use the Voucherino API to retrieve complete information about the order. Using the void (order ID) and vosh (security hash) parameters, you can verify the validity of the request and load the order details.
Tip: For API access, contact our support at info@voucherino.com to get an API key and documentation.
Use cases
- Custom thank-you page - Show the customer a confirmation in the design of your website
- Conversion tracking - Pass data to your analytics system (Google Analytics, Facebook Pixel)
- CRM integration - Automatically update customer records after a purchase
- Cross-selling - Offer the customer further products or services
- E-mail marketing - Add the customer to your mailing list