#fake_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1225553198450872350
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! Can you give me the ID of the Event you expected to contain this information?
Looking...
The name and email for that customer are available on the Charge referenced in that Dispute Event. You can retrieve those details and submit them with the other evidence.
but why it isnt there in the evidence json? im actually listening to it and extracting those values from evidence
It's not there because that information hasn't been supplied as evidence for this Dispute yet.
who adds that info ? customer?
so you mean to say while creating this dispute, customer didnt provide his email and name somewhere in evidence?
No, you do. See here for more details: https://docs.stripe.com/disputes/how-disputes-work#responding-to-a-dispute
The name and email were provided during the original Charge, but that information hasn't been included in the evidence for this Dispute yet.
no wait. for dispute.created event, we receive email in data.object.evidence.customer_email_address
how can we provide evidence before the dispute was created
You can't in this case. You update the Dispute with evidence after it's created.
You may want to review this page which explains how Disputes work in detail: https://docs.stripe.com/disputes/how-disputes-work
but for other dispute.created event, we receive customer email inside data.object.evidence.customer_email_address
Yes, sometimes Stripe will pre-fill some evidence, but that's not always going to be the case.
i see data.object.evidence.customer_email_address like 99% of time pre populated
this was an exception
Okay.
one quick ques, if we use get charge api with charge id, will it have email and name like all the times?
No, only if those details are supplied. It's possible to create a Charge without a name or email.
whats the relation between charge and payment intent?