#wurm-subscription-descriptions
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- wurm41208, 1 hour ago, 32 messages
In this current setup, the customer portal shows 3 subscriptions - two Level1 and one Level2 but is unable to distinguish the Businesses associated with each subscription. This is what I'm trying to figure out so the customer can modify the appropriate subscription, like if they wanted to upgrade the subscription for Business#46 in the example.
Sorry I don't really follow. can you share an actual example of subscriptions you're working with? Additionally, any screenshots of the customer portal would help be on the same page
Sure. In my app a user (associated w/ Stripe customerID) is able to claim a business object and through a subscription buy priority search results etc. There are 3 subscription tiers w/ escalating prices and features (free, Silver, Gold). A user can claim multiple different businesses, each with its own tier. Right now I'm trying to use 3 Stripe Subscriptions products (free-silver-gold), but don't know how to associate them with both the stripe customer, and my app's business object.
So a customer can have multiple subscriptons, but each business object can only have one. In the current setup, a stripe customer who owns 5 business objects will see 5 subscriptions, but not be able to determine which subscription is associated with each business object.
Hi ๐
I"m stepping in as @opal forum needs to go soon
You are correct that Subscriptions are based on the relationship between a Customer and one or more Product/Price
You have two potential ways to address this.
- You could use the Customer object to represent the business, not the individual and restrict them to one subscription each
- You could track the business in your own integration and include that information in the
metadatafor each Subscription.
https://stripe.com/docs/api/subscriptions/create#create_subscription-metadata
Ok - do have any recommendations as to how I can set this up? I have 2 ideas. 1.) I'm able to add a field ("description"?) to the checkout session that clarifies the associated business with the subscription product, so the customer portal displays the differences. 2.) each checkout session creates a new product based on the business plus subscription tier.
It looks like your #2 aligns with my idea #1?
In my 2 examples I think the main difference is in #1 I have 3 products (one for each tier), and #2 hundreds-to-thousands of products (one-to-one for each business a unique product)? Is that correct?
Honestly these implementation details are not specific to Stripe and have more to do with whatever is going to best model the way your business is structured. I would test out the description approach in Test mode to make sure the behavior fits what you are looking for
ok thanks. I think I'm going to test out the metadata or description field. Is there a field in subscription object that I could use that would be displayed at the customer portal? I don't think metadata is viewed at the customer portal level?
The Subscription also has a description field you can set
Looking for a recommendation as to what field I can modify that would be viewable at the customer portal, and if there's a way to set that when the subscription item is created at the checkout session
I recommend you test out modifying the description I think that will be displayed in the Customer Portal
Ok. thanks for the recommendations!
Happy to help ๐