#rocketkittens_webhooks
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/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.
- rocket_checkout-event, 8 hours ago, 5 messages
hello! it's not possible to trigger the customer.source.expiring webhooks. In most cases, you shouldn't need to, Stripe works with banks to update your customer's cards where relevant and applicable : https://stripe.com/resources/more/what-is-a-card-account-updater-what-businesses-need-to-know
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
did you check the status of the Charge object?
can you give an example request id where you got an error so that i can take a look?
it'd look like req_xxx [0]
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
there're failed charges also. So you should also check if the status of the charge is succeeded https://docs.stripe.com/api/charges/object#charge_object-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
without an example, i can only give general recommendations based off a guess as to what could have possibly gone wrong
we'll be happy to answer any follow up questions or issues you run into later ๐
so i should only attempt to refund a charge if its status: "succeeded" and probably refunded: false
just double confirming because its so late
i'm not familiar with the possible scenarios for your application, but is it possible that it could already be partially refunded too? https://docs.stripe.com/api/charges/object#charge_object-amount_refunded
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i'll consider that, but shouldnt be the case, im trying to do full refund only
nothing complex here