#haroon-customerportal

1 messages · Page 1 of 1 (latest)

muted pondBOT
#

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.

sudden helm
#

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.

quaint jetty
#

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

sudden helm
#

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

quaint jetty
#

req_oCqJOoysdtAgS5

sudden helm
#

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

muted pondBOT
quaint jetty
#

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?

sudden helm
#

Yep