#Kacper_Banasik-transfers
1 messages ยท Page 1 of 1 (latest)
Hey!
Can you share the ID (req_xxx) of the failing API request? 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.
sure just a second
will id of the event be ok?
bc i can't find id of request
just to add we are working on test env
evt_1LeaRIJSpHh6jgs5dD3PmGMi
nvm got it
req_bSnGFwk2y6GeqK
Taking a look
Seems like you're not using the source_transaction value you're expecting
And creating a new Transfer that references a py_xxx that has already been used
checkout_session.payment_intent.charges.data[0].id
This event evt_1LeaRIJSpHh6jgs5dD3PmGMi?
yea
I assume you're looking up the Checkout Session object and expanding the payment_intent field separately
correct
stripe.PaymentIntent.retrieve(session.get('payment_intent'))
session = event['data']['object']
Hey! Taking over for my colleague. Let me catch up.
sure take your time ๐
While analyzing this event evt_1LeaRIJSpHh6jgs5dD3PmGMi I see that Stripe did 3 attempts to deliver it.
The first one, your endpoint responded with 500 => here it looks like you created the transfer, but your server responded with 500 for another exception
The second one, your endpoint responded with 500 also
The third try, your endpoint responded with 400
You can see in your dashboard, the response that your endpoint responded (Analyze the event sent at Sep 5, 10:13 AM)
https://dashboard.stripe.com/test/events/evt_1LeaRIJSpHh6jgs5dD3PmGMi
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.