License code on custom Redirect URL

Status: Closed ยท Asked by Sven B on ยท 0 views

Sven B โ€” Question ยท

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?

  1. Which query parameters are added to the Redirect URL? Is it only hostedpage, or are values like the license code also passed?
  2. 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_date and next_billing_date, but no license field.
  3. 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

Pabbly Support โ€” Reply ยท

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.

Thanks & Regards,
Naman Bansod
Customer Support Specialist
๐ŸŒ Pabbly.com
๐Ÿ‘‰ Rate your support
Sven B โ€” Reply ยท

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:

  1. Which query parameters does Pabbly add to the custom Redirect URL? Only hostedpage, or also the license code?

  2. Does the Verify Hosted Page API response include the license code? If yes, in which field?

  3. If not, is there another API endpoint or webhook that returns the license code for a purchase?

Best,
Sven

Pabbly Support โ€” Reply ยท

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:

  1. Parameters available in the Redirect URL
    The custom redirect can receive GET parameters related to the subscription, plan, and invoice, including the hostedpage parameter. However, we cannot confirm that the license code itself is passed as a GET parameter.

  2. 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.

  3. 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 Placeholders

  4. API/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 & Regards,
Naman Bansod
Customer Support Specialist
๐ŸŒ Pabbly.com
๐Ÿ‘‰ Rate your support
Sven B โ€” Reply ยท

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!

Pabbly Support โ€” Reply ยท

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 & Regards,
Naman Bansod
Customer Support Specialist
๐ŸŒ Pabbly.com
๐Ÿ‘‰ Rate your support
Pabbly Support โ€” Reply ยท

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.

Thanks & Regards,
Naman Bansod
Customer Support Specialist
๐ŸŒ Pabbly.com
๐Ÿ‘‰ Rate your support

Back to all forum threads ยท Log in to reply