> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fusioncore.us/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscription Renewal Overview

> How fusionCore renews subscriptions automatically with a nightly batch job, and how to configure the job and renewal paths.

## Overview

fusionCore renews subscriptions for you. Each night, a scheduled job finds the subscriptions that are due to renew and creates a renewal **Order** for the next term — so members keep their access without anyone re-keying the sale.

<Note>
  A subscription is a **Purchase Activity** (`FCORE_PAY__Purchase_Activity__c`) of record type `FC_Subscription`, linked to a **Subscription Plan**. The plan sets the term length and how early renewals are generated.
</Note>

## How Automatic Renewal Works

Each night, the **`FC: Generate Renewal Orders`** job (the `SubscriptionRenewalBatch` Apex class, 3 AM by default) does three things:

1. **Finds** every subscription that's ready to renew — one whose `Is_Ready_For_Renewal_Job__c` flag is on, meaning it's within its plan's **Renewal Days** (`Renewal_Days__c`) of expiring and meets all the other renewal conditions.
2. **Generates** a renewal Order for that subscription's next term.
3. **Records** the result on the Purchase Activity — links the new renewal Order and Order Product, and sets **Renewal Status** (`Renewal_Status__c`) to `Generated`.

Use the pages below to set this up and adjust how it behaves.

## Working with Renewals

<CardGroup cols={2}>
  <Card title="Configuring the Batch Job" icon="clock" href="/end-user-guides/subscriptions/subscription-renewal/configuring-the-batch-job" arrow="true">
    Schedule the nightly renewal job, tune its batch size, and learn what makes a Purchase Activity eligible.
  </Card>

  <Card title="Renewal Paths" icon="route" href="/end-user-guides/subscriptions/subscription-renewal/renewal-paths" arrow="true">
    Control which product a subscription renews into using priority-ordered renewal paths.
  </Card>
</CardGroup>
