Closed keyanrazi closed 4 years ago
I'm having the same issue. I'm running Angular 5.0.0, and rxjs 5.5.2. I'm also on ngx-stripe 7.2.0.
ngx-stripe 7.2.0 is built for angular 7. So you have to use an older package version.
in your package.json, under ngx-stripe
change the version to the following:
"ngx-stripe": "^0.8.2",
and it will work
@geethpw , I am using handleCardPayment() in which I am getting this error. And handleCardPayment() is not supported in 0.8.2 version. must have to upgrade..
I will close this now due to inactivity. Sorry for this library to be abandon for such a long time. A new version of the library has been published that should address this issue. Please give it a try. If the problem persists, please fell free to open it again. The new commitment of the team is to answer in less than a week.
Running into an issue with ngx-stripe when trying to submit the form.
StripeElementsComponent.html:15 ERROR TypeError: Object(...) is not a function at SwitchMapSubscriber.eval [as project] (ngx-stripe.js:300) at SwitchMapSubscriber._next (switchMap.js:91) at SwitchMapSubscriber.Subscriber.next (Subscriber.js:92) at FilterSubscriber._next (filter.js:90) at FilterSubscriber.Subscriber.next (Subscriber.js:92) at BehaviorSubject._subscribe (BehaviorSubject.js:28) at BehaviorSubject.Observable._trySubscribe (Observable.js:172) at BehaviorSubject.Subject._trySubscribe (Subject.js:97) at BehaviorSubject.Observable.subscribe (Observable.js:160) at Observable._subscribe (Observable.js:231)
I'm guessing this might have something to do with compatibility on some of my packages, possibly rxjs? But maybe I'm missing some component to run this package correctly.
I'm running Angular 5.2.0, and rxjs 5.5.6. I'm also on ngx-stripe 7.2.0.
Let me know if there is any other information that could be of use to you. Thanks!