#drew_wallee
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Thanks for sharing, let me check
Based on the shared requestId, you are passing the mandate_data in fact
https://dashboard.stripe.com/test/logs/req_YrCkhMjDO9yBYr
the weird thing is that i don't have any references to mandate_data in my code
Can you inspect the request your code is sending to Stripe API and log it?
yeah, i've taken a look at that and there isn't a payload which looks like this. and to add to the mystery, it appears that a successful payment is made as part of the same request: evt_3Lk2ZW4Y6LEsXTCA1LN5HaF1
well at least the intent is created
The eventId you shared it's related to another PaymentIntent (pi_3Lk2ZW4Y6LEsXTCA10HEphz4), and the event payment_intent.created means just the creation not meaning the payment was successful. You need to listen to the event payment_intent.succeeded instead
https://stripe.com/docs/api/events/types#event_types-payment_intent.succeeded
This request id is for this PaymentIntent in fact: pi_3Lk1ay4Y6LEsXTCA09ceAQRi
ah, thanks
You need to analyze what part of your code is adding to the request body the mandate_data fields
If you can share your code, may be I can help you further investigating
thanks for the offer. I think i'm getting myself confused!
and thank you for taking a look
Don't hesitate to come back if you have any follow up questions 🙂