diff --git a/addon/components/stripe-element.js b/addon/components/stripe-element.js index 62d0f8d..56eb194 100644 --- a/addon/components/stripe-element.js +++ b/addon/components/stripe-element.js @@ -75,6 +75,8 @@ export default Component.extend({ if (complete === true) { this.sendAction('complete', stripeElement); + }else if(error) { + this.sendAction('error', error); } }); }