#marnix
1 messages · Page 1 of 1 (latest)
Hi there!
If you want to see metadata when you receive the invoice.sent webhook event, then before you send the invoice you should update the invoice to set some metadata: https://stripe.com/docs/api/invoices/update#update_invoice-metadata
Ah ok. So right before user 1 is going to resend it, I would have to update the invoice metadata and when user 2 is going to resend it the next day I will need to update the metadata again?
Depend what you want exactly. But when calling sendInvoice() you cannot set metadata. So you have to set the metadata just before with an update call