Skip to content

Commit

Permalink
Also send error
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvanderbyl committed Apr 6, 2017
1 parent 47e8fac commit e707814
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 e707814

Please sign in to comment.