Skip to main content
When a subscription renews, Polar starts the next billing cycle, creates the order and charges the customer’s saved payment method. If the charge fails, the subscription moves to Past due (past_due) and Polar retries it on a schedule, a process called dunning, instead of ending it right away.

What happens when a renewal fails

  1. The subscription moves from Active (active) to Past due (past_due), and past_due_at records when.
  2. Polar emails the customer with a link to the Customer Portal, where they can update their payment method or retry the payment.
  3. The renewal order stays open, with next_payment_attempt_at set to the next retry.
Polar then retries on a fixed schedule, counted from the first failure: If a retry succeeds, the order is paid. The subscription returns to active once all its open orders are paid. A past_due subscription keeps renewing, so there can be more than one. If every retry fails, Polar revokes the subscription: it moves to Canceled (canceled) and benefits are revoked. When the card is declined in a way that won’t recover, such as lost_card, Polar skips the retries in between and makes one last attempt at the 21-day mark. The customer can still add a new card before then. The subscription.past_due webhook fires when the subscription enters past_due, and subscription.updated on every status change. See Webhook events.

Benefit revocation grace period

By default, benefits are revoked as soon as the subscription becomes past_due. A grace period keeps them granted for a while, so one expired card doesn’t lock a paying customer out while they fix it. Set it under Settings → Subscriptions → Grace period for benefit revocation. The API field is subscription_settings.benefit_revocation_grace_period on the organization, in days. The grace period counts from past_due_at. During it, the subscription is still past_due, so your app can tell the difference, but the customer keeps their benefits. When it runs out, or the subscription is revoked, benefits are revoked.
The grace period only delays benefit revocation. It doesn’t change the retry schedule or keep the subscription active. To treat past-due customers differently in your app, for example with a banner, check for status === "past_due" in customer state or the subscription.updated webhook.

How customers recover

From the Customer Portal, a customer can:
  • Update their payment method. Polar retries the open orders with the new card right away instead of waiting for the next scheduled attempt.
  • Retry the payment on the failed order, up to 5 times per order.
Link to the Customer Portal from your app when a customer is past_due. See Customer Portal for how to create a portal link.

What you can do

In the dashboard, open the subscription from Sales → Subscriptions. Its Activity shows Payment failed, each Retry failed and the next Payment retry.
  • Find past-due subscriptions and inspect the failed attempts and their decline reasons.
  • Reschedule the renewal once the subscription is active again. A past_due subscription can’t be rescheduled.
  • Revoke the subscription if you don’t want to keep trying.
  • Open Sales → Subscriptions
  • Filter by the Past due status
  • Open a subscription to see its Activity
The examples use the sandbox client from the quickstart overview, on API version 2026-10.

Usage billed on its own order

When a subscription bills metered usage on a separate order at the end of a meter period, a failed payment on that order follows the same retry schedule but doesn’t move the subscription to past_due. If the retries run out, the order is voided. See Billing.

Customer emails

Two customer notification emails help prevent and recover failed payments. Both are under Settings → Customer Notifications → Renewals:
  • Subscription past due, sent when a renewal payment fails.
  • Card expiring, sent before the card backing an active subscription expires.

Learn more