Skip to content

Instantly share code, notes, and snippets.

@andyt
Created March 10, 2015 15:28
Show Gist options
  • Select an option

  • Save andyt/2e237c4a3fe44bab7abc to your computer and use it in GitHub Desktop.

Select an option

Save andyt/2e237c4a3fe44bab7abc to your computer and use it in GitHub Desktop.

Revisions

  1. andyt created this gist Mar 10, 2015.
    1 change: 1 addition & 0 deletions stub-stripe-api-error-response.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Stripe.card.createToken = function(form, handler){ handler(200, { error: { type: 'api_error', message: '**TEST** There was a problem with the Stripe API' } }) }