Digistore24 can transfer order data as GET parameters to the thank you page URL. As a vendor, you can display the order data on the thank you page or upsell thank you page. This may be to address the buyer by name or to display a summary of their order.
Note
The placeholders work for the thank you page, the thank you page for follow-up purchases and the upsell thank you page. If there is no upsell purchase, the placeholder is replaced with an empty string.
Append order data to thank you page URL
This feature is turned off by default. You can turn it on as follows:
- In the vendor view, open Account > Products.
- Click on the pencil for your desired product to open the product details.
- Scroll down to the field: Append order data to thank you page URL.
- Click on the button Yes.
As soon as the customer completes their order on the order form, the GET parameters are automatically appended to your thank you page URL.
Tip
As an alternative, you can leave this feature turned off and use placeholders in the thank you page URL (or upsell thank you page URL) instead. The advantage is that the URL is shorter. Some WordPress plugins block URLs that are too long, which would make your thank you page unavailable. Learn more about placeholders in the thank you page URL.
GET parameters that can be transferred to your thank you page URL:
GET parameter | Explanation |
order_id | Order ID (e.g. XU8A3HZ2) |
buyer_email | Buyer email |
product_id | Product ID |
product_name | Product name |
buyer_id | Buyer ID |
buyer_first_name | First name of buyer |
buyer_last_name | Last name of buyer |
payplan_id | The payment plan selected by the customer |
sha_sign | The digital signature of the GET parameters (the thank you page key is used for this) |
Additional GET parameters for e-tickets:
GET parameter | Explanation |
eticket_location | Name of event location |
eticket_date | Date of event |
eticket_hint | Information about the appointment, e.g. the time |
Note
From a technical perspective, it's easy to read this data from the GET parameters of the thank you page. However, it's somewhat more complex to ensure that the data has not been manipulated. That's why the data is digitally signed with the thank you page key.
For programmers
In order to program something yourself that evaluates the GET parameters and to ensure that the data is not forged or altered, we offer the PHP script for signature verification.
Placeholders in the thank you page URL
Instead of using GET parameters, you can also use placeholders in the thank you page URL. The option Append order data to thank you page URL can then remain disabled.
Example: http://domain.com/?amount=[AMOUNT]&product=[PRODUCT_ID].
Following placeholders are available:
- [ORDER_ID]
- [ORDER_ITEM_ID]
- [ORDER_LANGUAGE]
- [CUSTOMER_ID]
- [PRODUCT_ID]
- [AFFILIATE_ID]
- [AFFILIATE_NAME]
- [PAYMENT_ID]
- [PAYMENT_TYPE]
- [PAYMENT_TOTAL_AMOUNT]
- [PRODUCT_NAME]
- [PRODUCT_DESCRIPTION]
- [QUANTITY]
- [BILLING_CYCLE]
- [BILLING_DAY_OF_MONTH]
- [PAYMENT_METHOD]
- [CUSTOM_FIELD]
These placeholders are automatically replaced with the corresponding order data when the thank you page is called up.
Note
To use the placeholders for customer-specific data on the thank you page or the upsell thank you page, they must be entered in the thank you page URL of the product. The placeholders can also be entered in custom fields, e.g. to transfer the buyer's name to an external mailer.
Example
http://domain.com/thankyou.php?order_id=[ORDER_ID]&email=[CUSTOMER_EMAIL]
If the order number is XU8A3HZ2 and the customer email is example@example.com, the URL will be: http://domain.com/thankyou.php?order_id=XU8A3HZ2&email=example@example.com
You can use these placeholders in the thank you page URL, the upsell thank you page URL, and the thank you email (e.g. mailto:example@example.com?subject=Thank%20you%20for%20your%20order%20[ORDER_ID]).
Note
The placeholder [SIGNATURE] is used in the thank you page URL and the upsell thank you page URL to verify the authenticity of the data. This should be used for increased security.