richnologies / ngx-stripe

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

In the latest version (7.4.0) HandleCardPaymentOptions interface does not have a "type". #68

Closed BjornGameDev closed 4 years ago

BjornGameDev commented 5 years ago

The handleCardPaymentOptions interface does not have a 'type'.

projects/ngx-stripe/src/lib/interfaces/payment-intent.ts:

export function isHandleCardPaymentOptions(
  handleCardPaymentOptions: any
): handleCardPaymentOptions is HandleCardPaymentOptions {
  return 'type' in handleCardPaymentOptions;
}
richnologies commented 4 years ago

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.