A renewal that was not charged ends up in one of two situations. Open the subscription under Catalog > Subscriptions and check its status and events.
PaymentHooks could not charge it at all (renewal due)
PaymentHooks charges a renewal automatically only when the subscription has a gateway that supports automatic debits and a payment authorisation (mandate) from the customer. Without these, PaymentHooks does not charge. It sends you the subscription.renewal_due event so you can collect the payment yourself.
| Reason in the event | Meaning |
|---|---|
no_gateway | The subscription has no gateway. |
gateway_has_no_off_session_debit | The gateway cannot charge without the customer present. |
no_mandate | The customer never set up automatic payment, for example the subscription was created without a subscription checkout. |
Automatic debits are set up when a customer pays a subscription checkout on Stripe, Razorpay, Cashfree, PhonePe, CCAvenue or PayPal.
The charge was tried and failed (renewal failed)
You receive subscription.renewal_failed and the subscription becomes past_due. Besides a decline by the bank or gateway, PaymentHooks refuses some renewals before calling the gateway:
mandate_amount_exceeded: the amount is above the mandate's per-debit maximum.mandate_inactive: the mandate was revoked, paused, failed or expired.mandate_currency_mismatch: the mandate was set up in another currency.plan_limit_reached: your PaymentHooks plan's monthly transaction limit is used up.
Retries
Failed renewals are retried automatically, by default 1, 3 and 5 days after the failure, up to 3 attempts. The customer receives failed payment emails with a link to update their payment method on the billing page. If every retry fails, the subscription is cancelled. Change the retry attempts and schedule under Settings > Subscription Settings.
To collect straight away, open the Past Due subscription and click Retry Payment. This opens a checkout for the overdue period to send to the customer. Paying it renews the same subscription (active again, period advanced, retries stopped); it never creates a second subscription.