#rocketkittens_webhooks

1 messages ยท Page 1 of 1 (latest)

cloud forgeBOT
#

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

๐Ÿ“ 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.

rough trellis
forest trench
#

interesting. i have another question:

if i want to refund the past transactions for a customer from a date, which api and or fields should i look for?

#

i have tried to list charges from a date and then issue refunds on them but i got errors on some of them when i tried so i want to confirm if this is right way

rough trellis
#

did you check the status of the Charge object?

forest trench
#

no

#

what status/condition should i check for?

rough trellis
#

can you give an example request id where you got an error so that i can take a look?

forest trench
#

actually i just realized i am checking for refunded ===false on the charge objects returned from stripe.charges.list

#

i dont have example request beacuse i've deleted the test data a while ago, this is from a few days ago, i am returning to the issue today

rough trellis
#

without an example, i can only give general recommendations based off a guess as to what could have possibly gone wrong

forest trench
#

appreciate it alot, i will test it and come back later

#

so im better prepared

rough trellis
#

we'll be happy to answer any follow up questions or issues you run into later ๐Ÿ˜„

forest trench
#

so i should only attempt to refund a charge if its status: "succeeded" and probably refunded: false

#

just double confirming because its so late

rough trellis
forest trench
#

i'll consider that, but shouldnt be the case, im trying to do full refund only

#

nothing complex here

cloud forgeBOT