Skip to content

Commit e707814

Browse files
committed
Also send error
1 parent 47e8fac commit e707814

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addon/components/stripe-element.js

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ export default Component.extend({
7575

7676
if (complete === true) {
7777
this.sendAction('complete', stripeElement);
78+
}else if(error) {
79+
this.sendAction('error', error);
7880
}
7981
});
8082
}

0 commit comments

Comments
 (0)