Hi, i’m trying to build a monthly subscription app and i found that i can use Stripe. I’m trying to use this tutorials
(https://angularfirebase.com/lessons/collect-payments-with-angular-stripe-checkout-and-firebase/
https://angularfirebase.com/lessons/angular-stripe-payments-part-2-firebase-cloud-functions-backend/)
and at some point i need to declare var StripeCheckout:any; in typings.d.ts. Can some explain what is typings.d.ts and how i can solve this issue?
(if i try to do it without it’s just going to say Cannot find name ‘StripeCheckout’.)
this.handler = StripeCheckout.configure({
key: environment.stripeKey,
locale: 'auto',
token: token => {
this.paymentSvc.processPayment(token, this.amount)
}
})
Thanks!