#rashid_docs
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1362125308806955159
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, are you looking for https://docs.stripe.com/customer-management/integrate-customer-portal?lang=java#configure ? If not, can you reword your question please?
I don't want to integrate custom customer portal instead I want to use stripe hosted portal, I just want to retreive customer portal link from my connected accounts programatically
These are not custom portal, it is still strope hosted portal but instead of using the Dashboard, you can use Java in this case.
As for the Connect Part, how are you creating these Portal Sessions?
Portal sessions? for example this is my connected account under test environment acct_1QrmySFjE5pdMBjP
and this is the Customer portal link I can see in this account https://billing.stripe.com/p/login/test_cN218a0r73U39Z6144
I just need to retrieve above mentioned link via sdk without manually going to the connected account
so that I can save it in database locally and send to our donors so that they can manage their subscription
No, there is not a way to retrieve that programatically, https://docs.stripe.com/api/customer_portal/sessions
what is this id for? test_cN218a0r73U39Z6144 can I retreive this id programatically?
No
what is the correct way to send customer portal url to donors in my case? I have connected accounts and some custom accounts
That is the portal login link.
You can use https://docs.stripe.com/api/customer_portal/sessions/object#portal_session_object-on_behalf_of when creating the Portal Session programatically.
With Custom accounts, the objects would belong to your Platform account I suspect so you would not need to pass that on_behalf_of flag
sounds good. Thank you!