#beastboy_subscription-refund

1 messages ¡ Page 1 of 1 (latest)

errant basinBOT
#

👋 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.

polar perchBOT
#

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.

jolly solstice
#

@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

tranquil schooner
#

If I'm okay just finding the most recent charge, what are the fields I need to check? Just if paid = true?

jolly solstice
#

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

tranquil schooner
#

got it