How to configure return/redirect URLs for one-time payments checkout in Chargebee?
Problem Statement
You want to know how to configure return/redirect URLs for one-time payments checkout in Chargebee.
Scope
How to configure a custom URL for a one-time payments checkout page?
Can I use the same site-wide URL setting for redirecting one-time payments checkout too?
I don't see an option to add redirect URLs for non-recurring addons. Where do I add it in case my customer wants to do a one-time purchase through checkout?
Summary
Chargebee allows you to handle one-time purchases in the checkout flow from February 2021. To know more, refer to Checkout one-time payments. Chargebee has options to add redirect URL for plans but not for addons. In the case of one-time payments checkout, non-recurring addons are usually purchased and there needs to be a redirect URL for them.
Solution
Once you have Checkout: One time payments enabled, the settings below appear. Click on 'Add a redirect URL' and enter the URL for one-time payments alone. Click on 'Apply' and 'Publish' the changes.
Note: This is a site-wide setting for One-time payments checkouts. A unique redirect URL cannot be added for every non-recurring addon. But it is achievable through our Checkout one-time payments API.