richnologies / ngx-stripe

Angular 6+ wrapper for StripeJS
MIT License
219 stars 77 forks source link

Observable.combineLatest is not a function #52

Closed bryterdays closed 5 years ago

bryterdays commented 5 years ago

Hi there

Trying to use ngx-stripe module in my project. When page is loading a client error is thrown at line 634 from file ngx-stripe.js

var /* @type {?} / elements$ = Observable$1.combineLatest(this.elementsOptions$.asObservable(), this.stripe$.asObservable()).switchMap(function (_a) {

Any idea how to solve it ?

Thanks

Angular: 6.1.10 ngx-stripe : 0.8.2 rxjs : 6.3.3

bryterdays commented 5 years ago

wrong version installed run npm install ngx-stripe@next --save