#tymm

1 messages · Page 1 of 1 (latest)

drifting sluiceBOT
#

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.

  • tymm, 15 hours ago, 15 messages
  • tymm, 21 hours ago, 34 messages
  • tymm, 3 days ago, 14 messages
  • tymm, 3 days ago, 26 messages
  • tymm, 3 days ago, 14 messages
  • tymm, 5 days ago, 5 messages
limber elbow
sudden cloud
#

in the update i changed the subscriptionitem to a higher priced one, if stripe prorates to second i would expect the update to refund an amount with cents? because im getting a full refund of 100myr for the unused time

limber elbow
#

Let me take a closer look

sudden cloud
#

sure

limber elbow
#

Is this the invoice that you have doubt? in_1OEispLouXJU4FDJ8rMZho8a

sudden cloud
#

yes

limber elbow
#

So you are expecting Stripe to create two invoices for two subscription update requests?

sudden cloud
#

i am expecting the following:

if stripe prorates to second i would expect the update to refund an amount with cents? because im getting a full refund of 100myr for the unused time

with the billing_cycle_anchor set to now, i would expect the final payable amount to be different between these 2 calls, but they are the same.
"these 2 calls" being the InvoiceUpcoming and SubscriptionUpdate call. they both returns a payable amount for the update. except they are both done at a different time, so naturally i expects their amount to be different

limber elbow
#

What's the ID of the request of InvoiceUpcoming ?

sudden cloud
limber elbow
#

Ok, the proration_date is the same in both requests

sudden cloud
#
  1. does that mean the billing_cycle_anchor is not a part of the equation for proration in this case?
    so this is true?
limber elbow
#

This is conditional, you are getting the same amount for invoice because you've set the proration_date. You can try again with billing_cycle_anchor set to now without proration_date set and you should see different amount.

sudden cloud
#

ok i guess its fine since the outcome is what i actually want, just am unsure if this is an intended behavior.

#

what about the proration amount?

#

doesnt stripe calculates proration down to second precision? because the final amount doesnt seem to reflect that

#

the proration_date is about a minute after the old billing cycle/ first subscription start date, so by right stripe shouldnt be giving a full price refund in the proration calculation?

#

ok i think it got rounded up since the amount could be 99.99 or something like that