#overture8-invoices
1 messages · Page 1 of 1 (latest)
@tropic oxide it fires when any field on the API object changes. So often status changes in those cases you mention(like being paid or being marked uncollectible) and thus yes that event will get fired at the same time. Also gets fired for any other changes to the invoice(like changes to metadata for example)
Ah - ok, yes that makes sense. So, I presume it may not fire for things like payment_action_required, payment_failed, sent because there might be no object changes in those cases?
I'm not entirely sure, I'd have to test those cases. It probably/definitely would get fired though, since for example the charge field and attempt_count are probably changing
ah, yeah. - ok. That's great - thanks for your help.
One last question. I take it updated doesn't fire when created fires?
not usually, but it could
for example maybe you or a platform connected to your account listens to the created event, and adds some metadata to the freshly-created invoice object immediately to help track it, that would generate an event
basically it's best to not make any assumptions