#abhishek-customerportal

1 messages · Page 1 of 1 (latest)

sick apex
kind elbow
#

that's great

#

Thanks @sick apex I will check it out

solid sigil
#

opened!

kind elbow
#

thanks @solid sigil

#

So my use case is let's say there is two products A and B and both can have 3 prices each of monthly duration. Is this possible that user can switch price of a product A while keeping the product B's price as it is?

solid sigil
#

Can you give a bit more detail? Is your goal to allow them to never change product B and only change product A?

mighty needle
#

heya @kind elbow! unarchived as requested

kind elbow
#

thanks @mighty needle

kind elbow
#

So, use case is let's say I want to upgrade to $20/mo plan ono product A

#

from $10/mo earlier

#

when I try to do it, Stripe says the pricing have same currency and billing period. Can't I have same product with different price value?

mighty needle
#

@modern trench you should be able to, can you share a link to the customer portal for your test customer so that i can take a look?

kind elbow
#

here the user is suppose to update the 3 product pricing individually

#

but if you click on any of the update plan button, you will see other product's price as well

#

@mighty needle

foggy glacier
#

Hello, I will take over from here as Alex is offline

kind elbow
#

thanks @foggy glacier

foggy glacier
#

Can you provide the request you used to create this session?

#

the request id

kind elbow
#

sorry I am not sure about that

#

what is request id?

foggy glacier
#

Did you create this url by Dashboard?

kind elbow
#

no

#

from my app

#

via stripe php sdk

foggy glacier
#

Ah I see. Do you have access to Dashboard?

kind elbow
#

stripe dashboard? yes

foggy glacier
#

Can you find the Customer Portal creation requests here? and paste me the request id

#

in the form of req_xxx

kind elbow
#

req_XpmIBrwdWBsTtD

foggy glacier
#

That's the GET request. But I found the request to create Portal Session too. It looks normal to me as this Customer (cus_KU2XLwh6u6MG8T) currently subscribes to 3 different Subscriptions, so all of them are displayed on the Portal Session page. I can see they all have different Price, tights to different Products. What would you expect to be displayed different?

kind elbow
#

the display part is fine

#

only issue is while changing the plan

#

let me record a video

foggy glacier
#

Click on "Update Plan", right?

kind elbow
#

yes

foggy glacier
#

Then it display this

kind elbow
#

yes it should show only the pricing of that product

#

so let's say you hit "update plan" button for Sparrow SMS Pack

#

then you can update price of only Sparrow SMS Pack and hence can switch between $19. $29 and $39 /mo plan

#

but those prices are not shown

#

When I try to set it via stripe dashboard it says these prices has same billing period and currencies and hence can't be added again

foggy glacier
#

Hmm I see $10, $29 and $29 here. Just don't want to mix up. What are $19 and $39 you are talking about?

kind elbow
#

so what you are seeing here is prices of other 2 products

#

while the other prices of Sparrow SMS pack are not shown

foggy glacier
#

ah

#

and they are $19 and $39

kind elbow
#

yes

foggy glacier
#

And you can't add it in Dashboard? Where?

kind elbow
#

yes I can't let me show you

foggy glacier
#

Can I see the error message?

foggy glacier
#

Ah I got it now. So that screen is only permit 1 products

#

Okie for the Customer Portal, you are creating it directly via PHP right?

#

There is an object called Customer Portal Configuration, that you can create beforehand and pass it into the Creation of Customer Portal request

#

Inside Customer Portal Configuration, there is a place that seems to let you control which Products to display and to which price

kind elbow
#

yes I have tried that and it throws the same error

#

saying the added prices can't have same currency and billing duration

foggy glacier
#

Hmm, the screenshare above, where is it? When you create a Billing Portal ?

kind elbow
#

ok give me a min I will send that too

foggy glacier
#

Hmm I see, this seems to be a limitation on Customer Portal. Let me think in normal Subscription update, should I be able to change to a price within same interval or not

#

(I think I can), but let me try

kind elbow
#

ok thanks for your help @foggy glacier

foggy glacier
#

Hmm I definitely can. Just updated a Customer from a Subscription Price to another Subscription Price with same interval

#

Sorry to say this but I think this is a limitation in Billing Portal. I would bring this back to internal report, and hope it will be considered

#

At the mean time, if you want to control over Product/Price in Subscription Update, you might want to build an interface yourself, and use Subscription Update API under the hood