#Acidon

1 messages ยท Page 1 of 1 (latest)

spring stratusBOT
late bone
#

Hello! No, not quite. invoice.paid fires when an Invoice is paid out of band (like when you get handed some cash or something and mark the Invoice as paid outside of Stripe). invoice.payment_succeeded does not fire in those cases. invoice.paid is recommended.

vocal estuary
#

One more question: I am using clocks to simulate future renewal, but only see 'invoice.upcoming' and no 'invoice.paid' event on the renewal date. Is this behavior related to clocks or do I need to respond to 'invoice.created' event in certain way in order for 'invoice.paid' event to happen?

late bone
#

You need to respond if you're listening for that Event.

#

Otherwise the Invoice won't move out of draft status.

vocal estuary
#

like basic 200 response?

late bone
#

Yep.

vocal estuary
#

Hmm, all the events for my webhook are delivered without errors (meaning Stripe receives 200 back), but no 'invoice.paid' fired after 'invoice.upcoming', even if I advance the clock much further away.

#

Nvm, it did fired ๐Ÿ™‚

late bone
#

Ah, okay. ๐Ÿ™‚

vocal estuary
#

Thanks again!

late bone
#

Happy to help!