#madclaws

1 messages · Page 1 of 1 (latest)

lavish turtleBOT
scarlet meteor
#

Hi there, you can still create an invoice without using subscription.

abstract halo
#

Thanks for fast response. Yes, i know subscription is optional, but in /create-invoice, there is no field to pass amount to deduct. So how will we define it?

scarlet meteor
#

You should either

  1. create invoice items first, and then create an invoice
  2. create an empty invoice first, and specify the invoice ID when creating invoice items
abstract halo
#

create invoice items first, and then create an invoice
I couldn't find any field that reference invoice_items in /create-invoice.
Or since invoice_items are linked with customer. Is it automatically referred?

#

Also i want to charge the user, when i create invoice too

scarlet meteor
#

When you create an invoice, you can set pending_invoice_items_behavior=include and Stripe will include any pending invoice items to this invoice.

abstract halo
#

Thanks a lot for your help, will try this out. handshake