> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Donation Campaign Lifecycles ## Article: Donation Campaign Lifecycles ## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/donations/donation-campaigns/donation-campaign-lifecycles.md ## Article Content: # About Donation Campaign Lifecycles A donation campaign moves through distinct stages from [creation](#creation-and-setup) to completion: - [Active collection](#active-collection-period), - [Campaign completion](#campaign-completion) - [Post-completion](#after-completion) > **Note** Campaign do not need to have an end. They may remain in the active collection period indefinitely. Each stage has a specific status and determines whether the campaign accepts donations, how you can modify settings, and what data you can retrieve. ## Creation and setup When you create a donation campaign, you configure the core settings that define how it operates. Each campaign requires basic information including a name. You configure donation amounts by enabling custom amounts, predefined amounts, or both. These settings determine what options donors see when they contribute. You also set donation frequencies to specify whether the campaign accepts one-time donations, recurring donations, or multiple frequency options. Recurring donations can be weekly, monthly, or yearly. Optionally, you can configure `endDate` and post-completion behaviors that control what happens when the campaign reaches its goal or time limit. Note that campaigns ending doesn't affect recurring donations. Once you complete setup, the system automatically activates the campaign so it can accept donations. The campaign enters the active collection period immediately after creation. Learn more about [accepting donations](https://dev.wix.com/docs/api-reference/business-solutions/donations/donation-campaigns/introduction.md#accept-donations). ## Active collection period During the active collection period, the campaign's status is `COLLECTING`. This status indicates that the campaign is accepting donations according to its configured settings. Retrieve progress information via the [metrics and reporting](https://dev.wix.com/docs/api-reference/business-solutions/donations/donation-campaigns/introduction.md#view-metrics-and-reports) method to track donation count and total amount collected. While the campaign is collecting, you can update campaign settings without losing donation history. This flexibility allows you to optimize the campaign based on performance data. ## Campaign completion A campaign can reach completion in the following ways: - [Goal achievement](#goal-achievement) - [Time expiration](#time-expiration) ### Goal achievement A campaign reaches its goal when total donations meet the target amount. At this point, the campaign's behavior depends on the `acceptDonationsAfterGoal` setting: - If `acceptDonationsAfterGoal` is `false`, the campaign's status becomes `GOAL_REACHED`, and it stops accepting donations. - If `acceptDonationsAfterGoal` is `true`, the campaign continues accepting donations beyond the goal. The default value is `true`, allowing campaigns to continue collecting after reaching their target. ### Time expiration The campaign expires when the current date passes the configured `endDate`. The campaign's behavior at expiration depends on the `acceptDonationsAfterEndDate` setting: - If `acceptDonationsAfterEndDate` is `false`, the campaign's status becomes `EXPIRED`, and it stops accepting donations. - If `acceptDonationsAfterEndDate` is `true`, the campaign continues accepting donations past `endDate`. The default value is `false`, stopping donations when the campaign reaches its end date. ## After completion You can still query completed campaigns and retrieve their metrics and [donations](https://dev.wix.com/docs/api-reference/business-solutions/donations/donation-campaigns/introduction.md#retrieve-donations) even after they stop collecting donations. Wix preserves historical donation data, ensuring you maintain access to campaign records. If needed, you can update campaign settings to reactivate a campaign. This capability lets you extend campaigns or adjust completion behaviors based on changing needs. ## See also - [About Donation Campaigns](https://dev.wix.com/docs/api-reference/business-solutions/donations/donation-campaigns/introduction.md) - [Sample Flows](https://dev.wix.com/docs/api-reference/business-solutions/donations/donation-campaigns/sample-flows.md)