From aa9d88b6397302cdafad8053af8e4f1fa098e228 Mon Sep 17 00:00:00 2001 From: Ivan Vanderbyl Date: Thu, 6 Apr 2017 11:30:24 +1000 Subject: [PATCH] Also send error --- addon/components/stripe-element.js | 2 ++ 1 file changed, 2 insertions(+) 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); } }); }