Skip to content

Commit

Permalink
Also send error
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvanderbyl committed Aug 22, 2017
1 parent ad41d55 commit aa9d88b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addon/components/stripe-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export default Component.extend({

if (complete === true) {
this.sendAction('complete', stripeElement);
}else if(error) {
this.sendAction('error', error);
}
});
}
Expand Down

0 comments on commit aa9d88b

Please sign in to comment.