Just a quick edit to the script to re-enable the purchase button if the Stripe modal is closed.<p><a href="http://jsbin.com/alesuk/16/edit" rel="nofollow">http://jsbin.com/alesuk/16/edit</a>
Please enlighten if I'm mistaken but is this not, like, a microcosm for a certain current culture of unproductive client MVC fetishism? What do you think is easier to maintain, the officially supported data-attribute based implementation here:<p><a href="https://stripe.com/blog/stripe-checkout" rel="nofollow">https://stripe.com/blog/stripe-checkout</a><p>or the model/controller code in the article? Maybe I've missed the point.