#ravinder_webhooks

1 messages ¡ Page 1 of 1 (latest)

dim ginkgoBOT
#

👋 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/1263480377712971838

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

junior birchBOT
#

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.

slender blade
#

Hello

oblique vessel
#

Hi

slender blade
oblique vessel
#

can you confirm that either i use charge id or payment intent id, i will get same refund list?

slender blade
#

If you use that ID to retreive the object and expand refunds?

#

Yes, refunds should always appear in reverse chronological order when provided via the API

#

Should be easy to test that as well

oblique vessel
#

reverse chronological order means sorted by date, right?

slender blade
#

Yes

oblique vessel
#

in desc

#

in decending order

slender blade
#

Yes

oblique vessel
#

do you it is valid user case where multiple account manager can create refund for same payment intent?

slender blade
#

Not sure what you mean by that?

oblique vessel
#

i want to make sure that i apply right refund and in correct order when get "charge.refuned"

slender blade
#

What does "apply" mean?

oblique vessel
#

apply means refund amount on website too

slender blade
#

Okay so you are talking about how to show these refunds in your own UI?

#

And want to make sure they are in the right order?

oblique vessel
#

nope, i also refund amount from order on refund to match it with stripe payment intent

#

i want to prevent race condition if multiple refund generates continuosly for same payment intent, possible by multiple stripe account user who has access to same account

slender blade
#

Sorry, I don't understand. You can't prevent refunds from happening if triggered via the Dashboard.