#mochihealth

1 messages · Page 1 of 1 (latest)

river egretBOT
daring jungle
#

They'll both fire at roughly the same time. The difference is that one has a Charge object as the payload, and one as the Invoice as the payload

frosty jetty
#

which one would be better to use

#

and whats the difference between invoice.paid and invoice.payment_succeeded

daring jungle
#

An invoice can have multiple payments, so invoice.paid only fires when all the payments are successful. As for which event is best to listen for, that depends on what you're doing, but usualling invoice.paid is sufficient

frosty jetty
#

how about invoice.payment_succeeded

daring jungle
#

What about it?

frosty jetty
#

whats the difference between that and invoice.paid

#

like im assuming you can have multiple invoice.payment_succeeded and only one incoice.paid per invoice?