I want to add a custom field or attribute in my plan.

Status: Closed · Asked by binaya on · 0 views

binaya — Question ·

I want to add a custom field or attribute in my plan. We multiple plans in pabbly subscription plan but we want to display these plans in different place in our app so, we need to add a custom field to recognize the plan via api & display according to that.

Deleted member 9923 — Reply ·

Hello @binaya ,
To create custom fields in Pabbly Subscription Billing, follow the steps below:

1. Navigate to "Product" > "Plans."
2. Hover over the plan for which you want to create custom fields.
3. Click on the three dots option.
4. Select "Checkout Customerizer."
5. From the block section, choose the custom field option.
6. Inside the custom field block, you'll find options to create the custom field according to your requirements. Save the changes.

For additional guidance, please refer to the screenshot provided for more details.

Regarding prefilling values in fields on the checkout page, you can find detailed instructions in the help document at the following link:
https://forum.pabbly.com/threads/prefill-fields-on-the-checkout-page-custom-and-normal-fields.6106/
This document demonstrates how to retrieve pre-filled values for both custom and normal fields on the checkout page.

binaya — Reply ·

Hello @MukeshR ,
Thank you for the response but i want to add custom field or some attribute in the plan that we create for subscription.
Product > Plan.
I want to add new field in here.

Deleted member 9923 — Reply ·

Hello @binaya ,

Could you please inform us about the specific custom fields you need in the plan section? This information will assist us in gaining a more detailed understanding of your use case and enable us to provide the necessary support. As currently, we do not have the option to create additional fields in the plan section.

binaya — Reply ·

Hi @MukeshR ,
We want to display different type of subscription dynamically & we have different kind of subscription that might be placed in different pages in our app. We want to use this custom field to determine where to place the plan without making any changes in our app while creating new plans in future.

Deleted member 9923 — Reply ·

Hello @binaya ,
For the use case you've described, you can use the "Plan Metadata" feature available in the plan settings to incorporate additional data into the plan as per your specific requirements. The values assigned to plan metadata remain static and only undergo changes when manually updated during the plan editing process. This allows you to effectively use this for your use case.

To add plan metadata to your plan, please follow the steps outlined below:

1. Navigate to Products > Plan.
2. Hover over the desired plan for which you intend to add plan metadata.
3. Click on the three dots option.
4. Select "Edit" from the menu.
5. On the opened plan page, Scroll down to the bottom of the page, where you will find options such as Subscription Status, Description, Redirect URL, Metadata, Payment Failed Settings, and Payment Term Mark the checkbox for this option
7. Check the box for plan metadata and modify the values according to your requirements.
By following these steps, you can successfully integrate plan metadata into your plan to fulfill the specified use case.
Please refer to the below screenshot for more details


binaya — Reply ·

Hi @MukeshR,
This helps to cover our use case.
Thank you.

Back to all forum threads · Log in to reply