#bokehdan
1 messages · Page 1 of 1 (latest)
Hi there
No way to stop the webhook from firing
What you want to do instead is set metadata on the Invoice
And then look at the metadata to determine whether to email or not
@strong cliff thanks for your suggestion! when you say add metadata, can this be done at the time of creating the invoice, or does it need to be done after the invoice is created?
Yep you do it on invoice creation: https://stripe.com/docs/api/invoices/create#create_invoice-metadata
@strong cliff is the metadat the same as the custom fields when creating the invoice? I couldn't see any other field where to add metadata
Ah I had assumed you were creating Invoices via the API here.
Are you solely using the Dashboard?
For the short-term, we'll likely be reliant on the dashboard
👋 hopping in here since bismarck had to head out
So no, custom fields are different than metadata - custom fields are actually shown on the Invoice PDF, whereas metadata is not
If you're doing this through the dashboard you'll want to fill out all the information, click the "X" at the top left corner, and then then Invoice should be created as a draft
At that point, you can click on the Invoice in the list of Invoices and add metadata through that view