The Global Thank-you page is an url used to redirect your customer after they signed a document, paid an invoice or payment link.
We advise to always use https:// protocol for your URL.
A 'type' value is passed which is used to identify which type of action was initiated.
Important: When a Global Thank-you page is configured for one language then both the thank-you and invoice thank-you pages are disabled.
The customer is only redirected to your personal thank-you page when it is configured for the specific language of the:
If the URL is not configured for a language, the customer is redirected to a default page.
The following variables can be used:
{{type}}{{id}}{{ref}}{{state}}For each sort of flow, the variables will have a different value.
There are 3 different type values that can be returned:
The value of the id variable is different for each type.
When the type is:
The ref variable returns the following value for the type:
The state variable returns the outcome of a payment or when signing a document, the following values are returned for type:
Different from the dedicated thank-you pages for invoices and documents, here no state is returned (pending, paid, ok,...).
This means you can either implement a static page without the current state, or a more advanced one where there is more front-end and server-side handling.
For example, you can define different directories or files for each type on your web server:
Or pass (all) the variables and handle them when received:
When a (global) thank you page is configured, we send the url directly to the PSP when available.
This means that the final handling of the URL is done via the payment service provider.
Some providers enrich the url with their own data, so it is possible that the final URL contains additional parameters.