#Ronit

1 messages · Page 1 of 1 (latest)

silver emberBOT
peak wigeon
#

A PaymentIntent won't be cancelled automatically unless the user decides to cancel it.

pastel hull
#

in my case i did obeserved that cancel payment is calling itself from SDK

peak wigeon
#

what's the payment intent id?

pastel hull
#

pi_3No4yu4DfIvvXFPZ0fDGceIr

peak wigeon
#

I dont see any request that cancels this pi

pastel hull
#

so does it because of the credit cacrd is expired and payment cannot made with it?

peak wigeon
#

What makes you think that this PaymentIntent was cancelled?

pastel hull
#

i am just getting alert that credit card year is expired and when i continue with that action payment Intent id is cancels

peak wigeon
#

What do you mean by payment Intent id is cancels ?

pastel hull
#

giving me error instead of try await self.collectCancelable?.cancel() this function

peak wigeon
#

As far as I can tell, this PaymentIntent wasn't cancelled.

#

You can only cancel a PaymentIntent with a API secret key, and you can't do it from frontend with a publishable key

pastel hull
#

ok i will check does the any other sdk commands are calling or not

#

thanks for help