#s0viet-subscription-total

1 messages · Page 1 of 1 (latest)

short jasper
#

Hello! Do you mean for a single billing period?

hollow burrow
#

Yup, just to display the user how much we would bill right before payment form

short jasper
hollow burrow
#

Hmm I saw many times this can be done automatically, for example if user changes the billing country right before the payment

#

So let's say our customer has country set to USA / CA and then after creating subscription changes billing country to France - we should be able to show the user current price and tax.

short jasper
#

saw many times this can be done automatically
I'm not aware of any I'm afraid

hollow burrow
#

i can send you example right away

#

Oh, wait, just noticed the tax is changing but price not... ok makes sense, sorry

short jasper
#

Yeah I'm not even sure a billing address change would trigger prorations (and thus an invoice)

hollow burrow
#

I would rather block changing it, but only good to display the Tax + price as it would be informative for the user

#

anyway, if we create subscription, we can immediately ask for upcoming invoice right? and parse the numbers to the user?

short jasper
#

Yep, exactly. Pass the ID with the subscription parameter

hollow burrow
#

Ok, just one scenario to be sure -> user creates subscription, doesn't pay for it. Refreshes the page, we do not track this subscription -> the user creaates another one

Which invoice would be fetched, always the newst?

short jasper
#

Well they'd be separate Subscription objects, right?

hollow burrow
#

yup

#

ok, I got it - we pass the id

#

nevermind then, thank you for helping