#nitin

1 messages · Page 1 of 1 (latest)

potent orioleBOT
prisma crypt
#

Hi there!

#

Looking at the request ID you shared (req_BVyAyL8Zhr12EE).

#

You are trying to charge a customer who has no payment method. So it's expected to fail.

#

And the code you shared is using PaymentIntent, but the request you shared is a Charge, so I'm confused.

sinful magnet
#

okay, so do i need to create a customer wiht payment method?

#

the code here is not the one working with the request? is that what you are trying to sugges?

prisma crypt
#

The code you share and the request you shared are completely different. Are you sure you sent the correct request ID?

sinful magnet
#

allright, i will look into it

#

becasue the request is for Charges and my code is for Payment Intentn?

prisma crypt
#

Correct, the two are completely different, so it's hard for me to understand what you are trying to do.