stripe payment - how to suspend a subscription (not cancel) -
stripe payment - how to suspend a subscription (not cancel) -
we want utilize stripe payment system.
our model based on weekly fee billed every 13 weeks. so, user billed 13 weeks @ initial subscription quantity.
our users changing quantity of subscription several times on 13 week billing period , weeks have subscription level of zero.
can set subscription quantity 0 (0), suspend subscription.
for example
$10 per week per subscription unit
first bill 13 weeks, total of $130.
at end of 3rd (3) week, client increment subscription quality 3, weekly charge of $30.
at end of 6th (6) week, client decrease subscription quality 0, weekly charge of $0.
at end of nineth (9) week, client increment subscription quality 4, weekly charge of $40.
so, sec charge (after 13 weeks) is:
bill 13 weeks in advance @ current subscription quantity 4: $40 * 13 weeks = $520
prorate charges
3 weeks * ($30 - $10 (prepaid)) = $60 3 weeks * ($0 - $10 (prepaid)) = -$30 (credit) 4 weeks * ($40 - $10 (prepaid)) = $120total charge: $670 = 520 + 60 - 30 + 120
i'm not sure if math work out laid out here, can handle stuff stripe. there's lot of material on back upwards site , api docs proration.
some basics proration integration guide section onquantity
the update subscription api has bit @ bottom how proration works so in short, yes, should able you're suggesting.
stripe-payments
Comments
Post a Comment