#ninjaparade-Charges
1 messages · Page 1 of 1 (latest)
Hi, are you able to share the request id where you are seeing this issue? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Thank you, looking at the request now
thank you, I am sure it's something I'm missing but the docs basically say source and customer are optional, so I'm assuming if a default payment method is attached it should be used?
Hmmm, I need to test something on my test environment, please give me a few minutes
no sweat, thanks for your help
I see the following flow
- Set up created for that payment method
- Attempts to charge the customer
Is that correct?
I created the customer, I added a pyament method via a payment intent, set it as the default then attepmted to make a charge
but yes, you're correct
ok, trying to replicate here
sounds good
Ok so the reason as to why you're seeing this error is because you're using legacy Charges API with a SetupIntent and PaymentMethods, If you create a PaymentIntent is should work as expected, https://stripe.com/docs/api/payment_intents/create