License code on custom Redirect URL
Status: Closed ยท Asked by Sven B on ยท 0 views
Currently I can use the %LicenseName% and %LicenseCodes% placeholders on the built-in Thank You page.
If I set a custom "Redirect URL After Successful Payment" instead, can I get the license code there too?
- Which query parameters are added to the Redirect URL? Is it only
hostedpage, or are values like the license code also passed? - Does the Verify Hosted Page API response include the license code(s) for that purchase? According to the Integration Guide (https://www.pabbly.com/subscriptions/docs/integration-guide/), the response contains fields like
customer_id,subscription_id,plan_id,email_id,status,amount,activation_dateandnext_billing_date, but no license field. - If not, is there another API endpoint or a webhook that returns the license code for a purchase?
If none of this is possible yet, could you add the license code to the Verify Hosted Page API response?
Best,
Sven
Hello Sven,
Thank you for sharing the details.
We have checked your account and reviewed the checkout customizer. We also tested the setup from our end, and the license code functionality is already applied to your product plan and worked as expected during our testing.
Please check the setup from your end and let us know if you are facing any specific issue with the license code or its display on the custom redirect page. If so, please share the details or a screenshot of the issue, and we will check it further.
Hi Naman,
Please read my message carefully again. I know the license code works on the built-in Thank You page.
My question is about the custom Redirect URL ("Redirect URL After Successful Payment"). When that is set, the customer is sent to my own page instead of the built-in one, and the %LicenseCodes% placeholder is not available there.
So please answer these specific questions:
Which query parameters does Pabbly add to the custom Redirect URL? Only
hostedpage, or also the license code?Does the Verify Hosted Page API response include the license code? If yes, in which field?
If not, is there another API endpoint or webhook that returns the license code for a purchase?
Best,
Sven
Hello Sven,
Thank you for clarifying your requirement.
We understand that you want to use a custom โRedirect URL After Successful Paymentโ and retrieve the license code on your own page instead of using the built-in Thank You page.
Here is what we can confirm:
Parameters available in the Redirect URL
The custom redirect can receive GET parameters related to the subscription, plan, and invoice, including thehostedpageparameter. However, we cannot confirm that the license code itself is passed as a GET parameter.License code in the Verify Hosted Page API
The license code is not listed as a field in the documented Verify Hosted Page API response. The available information includes details such as customer, subscription, plan, payment, and billing information.License code placeholder
The license code is available in Pabbly Subscription Billing through the{{LicenseCodes}}placeholder when the license feature is enabled. The documentation also lists{{LicenseName}}and{{LicenseCodes}}under Payment & Invoice Details.You can refer to the available placeholders here:
Pabbly Subscription Billing โ Default Email Templates & Available PlaceholdersAPI/Webhook
To check this accurately, please clarify which API endpoint you are looking for or which endpoint you are currently using to retrieve/verify the purchase details.If you are asking us to identify an API or webhook that can return the license code for a specific purchase, please confirm this as well. Once we know the exact endpoint/API requirement, we can check it and let you know what information is available.
For the custom redirect URL, you can also perform a test payment and check the GET parameters received on your page. This will help confirm the parameters available for your particular setup.
Please share the exact API endpoint or API requirement you have in mind, and we will check it further.
Thanks. So to sum up: the license code is currently not available on the custom Redirect URL or in the Verify Hosted Page API.
Feature request: please add the license code(s) to the Verify Hosted Page API response, e.g. as license_name and license_codes, the same values as the %LicenseName% and %LicenseCodes% placeholders.
That's all I need. The customer lands on my page, I verify the hostedpage value on my server, and I can show them their key.
Could you please forward this to the dev team and let me know once it's live?
P.S. I noticed the docs link ends with utm_source=chatgpt.com ... if ChatGPT is helping out over there too, maybe it can help the devs add this field quickly!
Thanks!
I've added it as a feature request here: https://roadmap.pabbly.com/pabbly-subscription-billing?post=4936
To be honest, the roadmap feels a bit like a graveyard. Many requests have been sitting there for months with no updates.
Hello Sven,
Thank you for sharing the feature request and for pointing out the documentation link.
Regarding the documentation, please use the following correct Pabbly Subscription Billing page:
https://docs.pabbly.com/pabbly/doc/default-email-templates-available-placeholders.34580
The utm_source=chatgpt.com parameter that appeared in the earlier link was only an additional tracking parameter and is not part of the actual documentation URL.
We have also noted your feature request to add license_name and license_codes to the Verify Hosted Page API response. Since you have already submitted the request on the roadmap, the concerned product/development team can review the feasibility and technical possibility of implementing this requirement.
Regarding the roadmap timeline, we understand your concern. However, we cannot commit to a specific implementation timeline until the team reviews the request and determines its feasibility and priority.
Thanks for noting it.
No need to pass this on anymore. I'm moving my subscriptions off Pabbly, so feel free to close this thread and the roadmap post. Details:
https://forum.pabbly.com/threads/moving-my-subscriptions-off-pabbly.219331
Thanks,
Sven
Hello Sven,
Thank you for the update and for sharing the details.
We understand your decision and respect it. We have noted your request and will proceed with closing this support thread.
We also appreciate the feedback you shared regarding the roadmap and the limitation around your custom redirect/API requirement. We have noted this feedback internally as well.
Wishing you all the best with your subscription setup going forward. Should you decide to return to Pabbly in the future, please feel free to reach out to us anytime, and weโll be happy to assist you.