#beastboy_subscription-refund
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/1275495873354272768
đ 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.
- beastboy_subscription-upgrade, 3 minutes ago, 17 messages
- beastboy_code, 6 days ago, 11 messages
- beastboy_best-practices, 6 days ago, 8 messages
@tranquil schooner it's up to you really, no best practice as it depends so much on your individual situation and business model. Like if you have a lot of unrelated payments on that Customer you don't want to just find the most recent Charge and refund that. You also need to handle cases where they had a credit or a coupon maybe and their Charge is for less than what you want to refund so you have to refund multiple Charges.
I'm sorry, I don't really have any premade guidance here and it's up to you to figure out
beastboy_subscription-refund
If I'm okay just finding the most recent charge, what are the fields I need to check? Just if paid = true?
that works yes. And then I'd check amount to ensure it covers what you need. I'd recommend playing with this on your own in Test mode and trying various scenarios
got it