#deepak-customer-portal
1 messages · Page 1 of 1 (latest)
Did you create a subscription ?
yes
everything that stripe docs say .. I skipped building the "Test" portal, and doing the "Live" directly ?
Do you mean you created a live subscription to test customer portal?
yes
can you share the concrete examples of what you did?
Request IDs would help
https://support.stripe.com/questions/finding-the-id-for-an-api-request
I have built an AI slackbot to answer questions and create content.
I m integrating stripe's customer-portal link inside my slackbot.
Upon click of "Buy Subscription" button inside slackbot, I create stripe's customer object & session object. Then click the portal-URL to get the user login.
Do u want me to share the associated request identifier ?
sure
It seems like you've created customers and then billing portals for those customers
Can you share requests where you created subscriptions for them?
deepak-customer-portal
My expectation is that customer-portal link will list all the products/subscription and then customer will pick one.
Since the customer-portal link is not listing the subscription, hence that req is not getting triggered
No, customer portal is for customers to manage "existing" subscriptions
so the problem is listing the product/subsc in the portal-link ?
it doesnt' list all products the customer can subscribe to
so the only option for me is to list out all the product-links (2 per product for monthly/annual subscription) and then let the customer pick one and run
or can you recommend a complete subscription management service ?
so the only option for me is to list out all the product-links (2 per product for monthly/annual subscription) and then let the customer pick one and run
Correct
You could use pricing table to list available products
https://stripe.com/docs/saas#pricing
OR use payment links to create buy buttons for products you're selling & add them to your webpage
https://stripe.com/docs/payment-links/buy-button
thanks @granite perch
NP! 🙂 Happy to help
one last ...
Do I need to create both customer and sessions objects
or
only customer object should do the task ??
Depends on what you're trying to do, are you trying to enable customers to manage their existing subscriptions and payment methods?
enable customers to manage subscription & payment methods
Gotcha. then yes, you might need both.
There are multiple ways to enable customer portal though, one that requires no coding versus the one you're currently using which is creating the portal by calling the API
I'd recommend reading through these docs and choose what's best for you
https://stripe.com/docs/customer-management
https://stripe.com/docs/customer-management/activate-no-code-customer-portal
https://stripe.com/docs/customer-management/integrate-customer-portal