#john307-portal
1 messages · Page 1 of 1 (latest)
@placid pumice can you clarify what it would mean for you for StripeJS to support it exactly?
Hi thanks for your response. Looking at this doc https://stripe.com/docs/js it doesn't show anything to do with the Billing Portal
yep, indeed
not sure what it would need? The portal is just a URL, you create the object on your server and then just do a 3xx redirect to that URL to send the user to it
not sure what stripeJS would/could add exactly
I was trying to implement that directly in frontend, is that possible ?
Since its just generating redirect url
no, it requires a backend server to generate the URL using your secret key
you should authenticate the user so you know which Customer they are for example before generating the link, which means it has to happen on the backend
Okie make sense, we just thought we can do it in frontend
it can only ever be a backend thing, for security reasons and to prevent abuse or unexpected behaviour