#john307-portal

1 messages · Page 1 of 1 (latest)

ionic verge
#

@placid pumice can you clarify what it would mean for you for StripeJS to support it exactly?

placid pumice
ionic verge
#

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

placid pumice
#

I was trying to implement that directly in frontend, is that possible ?

#

Since its just generating redirect url

ionic verge
#

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

placid pumice
#

Okie make sense, we just thought we can do it in frontend

ionic verge
#

it can only ever be a backend thing, for security reasons and to prevent abuse or unexpected behaviour