#GHOST - Customer Portal
1 messages ยท Page 1 of 1 (latest)
Thanks
So I have a dashboard where users can purchase subscriptions, a "project" has a subscription on stripe. On the dashboard they can change the name of their project so they can tell the difference (if they had 5 things called discord bot it would be impossible to keep track of what one is what which does matter)
on the stripe portal I used to call the subscription names the name of their project but was unable to change the subscription name after it was made
So I was suggested by @karmic swallow to instead use the description field on the subscription
works great in checkout
you can see I added a description of Project name: <project-name>
but on the customer portal
description doesn't show at all
was wondering if that is not a feature yet (as I believe descriptions are a new thing) or if there is some way I can turn that on
as I need a way for people to differentiate projects on the stripe portal too because otherwise they won't know what one is what which might cause a issue when cancelling for example
Ah I figured it out, I was setting the wrong property
though the stripe javascript sdk doesn't have it typed right now so will need to get that fixed
Sorry it got pretty busy here for a bit. I'm glad you were able to find the answer yourself though ๐
No worries, will see if there is an issue/pr on the stripe sdk if not will try and make one myself
looks perfect on the customer portal, thank you all for the help!
Great! Happy to be a sounding board/rubber duck ๐ฆ
no sooner had I finished writing the issue but I realised I was on v8 but latest is v9 and that has the correct typings ๐
so all sorted!
Beautiful! But devs like you who research and generate thoughtful issues help improve our libraries so thanks!