#fake_unexpected

1 messages ¡ Page 1 of 1 (latest)

wary coveBOT
#

👋 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.

modest folioBOT
gaunt gull
#

Hello! Can you give me the ID of the Event you expected to contain this information?

green vigil
#

"id": "evt_1P1LYbLnEhXE1aQgA87SJtN5",

#

check this

gaunt gull
#

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.

green vigil
#

but why it isnt there in the evidence json? im actually listening to it and extracting those values from evidence

gaunt gull
#

It's not there because that information hasn't been supplied as evidence for this Dispute yet.

green vigil
#

who adds that info ? customer?

#

so you mean to say while creating this dispute, customer didnt provide his email and name somewhere in evidence?

gaunt gull
#

The name and email were provided during the original Charge, but that information hasn't been included in the evidence for this Dispute yet.

green vigil
#

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

gaunt gull
#

You can't in this case. You update the Dispute with evidence after it's created.

green vigil
#

but for other dispute.created event, we receive customer email inside data.object.evidence.customer_email_address

gaunt gull
#

Yes, sometimes Stripe will pre-fill some evidence, but that's not always going to be the case.

green vigil
#

i see data.object.evidence.customer_email_address like 99% of time pre populated

#

this was an exception

gaunt gull
#

Okay.

green vigil
#

one quick ques, if we use get charge api with charge id, will it have email and name like all the times?

gaunt gull
#

No, only if those details are supplied. It's possible to create a Charge without a name or email.

green vigil
#

whats the relation between charge and payment intent?