|
|
|
|
|
by ique
4063 days ago
|
|
With the old Stripe.js, you serve up the form but the Stripe javascript takes over the form and posts directly to Stripe, so your servers never see the data. The new Stripe.js will render an iFrame, (Edit:) through which Stripe will send the data, which again posts to directly to stripe. They basically behave the same way and will look the same way, the only difference is that the iFrame is in it's own Javascript "domain" so that if your site is infected with malicious javascript it can't take over the POST to stripe as easily (although that is debatable). The former requires really high security requirements now and the latter requires almost none. |
|