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 to the checkout page URL and send that full link to your customers
For example –
&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.
?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/#section-31
The form data for calling API will be the query string.
Is it possible to send some field with meta information to the checkout page and then receive it through a webhook?
Yes, you can pass the custom data in the checkout page URL and this custom value will be available in the webhook response.
For example, "extra=[email protected]" is the extra value with the checkout page URL which I will be sending as meta information.
And this is the webhook response -
NOTE : The KEY of the custom value should not be same as existing fields on the checkout page to avoid conflict.
For example –
&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.
?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/#section-31
The form data for calling API will be the query string.
Is it possible to send some field with meta information to the checkout page and then receive it through a webhook?
Yes, you can pass the custom data in the checkout page URL and this custom value will be available in the webhook response.
For example, "extra=[email protected]" is the extra value with the checkout page URL which I will be sending as meta information.
And this is the webhook response -
NOTE : The KEY of the custom value should not be same as existing fields on the checkout page to avoid conflict.
Last edited by a moderator: