#olivia-subscription-promotioncode
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Not sure if we've changed this recently, can you share two example requests? One where it worked and the other where it didn't?
heres a screenshot that we definitely did it at one point lol
second screenshot shows the error
Can you share the request IDs?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_c7lkj8QnW80EZN
req_HhFxrqQR0C4f31
same error for both
this is on our test account on the dashboard
Gotcha. Give me a moment to take a look..
thanks!
Another question: I'm getting this error when configuring the customer portal: "For each product, its price must have unique billing intervals. The following prices have duplicate intervals: price_1NAZHUCMssdTP0LogibUEhxE, price_1NAZHUCMssdTP0LoLHUyPLId, price_1NAZHUCMssdTP0Lo4S2VQw5K, price_1NAZHUCMssdTP0LoeXGCJ9ws." I don't quite understand what that means. I have 1 product, and that product has 4 prices - 2 are yearly and 2 are monthly. Is that not possible? If not, how is the demo set up, because that has multiple monthly and yearly plans available?
Can you share the product ID where you currently have the custom price ID supporter?
prod_JhAIyLHT3kFQss
We suspect this is an old plan object where we allowed folks to set custom IDs but we never supported this for price objects
thanks looking
ah yeah I remember using the plan object in the past
Yup it was created using the plans API
The ability to set a custom price API ID via the dashboard has been removed recently - I created some prices using this but am no longer able to do so either. So only option now is to use the generated price ID and it appears that one is forced to use "lookup_key" and search prices based on that to find the prices.
gotcha, thanks
Any idea on the error I'm getting for the customer portal (sorry for posting in here.. probably should have started a different thread lol)?
I'm probably missing something when creating the prices. We currently have multiple products for each subscription level, but I understand you can't use the customer portal in that way - it has to be 1 product with multiple prices that the user can choose from - so I'm trying to create new products to reflect that
I suspect it has todo with deprecating the 'plan' objects. It seems to not be fully backward compatible.
I'm probably missing something when creating the prices. We currently have multiple products for each subscription level, but I understand you can't use the customer portal in that way - it has to be 1 product with multiple prices that the user can choose from - so I'm trying to create new products to reflect that
Can you share the request ID for this?
but I created a new product and 4 new prices within it and when I configure the portal to use that product and allow for those 4 prices, I get that error.. so I don't see how it can be related to the Plan deprecation since what I'm using was all created today
sure
req_Y8KU1xH4uEf6qT
still looking
UI think customer portal is limited to showing one price per interval when it comes to upgrades/downgrades
huh
then the demo is misleading
because there are 3 monthly and 3 yearly showing https://billing.stripe.com/p/session/test_YWNjdF8xR3kxaUZBbHF2S3B4SkN1LF9Od1RValdVcXlZUE85OWxGajN5VWdIVjExY0pTRThs0100jxKGZmwJ/subscriptions/sub_1NAaXwAlqvKpxJCuaYERihtK/update
do you know how the demo works?
๐ค I could be wrong, let me dig deeper
thanks
I think you're right.. if I only list 1 monthly and 1 yearly price, it works
but the demo should not show that you can have multiple if that is not possible
Asking a colleague to take a look too
So it looks like the example is using 2 prices (one for each interval) for 3 different products
I'll flag this internally to add the limitation to our public docs
I was told you can't change from one product to another product within the portal.. only from price to price
I guess I'll have to just keep trying things and see if I can get it set up that way
eventually having a demo app for the portal like you do for checkout would be helpful
is there any way for you to show me the code for the configuration for the demo app?
My colleague said, we don't updating a subscription with multiple products
It shouldn't block you from updating one product to the other
okay so what am I doing wrong? when I list out each product and its price, I don't have the option to "update" in the portal
๐ hanzo has to head out soon so I'm hopping in - give me a minute to catch up
thanks Hanzo!
Can you share which Subscription you're attempting to update with the portal configuration?
this is the customer https://dashboard.stripe.com/test/customers/cus_NwTWEIGYPlXQjB
sub id is sub_1NAaw0CMssdTP0LoputmRLYa
we currently have 1 product with 1 price for each subscription level. I was told last week I couldn't update from 1 product to another, but now if I use 1 product with the 4 prices, I get an error in the portal because 2 of the prices are monthly and 2 are yearly and it throws a duplicate billing interval error. So now I'm trying to use the existing products if there is no limit on switching from 1 product to another but I don't see the "update" button in the portal. Makes me think I'm missing something..
๐ let me take a look
When you created your customer portal session did you specifically pass in the new custom portal configuration you created?
๐ Yeah you either need to pass in the new customer portal configuration when you create the session
OR you can set the customer portal configuration as the default when you create it so it's used by default
ohhh cool! good to know
thank you so much!
you all are kick ass and always answer my questions lol
do you happen to know how to show discounts in the portal? is that something that is possible? like, if a product has "$10 off forever coupon" can I get that to show?
Currently I don't think that's possible since products aren't tied to a specific coupon
but its on the price, so if its showing the price attached, I'd think you could also show any discounts
What do you mean by it being on the price?
the coupon is attached to the price object
I'm using 4 products which each have their own price. I don't understand why the base price is showing but you cannot show any discounts on the price
it seems weird to not be able to control the usage of coupons
Can you share specifically how you're attaching the coupon to the price?
oh sorry, its tied to the product
that option is available when creating a coupon
so I don't know what you mean when you say "products aren't tied to a specific coupon"
are you saying there isn't a backwards relationship or something?
I don't see why you can list the products but not show a discount that has been applied to that product
Yeah let me clarify - the coupon isn't actually tied to the Product
Coupons are tied to Subscriptions/Customers, and you can specify certain restrictions that are checked when that coupon is applied
so to use the portal, we would have to attach the coupon to the customer beforehand so they see the discount? or something..
like if we have set our two yearly plans to be $10 off with a coupon, what is the best way to show that in the portal?
I guess I could attach the discounts to the customer and if they don't choose either one of those options, I can remove the discount? seems hacky but I'm not sure the best option. Marketting loves using those discounts lol
Sorry I missed this last question
Yeah you'd have to have the coupon attached to the Subscription or Customer beforehand if you wanted them to see it in the portal
Alternatively, you could enable promotion codes (and allow your customers to pass in the promotion code themselves), but not sure if that's exactly what you're looking for
olivia-subscription-promotioncode