#Nippun
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
I m getting response while charge api
'Cannot charge a customer that has no active card'
could you please share the request id? here's how you can find one https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I would need the request id if you don't mind
req_jqiC5cCoFCLd1W
looking at it
please can you take a look
first of all why are you using the Charges API?
to take the payment from customer
this should never be your goto API since it's being deprecated for the sake of Payment Intents
please read through this https://stripe.com/docs/payments/quickstart
We have Stripe customer id using that we need to charge customer by the api
no need to go on stripe page
Hello ๐
Stepping in as tarzan needs to step away soon
The customer doesn't have a valid source that charges API can charge, Hence the error.
It seems like the customer does have attached PaymentMethods.
PaymentMethods API doesn't work with Charges API, so you should use PaymentIntents API instead.
https://stripe.com/docs/payments/save-and-reuse?platform=react-native&ui=payment-sheet#charge-saved-payment-method