#Tirth Joshi

1 messages · Page 1 of 1 (latest)

eternal ravenBOT
tranquil wigeon
#

Hi! Let me help you with this.

#

You can listen to the invoice.created events and add InvoiceItems to that Invoice before it finalizes.

ocean nimbus
#

you mean
The first payment for my subscription is on the checkout page.
In my next cycle, I want to add an additional amount to my existing subscription.
That time, I want to catch the invoice. created events and added invoice items to that invoice.

#

Could you please share any links and documentation for that?

eternal ravenBOT
tranquil wigeon
#

Do you want to do a one-off addon? Or upgrade the monthly amount?

ocean nimbus
#

No, I don't want to upgrade the monthly amount; I want to add additional charges to the customer's subscription amount.

reef socket
#

👋 stepping in here as vanya needs to step away

#

We don't really have a doc of how to do this exactly but you already described what you need to do. You listen for invoice.created and then you create an Invoice Item (https://stripe.com/docs/api/invoiceitems/create) which will then be picked up by the finalized Invoice.

ocean nimbus
#

But how can we merge the new invoice with the subscription invoice?

reef socket
#

In this scenario you are just adding an extra item to the current Invoice

#

Not creating a new Invoice

ocean nimbus
#

How can I do that? Could you please send the URL for that?