less than a minute read • Updated 21 minutes ago
Cancel a subscription
How customers and store admins can cancel a subscription in Foxy.
Subscriptions in Foxy can be cancelled by the customer via a link in their receipt email, or by a store admin through the Foxy admin.
Customer cancellation
By default, Foxy includes a cancellation link in every subscription receipt email. When the customer clicks the link and completes the checkout, the subscription end date is set and it will no longer process.
The cancellation link uses the sub_cancel parameter to determine when the subscription ends:
Value | Behaviour |
|---|---|
| Sets the subscription end date to tomorrow |
| Sets the subscription end date to the next scheduled billing date |
The default is sub_cancel=true. If your store offers memberships or other access-based subscriptions where the customer has already paid for the current period, consider changing the default to next_transaction_date so the customer retains access until the end of the period they've paid for.
To change the default cancellation behaviour:
Requiring past due payment before cancellation
If a customer has a past due amount on their subscription, you can require them to pay it before they are able to cancel. To enable this:
If this is enabled and a customer has a past due balance, they will not be able to cancel until the balance is cleared. You will need to cancel the subscription on their behalf through the admin, or clear the past due amount first.
Admin cancellation
To cancel a subscription as a store admin:
Notes
When a subscription is cancelled, its end date is set to either tomorrow or the next transaction date. The subscription is not immediately deleted.
If a subscription's end date falls on a scheduled billing date, it will be cancelled before that payment is taken. Set the end date to the day after the last payment you want to collect.
PayPal Express (non-Reference Transactions) does not support subscription modification via
sub_token. Foxy strongly recommends using the Reference Transaction option for PayPal Express Checkout.