#Gajendra.kumar-acss
1 messages · Page 1 of 1 (latest)
@gentle knoll note that your message above has your real email address in it and this a public server — you likely want to delete/edit the message
for the actual question, the function definitely exists : https://stripe.com/docs/js/payment_intents/confirm_acss_debit_payment
what angular library exactly are you using?
thank you for email information.
I am using Angular 8
but getting Property 'confirmAcssDebitPayment' does not exist on type 'Stripe'. Did you mean 'confirmSepaDebitPayment'?
error
I know yes, you said that.
what library are you using for Stripe specifically?
we don't have an Angular library so you must be using some specific third party library for Stripe.
my guess is it is out of date and needs to be updated
<script src="https://js.stripe.com/v3/"></script>
hmm that function definitely exists though( as I linked above). So not sure what you would get this error.
can you show me how you initialise that stripe variable in your code?
var stripe = Stripe('pk_test_key');
and other method like confirmCardPayment, confirmSepaDebitPayment and move available with this variable
hmm, that's really strange
do you have a link to your page where you're having this issue so I can check it in my own browser?
ah ok. Is this just a Typescript error?
actually it is on my local machine so
if so you are probably using an old version of the types
what binding do you use for the types?
I am using typescript 3.4.5
no I mean, where do you get the types for stripe.js from?
we have official ones at https://github.com/stripe/stripe-js which are up to date, maybe you're using a third party?
I have used npm install --save @types/stripe-v3
I'd suggest updating it to the latest version then!
actually that package looks out of date(it's third party)
npm install @stripe/stripe-js
you should use our official ones linked above ; or you should disable Typescript checking on that line
so I use this one
I think so!
ok let me try with this
Yes error is not coming now