#geo_best-practices

1 messages ยท Page 1 of 1 (latest)

runic muskBOT
#

๐Ÿ‘‹ 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/1478127280957165578

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

cinder spindle
#

hi there, can you send me some example Charge IDs (example format ch_1234) showing the differences you're noticing between card and klarna ones?

#

or actually, the event IDs would be better (evt_1234)

flint swift
#

Sorry I only have examples from prod, are those safe to share here?

cinder spindle
#

yes, you can share object IDs here, other people can't access them without your API keys (which you should definitely never share)

flint swift
#

got it, one sec

#

cc event evt_3T2qziBTqctsRS9u1WVos5GC
klarna event evt_1T4pEiBTqctsRS9uvvgjuAlT

cinder spindle
#

thank you, looking now

runic muskBOT
cinder spindle
#

generally we recommend listening for the refund.updated event instead of charge.refund.updated, but to address your issue, what difference here was causing the problem you experienced?

flint swift
#

I think the issue was that for klarna chare.refunded rerutned pending and was only eventually updated in charge.refunded.updated

azure condor
#

Hello! Taking over for @cinder spindle as they had to step away, give me a minute to catch up ๐Ÿ™‚

#

From what I can see, both events you shared (CC versus Klarna) have refund status "succeeded".

Can you share the first event where status was "pending"? Also, why do you think this is unexpected? This would be the case if the refund needed to be proceeded. Then, once it's successful, we produce an updated event.

runic muskBOT
flint swift
#

sorry in the charge.refunded event
klarna evt_3T4p5ZBTqctsRS9u25JkRyPU
reg cc evt_3T2qziBTqctsRS9u1hdmiPiY

rough fern
#

Hey Geo, changing of the guard time, so I'll be taking over for Jazz.

flint swift
#

yep no worries, was pulled into something myself earlier in the conversation

rough fern
#

I see the same successful status for both of the events above.

Processing time can vary from one Payment Method Type to another. Debit/Credit tend to process nearly instant, others like ACH can take days, while most exist somewhere in between. For Payment Method Types that process async a pending status is set to indicate the process was initiated but has not yet completed.

flint swift
#

in the klarna one under refunds.data, how come the status is still pending? Should I event be looking at that>

rough fern
#

Where are you seeing refunds.data it's not a part of the Event object or the Charge object that I know of.

#

klarna evt_3T4p5ZBTqctsRS9u25JkRyPU shows that the refund as completed.

flint swift
#

on charge.refundede event I see object.refunds.data."0".status = pending

rough fern
#

Are you seeing this in your Dashboard even logs or elsewhere?

The refunds property on the charge object is expandable and only returns when retrieved with expansion so it would not be expected to return in the Event.

flint swift
#

ah I see, yes I see it in the Dashboard

rough fern
#

Hrm... the event object from my end doesn't contain that property at all.
Might need to poke around the Dashboard to investigate further.

runic muskBOT
#

Hello @flint swift, we have sent you a direct message, please check it at https://discord.com/channels/@me/1478161017669288098

  • ๐Ÿ”— The message has instructions on how to grant read and write access to your Stripe Dashboard for our Developer Support team, in order to help you more effectively.
flint swift
#

sorry don't know if I can grant access at this moment