#cle1000

1 messages · Page 1 of 1 (latest)

loud scrollBOT
jagged egret
#

Hi! Let me help you with this.

#

One way of achieving this is to:

  1. Update the subscription with proration_behaviour: 'create_prorations' (will be applied at the end of the period)
  2. Preview the upcoming invoice: https://stripe.com/docs/billing/subscriptions/prorations#preview-proration
  3. Manually create a matching invoice and bill the customer right away.
  4. Add a discount to the next invoice in order not to charge the customer twice.
drifting crown
#

Hi vanya, thank for your message

#

would it also be possible to to 1,2, and then create a subscritipion out of the invoice?

#

or. with proration_behavior="always_invoice" with an delay

#

such that the invoice will be finalized after 1 hour after the latest change

winter bridge
#

Hi! I'm taking over this thread.

#

What do you mean by "create a subscritipion out of the invoice"?

drifting crown
#

oh sorry

#

its the opposite direction

#

create an invoice for the unpaid invoice items

#

i am searching for a method e.g. proration_behavior="delay1hour_invoice"