←back to thread

1134 points mtlynch | 1 comments | | HN request time: 0.202s | source
1. somishere ◴[] No.22951940[source]
For those that are working with SPAs or similar and are not overly affected by fraud, I've put together a simple example showing how to sandbox Stripe.js code and unload it when you're done. No secondary domains, no reverse engineering of the Stripe.js library. It also maintains a reasonable level of trust in Stripe, who deserve it.

https://codepen.io/theprojectsomething/full/ExVNEoZ