#NEWJOSSY

1 messages · Page 1 of 1 (latest)

halcyon ridgeBOT
restive crow
#

Hi! Let me help you with this.

main tulip
#

Hello)

restive crow
main tulip
#

Thanks, but it seems that prorations for subscriptions are not applied to upcoming invoice. Let me explain more detailed what I mean

#

When we upgrade subscription of the customer we use ProrationBehavior = "always_invoice" so customer will not pay for unused days of subscription. I thought that it would work the same way for Upcoming Invoice, because this it has also SubscriptionProrationBehavior = "always_invoice", but I see in response full price of Subscription

restive crow
#

Could you please share the Subscription ID?

#

And the Request ID for the upcoming invoice?

main tulip
#

One sec

#

Need some time for reproducing, I'll will send all needed ok ?

restive crow
#

Sure

main tulip
#

req_Oz7fmyhO9sRCcP - I assume this is request for Upcoming Invoice cause it has "subscription_proration_behavior": "always_invoice",
SubscriptionId = sub_1MzKePKwhjmH7xPxCQBMolP1

restive crow
#

We don't store GET responses unfortunately, do you mind sharing the response you got?

halcyon ridgeBOT
main tulip
#

This is response I got now, but not for affected user. Look at Subtotal and SubtotalExcludingTax

hollow axle
#

Thanks for the example response. Checking in to it and will get back to you

#

Can you also try passing subscription="sub_1MzKePKwhjmH7xPxCQBMolP1"? I think the issue may be that you are not telling the call which subscription is being updated so it assumes you are previewing a new subscription

main tulip
#

Ok, one sec, I'll try it

#

Yep, it is working now, thanks guys : )

hollow axle
#

Great to hear!