Integrations
Stripe

Stripe Example Use Cases

6min
1 two different license types for the same product if you want your customers to be able to buy two different licenses types (and with different custom fields) from the same product here is how you would approach this use case create the necessary custom fields that you need / want inside your product in licensespring to do so, go to your licensespring platform, click on the products tab , once in the products tab, click on the product you want to use, and then click on the custom fields section of your product inside the custom fields section click on the "add custom fields" a small pop up window will show up fill out the necessary details, and click on the "confirm" button do so for each custom field that you need add custom fields create the necessary license policies for each of the license types you want your customers to buy now you will need to create a license policy for each license type you want to sell to do so, on the product where you created the custom fields, go to the license policies section and click on the " add license policy " a pop up will show up with all the necessary options that you need for your licenses be sure to choose all the correct options that you need (for example, if you want a subscription type license, choose the subscription type from the dropdown) license policies override some settings from the product itself, but they wont change the actual settings on the product so if you need to change the value of some custom field or product feature you can do so in this current pop up window by selecting that custom field section of the pop up, and choosing which custom fields you want to use on this license policy, you will get the option to change their default values create a price for each license type you want to sell inside stripe and add the license policy code in their metadata now we need to go back to stripe, and for the licensespring product that we created the custom fields and license policies, we need to find the corresponding stripe product (if you do not have the same product created in stripe and connected with the same product in licensespring, you can do so by following the initial stripe integration setup documentation https //docs licensespring com/integrations/stripe/integration https //docs licensespring com/integrations/stripe/integration ) once we are inside the corresponding product page if we do not already have 2 different prices inside that product, we need to create them and add the license policies codes in their metadata to create a new price click on the "add another price" and inside the new window fill out all the necessary information regarding that price and licenses next step is to add the metadata we need to click on the price for which we want to associate the newly created license policie, this will open the price page inside the price page click on the "edit metadata" button to add all the necessary "custom attributes" that you have, together with the license policy code more information on how to do so, you can find in the stripe integration setup documentation https //docs licensespring com/integrations/stripe/integration#ffhzj https //docs licensespring com/integrations/stripe/integration#ffhzj but in simple terms, you need to add the attribute license policy and its code that you can get back in licensespring where we initialy created the two new license policies example custom attibute for a license policy double check everything at the end, make sure you have inside licensespring setup 2 different license policies on the product that you want to sell (together with any custom fields or features), and that inside stripe you have 2 different prices with 2 different price metadatas setup, each with its own correct license policy and correct custom attributes that you want to use