Description;

Custom fields can be used to capture additional information link to the customer or a specific subscription.

To know how to create custom fields Click Here.

These custom fields can be configured to be Hidden, View only, Mandatory & Editable.


Solution:

To pre-fill the custom field in the hosted page you will need to use the custom field ID, which can be access from API documentation.

Sample URL format;

https://domain.chargebee.com/hosted_pages/plans/plan-id?subscription[cf_custom_field_id]="value"

https://domain.chargebee.com/hosted_pages/plans/plan-id?customer[cf_custom_field_id]="value"


If you are using our APIs + Checkout pages, you can pass the custom field value through the API call.