Start a new topic

How to store and retrieve customer information via ChargeBee's hosted pages during checkout?

When using ChargeBee's hosted pages API, the customer will be redirected from the merchant's server to ChargeBee's server. 


How can I save the customer's state and information about the customer and get them back after a successful checkout?

1 Comment

When calling ChargeBee's Hosted Page API, pass the state of the customer and details about customers using the pass_thru_content parameter. On redirect from ChargeBee, you can retrieve the content passed to the pass_thru_content using the hosted page id passed along the redirect url.


For info on the pass_thru_content, checkout our API docs.


Check out our sample app & tutorial on how to store and retrieve pass_thru_content:


https://www.chargebee.com/tutorials/two-step-checkout-example.html


Login or Signup to post a comment