#yrocaz
1 messages ยท Page 1 of 1 (latest)
hi @untold laurel
Hi ๐
The refund will be sent pack to the payment used to make the charge.
where can I see if/when this happens?
also, do you happen to know which api event this? charge.refunded?
That is the event that would fire. And you should be able to see the refund in the Dashboard as well as on the original charge:
https://stripe.com/docs/api/charges/object#charge_object-refunds
I see that it says "your customer sees the refund as a credit approximately 5-10 business days later, depending upon the bank" ...
they canceled monday, so within 5-10days, is that why I don't see any activity on the dashboard?
Have you issued the refund?
long and short - if they cancel through billing portal and I have cancel immediately + prorate, will that refund happen automaticlaly? ๐คฃ
No I have not, that's a better question. Do I have to or will it be handled immediately?
Okay so the customer canceled their subscription via the billing portal?
correct.
Do you have the sub ID?
sub_1LYadOLMszuQvPVpc31V9KB6
let's start here bc now I see have 3 issues of this
2 customers with balances, both from canceling subs.
via portal.
I would like for these refunds to happen automatically.
Canceled subscriptions create customer balances. You can create refunds yourself but we don't have a setting for it (sorry for missing that bit initially)
oook. unforutnate lol
is there a way to do this via api so it's automated on my end?
i'm reading the guide now however its saying to refund a payment, I only want to refund the balance.
Yeah you would modify the balance first: https://stripe.com/docs/invoicing/customer/balance?dashboard-or-api=api#modifying
and then manually issue the Refund using the amount in the Customer balance: https://stripe.com/docs/api/refunds/create
You can specify the amount of the Refund in the API call
ok so:
-
they cancel, I allow immediate + pro rate, so their account is automatically credited the difference.
-
I call that customer's balance
-
I initiate a refund, using that balance as the amount.
-
done?
You will want to zero out the customer balance when the refund request is successful.
Otherwise it'll get applied to their next Invoice
there has to be a better way than this...
it looks like there's an 1hr+ gap between them canceling and the details being updated
This is the current state of the subscription cancellation flow. It is a known pain point
well at least the discord chanel isn't a known pain point! you've been very helpful, ty.
Happy to shed what ๐ก we can ๐