Webhooks
One of the great features of Loop's integration with Stripe is that you can continue to use Stripe's webhooks for any automations you have. Since Loop updates the Customer and Invoice record automatically, Stripe webhooks continue to fire.
Stripe webhooks
When an invoice's payment status changes to paid
, the invoice.paid
event in Stripe will be emitted. We suggest you also listen to the payment.intent_succeeded
to ensure you are notified of a payment.
Common confusion
When a Loop payment occurs, a payment_intent.canceled
event is emitted. This is because Stripe will want to charge the payment method on file (fiat). Thus, Loop cancels this event and instead updates the invoice to be paid outside of Stripe."
The invoice.paidevent
will emit once the payment takes place on chain and Loop marks the invoice as paid. There is nothing you need to do here but we aware of this.
Updated 27 days ago