Created
March 10, 2015 15:28
-
-
Save andyt/2e237c4a3fe44bab7abc to your computer and use it in GitHub Desktop.
Stub a Stripe API error response
This file contains 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
Stripe.card.createToken = function(form, handler){ handler(200, { error: { type: 'api_error', message: '**TEST** There was a problem with the Stripe API' } }) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment