I hope Stripe developers didn't write this code. I got the movie for free, jesus ... http://imgur.com/a/hf8FZ - and I didn't get a job after my interview with Stripe earlier this year.
1) Open up the chrome developer tools
2) On the sources tab, set a breakpoint @ line 69, the one saying "if ( response == 'lacey' ) {"
3) Reload the page
4) Open the console tab, type response = 'whatever'
5) Go back to the sources tab and hit the Play button
6) Enjoy movie
Anyone feel like this is Sony testing The Internet on how we behave if they give us nice things, like streaming movies online right when they are released without DRM?
It must've been broken on the server too then? I call BS...
The way stripe checkout works, that token is passed to your server and you do an API request to stripe with the token. The token merely represents your card. The charge is done on the server.
I'll take the downvote rather than pile-on with criticism that is almost certainly misplaced. I find it very unlikely the GP downloaded the movie for free. If i'm wrong, I'll gladly retract, but the presence of the test key in the comments is hardly an indication that it'll work on the server.
That you posted this comment is a good indicator that Stripe made the right decision not to hire you. It shows a lack of professionalism, judgment, maturity, etc.