Menu

Redirect Custom Value On Thank You Page

If you want to pass some custom value in the checkout page URL and get the values in the thank you page/hosted page by API response.

Then you can add that value on the checkout page URL and send that full link to your customers

For example –

http://payments.pabbly.com/subscribe/5c1b26639d9b230f00e29d4c/new-plan?redirect_to=https://www.inkthemes.com/?hello=workingonpage

?hello=workingonpage” is the extra value with the checkout page URL.

When your customer completes the transaction they will be redirected to the thanks page or the hosted page and your extra value will be seen on the URL of the thank you page.

https://www.inkthemes.com/?hello=workingonpage&hostedpage=7eea2ef0b8333fb51bf574332a46b3e8:fd54c93672316397dfb93ac4c6c2f9a074dbf745c83bdae614976a74b4a5df22b5e7e4a851fa560a10321488fe861f16f0055f2dca31289f26c67c714e177b90bda55810049c19b34a18fed6545be59b207ba2172ef314d5501aea692c22a84a5afe07bc7da71e518b0857b2fcac87cfd7ccfc6b74a93ca8d3af1afb32626ff45b6fad8a1fe6157b862dcb3310e0b320

You can catch that string from the thanks page URL and call for the verify hosted page API for getting the details of that customer.

Link for the API – https://www.pabbly.com/subscriptions/api/#section26

The form data for calling API will be the query string.