#haroon-customerportal
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.
- haroon_74239, 7 hours ago, 9 messages
Hello
When you create Prices it asks for a product parameter.
So you can create multiple Prices for the same Product if you so desire.
I'm using customer portal api to create a portal for users to update their subscription. I have user wise plans and my plans have recurring interval of a month. When I'm trying to create a plan it is giving me this exception: 'For each product, its price must have unique billing intervals'.
https://docs.stripe.com/api/customer_portal/configurations/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can you share the exact request ID where you see this error?
You are likely running into the fact that with Customer Portal you can't have multipe Prices with the same recrurring interval.
Customers can’t define multiple Prices with the same product and recurring.interval values. For example, to offer a magazine for 4.00 USD per month regular price and 3.00 USD per month for students, create a separate student magazine Product version.
So in this case you are going to need to create multiple Products
req_oCqJOoysdtAgS5
Yep see what I noted above -- that is the issue here. This is specifically a limiation of Customer Portal
So you will need two different Products here
You can basically create them with the same info if you want.
But really it doesn't make sense that this would be the same Product in the first place.
If it is different amounts for the same interval then really you are providing a different product
ok so, I need to create the different product for the same type of plans.
Like I have a basic plan and a premium plan so I need to create separate product to make it workable?
Yep