3 ms·
Not yet, but the amount of JavaScript necessary is really small. Essentially: Essentially: window.Stripe('<your key>').redirectToCheckout({sessionId});
by jenanwise 7y ago
Not yet, but the amount of JavaScript necessary is really small. Essentially:
Essentially:
window.Stripe('<your key>').redirectToCheckout({sessionId});
- dfabulich 7y agoPlus 33KB of Stripe's own JS (123KB after ungzipping). When using server integration, shouldn't the server be able to compute the link itself? Why does the server integration require Stripe JS at all?
- CodeWriter23 7y agoI'm gonna go out on a limb here and guess there's some Panopticlick/Recaptcha style human detection / fraud prevention going on in the JS.
- grey-area 7y agoWhy tho? It seems odd to require client side code (probably rendered by the server anyway) just to do a redirect, servers are perfectly capable of that. Doesn't the server have the sessionId and public key anyway? Why do you do it this way?