#mohamad_eghlima

1 messages · Page 1 of 1 (latest)

vapid hillBOT
gleaming bobcat
#

Hello! Can you give me an example Subscription ID so I can take a look? Starts with sub_.

errant spire
#

oh you can check!? let me provide them

#

customer: cus_OcvSt9ySM2qQ9H
subscription: sub_1NpfbrCJRzpigsVanCiacwuL
invoice for this subscription: in_1NpfbrCJRzpigsVausCiSaLb

gleaming bobcat
#

Looking...

errant spire
#

oh the next/upcoming invoice has the 10% off calculated! it means that the first invoice which is for the period of today till the end of the month, does not have value for promotion!

gleaming bobcat
#

Ah, it's because you're using billing_cycle_anchor. The first Invoice is all prorations because of that, and prorations are not discountable.

errant spire
#

oh! i get you

#

is there anyway we can fix it (workaround) by applying some kind of balance to the customer?

gleaming bobcat
errant spire
#

thanks for the links, i will follow it

#

is there any other way better than this? for instance changing the invoice right after creating the subscription?

gleaming bobcat
#

No, the first Invoice for a Subscription is finalized ~immediately do you don't have the opportunity to alter it.