#s0viet - coupon update

1 messages · Page 1 of 1 (latest)

untold swallow
silver citrus
#

What should be proration_date - just the creation of subscription?

untold swallow
#

You can only back date to the start of the current period IIRC, but yea if its during the first billing cycle that works

#

the default is "now"

silver citrus
#

Yup because generally the subscription while applying the coupon is not started

untold swallow
#

give it a whirl in test mode

#

should behave exactly the same

silver citrus
#

okay, thanks!

untold swallow
#

you can also send those parameters to the upcoming invoice endpoint to see how they'll behave before updating the sub

silver citrus
#

ok, when I tried making always_invoice, upcoming invoice is not returning me the costs...

#

Is it because they are somehow calculated differently?

untold swallow
#

can you be more precise? which "costs"?

silver citrus
#

we were fetching total amount ,tax amount etc from upcoming invoice

untold swallow
#

Can you share the request ID so i can look at the parameters?

silver citrus
#

Sorry, I am out now - I am going to debug it and if there would be a trouble start new thread eventually... maybe just some configuration step I am missing. Thanks for help anyway

untold swallow
#

OK sounds good, good luck with it!