#MikeGreat

1 messages · Page 1 of 1 (latest)

hasty girderBOT
keen lichen
#

So you want to give a 100% discount for Plan A, but then charge them for Plan A when they upgrade to Plan B?

#

The specifics are important here, so please try to be explicit

rapid galleon
#

yes , correct. Currently, when the user upgrade to Plan B , it charges 0 amount. What we want is the prorated amount of plan A minus cost of Plan B

keen lichen
#

I don't think this is possible if you're using a 100% off Coupon on the Stripe side. You would likely have to manually calculate proration on your end and charge it as a one-time Invoice Item when the customer upgrades.

rapid galleon
#

oh ok

#

are there apis for this

#

@keen lichen

keen lichen
#

Apologies for the wait. The serve is busy

#

are there apis for this
For which part?

rapid galleon
#

for calculating proration and charge a one time invoice

#

Also, how will this work for subscription duration

keen lichen
#

No, you would calculate proration on your own, since Stripe doesn't have an option for doing that on free subscriptions

rapid galleon
#

ok, can the invoice be charged immediately

keen lichen
viral grotto
rapid galleon
#

ok

#

@keen lichen charging a one time invoice, how does this impact recurring subscription

viral grotto
#

What do you mean, exactly?

#

A separate one-off invoice or a one off invoice generated from a subscriptions pending items?

rapid galleon
#

@viral grotto "I don't think this is possible if you're using a 100% off Coupon on the Stripe side. You would likely have to manually calculate proration on your end and charge it as a one-time Invoice Item when the customer upgrades."by - @keen lichen how do I do this on the api.
after i have calculated the prorated amount. How to do i charge a subscription immediately with that amount

viral grotto
rapid galleon
#

lastly, once i charge the customer for that Invoice. what will be the recurring subscription amount

viral grotto
#

No, the recurring amount is based on the items in the subscription