#Ronit

1 messages · Page 1 of 1 (latest)

keen creekBOT
quartz pebble
#

Hi there, can you share with me the details of this error?

severe echo
#

yes

#

let me share you

#

processPayment failed: Your card's expiration year is invalid.

#

so does the paymentIntent Id will expire after this error or i can retry with same paymentIntent Id?

quartz pebble
#

No there's no expiration for PaymentIntent

#

You can pay the PaymentIntent with another paymentMethod

severe echo
#

ohk payment method is ready to use as many as i want .

#

what is the error code 9020

quartz pebble
#

Where do you see the error code?

severe echo
#

i am getting this error : Error canceling payment: collectPaymentMethod could not be canceled because the command has already been canceled or has completed. actually after getting error of card is expire i am pressing cancel payment where this error comes up

quartz pebble
#

Do you have the PaymentIntent ID?

severe echo
#

yes

#

pi_3NpQ9I4DfIvvXFPZ1lPKM1vG

quartz pebble
#

Thanks for waiting, discord is busy today

#

Are you trying to cancel the cancelable returned from collectPaymentMethod?

severe echo
#

i want to retry with existing paymentIntentId for make payment with another card so can i reuse paymentIntent?

#

or need to create a new one and proceed with that?

quartz pebble
#

Yes you can resue the paymentIntent

severe echo
#

if i can reuse does I need to call retrieve payment Intent method for that?

quartz pebble
#

I don't think that's necessary, you can just call collectPaymentMethod with the same PaymentIntent.

severe echo
#

ohk

#

because, i am calling using client scret that are generated on backend so i asked about it

quartz pebble
#

You can use the same client secret