#bugkiller.

1 messages ยท Page 1 of 1 (latest)

feral elkBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

lilac bluff
scarlet sedge
#

what I'm saying is

#

let's say user is on subscription for $27 / month now

#

user wants to upgrade the subscription for $40 / month

#

then how much money user will pay at this time

#

Once user tries to upgrade, we wanted to display how much will be paid today (due to subscription upgrade or downgrade)

lilac bluff
#

Yes, that's what you can do using the information i shared

scarlet sedge
#

Ok, thanks for your help. let me try it out ๐Ÿ™‚

lilac bluff
#

The amount depends on the price difference, the remaining time for proration, etc

scarlet sedge
#

from this invoice object

#

which field should I consider to see how much will be paid at the moment

#

'total' ?

#

or 'amount_paid' ?

lilac bluff
#

Not amount paid, since there is no payment here

scarlet sedge
#

then which field should I check to get how much will be paid due to subscription update

#

maybe 'amount_due' ?

lilac bluff
#

It depends what you want to show, probably total or amount_due for example

scarlet sedge
#

what's the difference between those 2 fields?

lilac bluff
#

amount due might be reduced by a customer credit balance, for example

#

if they have previous prorated credit

#

they might have an invoice for total 20 USD but a 15 USD credit makes amount due 5 USD

scarlet sedge
#

so amount_due is what user will pay at the moment for the subscription change ?

feral elkBOT
lilac bluff
#

Correct -- you might also want to use proration_date to control for specific timing for both the preview and actual change, ie set it to the start of the next day

scarlet sedge
#

proration date must be now cuz user is upgrading now

lilac bluff
#

Sure, thats fine, but you can set it even 15 min in future

scarlet sedge
#

I think enough to use the amount_due then for my purpose as I guess

lilac bluff
#

Because if you don't set it at all the previews and actual payment could be different by a small amount due to the time difference

#

if you happen to roll over the edge of some rounding

scarlet sedge
#

let's say another scenario

#

you have now subscriptoin for $27 / month but it's cancelled

#

but you still in a cancellation period

#

I mean you made subscription on 2nd/Dec and cancelled on 10th/Dec

#

then you will have right access until (2nd/Jan cuz monthly )

#

now 13th/Dec, you're making subscription for $40 / month

#

you will still have proration?

misty trellis
#

Hi there ๐Ÿ‘‹ taking over, as my colleague needs to step away

Give me a few minutes to get caught up.

scarlet sedge
#

my question is simple though

#

user has subscription which is cancelled but in an cancellation period

#

if user wants to have subscription with another price, then what will happen