Skip to content

Instantly share code, notes, and snippets.

@rwillig
Created Mar 11, 2015
Embed
What would you like to do?
(defn stripe-init! []
(do
(.setPublishableKey js/Stripe @stripe-pub-key)
(reset! stripe-ready? true)))
(defn ensure-stripe []
(.getScript js/jQuery stripe-url #(stripe-init!)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment