Checkout URL is not working

Modified on: Mon, 25 Oct, 2021 at 11:17 AM

Scope

The checkout URL isn't working

The purchase link isn't working


Summary

This could happen due to incorrect URLs for your current Product Catalog version. The first step is to know which version of the Product Catalog you are using (PC 1.0 or PC 2.0). You can get to know if you are using PC 1.0 or PC 2.0 by checking the options under Product Catalog on your Chargebee site. Once you know which version you are using then we can check the URL format.


Solution

Finding the version of Product Catalog


In UI/app, “Product Families” and “Charges” in the left side navigation menu under Product Catalog indicate that the catalog is 2.0.

For API operations refer to this link Site Configuration API.


You can get to know if you are using PC 1.0 or PC 2.0 by checking the options under Product Catalog on your Chargebee site. Once you know which version you are using then we can check the URL format.


URL format for PC 1.0

If you are using Product Catalog 1.0 then you checkout URL should be similar to - https://<site-name>.chargebee.com/hosted_pages/plans/<plan-id>
Click here to know more.


URL format for PC 2.0

If you are using Product Catalog 2.0 then you checkout URL should be similar to - https://{sitename}.chargebee.com/hosted_pages/checkout?subscription_items[item_price_id][0]={plan-id}
Click here to know more.

M
Monica is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×