#Hello
1 messages · Page 1 of 1 (latest)
i wouldn't really think of it in terms of 30 / 31 days.
The prorated amount is calculated down to the second when the subscription is cancelled. So you would find the amount / per second based on current_period_start and current_period_end . And then you can calculate the unused time from when the subscription ended/cancelled.
This may be helpful : https://stripe.com/docs/billing/subscriptions/prorations
No the Stripe processing fee is not considered. Stripe does not return the processing fee. https://support.stripe.com/questions/understanding-fees-for-refunded-payments
ok, 1st and 2nd questions are clear
For the 3rd question lets take the following example:
subscription Amount US$108.88
Refunded US$91.22
Fee US$3.46
Net US$14.20
Here refund/prorated amount is calculated on $105.42 (amount-fee) i.e 108.88-3.46
oh sorry, my bad, i kinda misunderstood the question. Yes, the Stripe fee is considered. You would use the full amount which the customer is charged to calculate the proration