Which would be best.
1 a webhook for “invoice sent”
2 or a webhook for “invoice create”?
I need to store in my own system, data about invoices, mainly for recurring invoices
(so my own system can inform users about invoices, etc. + if paid?, etc).
Additionally:
If i am also allowing “single invoices” (i.e. non recurring).
Would i be better to use the webhook for this, or the response data from creating the invoice?
(or probably both, but check if i already have the date stored first?)
Sorry if this sounds silly questions, but as i need to store the data ASAP, i am not sure what the recommended method is. (FIY, i deliver “digital adverts” before the invoice is paid. i trust my clients to pay. i do not require payment conformation. this will be dont manually for bank transfers, and instant for 3rd party merchant services)
Best Regards
Jon
PS, if any use, i am only using invoiceNinja purely for invoicing (no gateways, but still 3rd party merchant gateway payments, that the clients still need an invoice for).
Once i work it all out, i will write it into php classes (atm: i am just using procedural code for testing)
If this is of any use to invoiceNinja, you are welcome to the code (you may need to improve it…)