less than a minute read • Updated 10 minutes ago
Set up subscription cancellation after failed payments
How to configure Foxy to automatically cancel a subscription if a failed payment isn't resolved within a schedule you define.
By default, Foxy does not automatically cancel a subscription after a failed payment — it will remain active indefinitely with a past-due balance unless you configure a cancellation schedule.
How to set it up
This number represents the number of days after the initial failure at which Foxy should automatically cancel the subscription, assuming no successful payment has been made in the meantime. For example, if a subscription normally processes on the 1st of the month and this value is set to 35, the subscription will be cancelled on the 5th of the following month if it’s still unpaid.
When the cancellation triggers, Foxy sets the subscription’s end date to that day and marks it inactive.
Notes
Cancellation only occurs if the past-due amount is still unpaid when the schedule elapses. A successful automatic retry or customer payment before that point will prevent the cancellation.
If your store is set to BCC transaction emails, a copy of the cancellation email sent to the customer will also be sent to your store’s email address.
To customize the wording of the cancellation email, see Customise subscription email templates — the
is_subscription_dunning_cancellationTwig variable is true for this email type.This setting is independent of reminder emails — you can send reminders without cancelling, or set a cancellation schedule without sending reminders, though using both together is recommended so customers have warning before losing access.