I created a customer and subscription directly in the Stripe dashboard, as the customer is paying by check + invoicing outside of Stripe.
Stripe has been sending webhooks every month similarly to a normal credit card subscription, specifically the invoice webhooks (invoice.updated
, invoice.finalized
, invoice.sent
), as well as customer.subscription.updated
.
My app looks for the following webhooks to connect the billing events / actually upgrading the client's account:
customer.created
customer.subscription.created
customer.subscription.updated
customer.subscription.deleted
charge.succeeded
charge.succeeded
has always been my go-to webhook to alert my app to update the client's account (e.g. supply the monthly benefit). My problem is that with invoicing, actually marking the invoice as "paid" lags 7-14 days behind the invoice generation and when the account is supposed to renew, so I can't use a invoice.paid
as an equivalent to charge.succeeded
.
I am trying to figure out what webhook is sent on the subscription renewal for a payment by check customer. customer.subscription.updated
does happen upon subscription renewal, however that could be triggered on plan change. Same thing with invoice.sent
-- that also could happen upon plan change.
Is there a webhook specifically for "this client's subscription just renewed, regardless of whether they paid already or not"?