Created
December 3, 2013 21:32
-
-
Save andrewpthorp/7777829 to your computer and use it in GitHub Desktop.
Stripe configuration for closed event.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var handler = StripeCheckout.configure({ | |
key: 'pk_your_public_key', | |
token: function(token, args) { | |
// Use the token to create the charge with a server-side script. | |
}, | |
closed: function(e) { | |
// The popup was closed. | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment