Auto-Complete Donations

Welcome to the Auto-Complete Donations feature guide for Donation Platform for WooCommerce. This guide walks you through the functionality, configuration, and customization options available with this feature.


The Auto-Complete Donations feature streamlines the donation process by automatically marking donations as “completed” once the payment is received. This enhancement ensures that only completed donations contribute to your progress bar, providing a more accurate representation of your fundraising efforts.

Key Points:

  1. Inclusion Criteria: Only donations with the status “completed” are considered for the progress bar, ensuring transparency and accuracy in tracking fundraising goals.
  2. Automatic Completion: Starting from version 1.2.0, donations for virtual products are automatically marked as completed upon payment confirmation, reducing manual intervention and streamlining the donation process.

Enabling Auto-Complete Donations:

To activate the Auto-Complete Donations feature, follow these steps:

  1. Update Donation Platform: Ensure that you have installed the latest version of the Donation Platform for WooCommerce to access the Auto-Complete Donations functionality.
  2. Product Configuration: Mark your donation products as “virtual” to enable automatic completion. For variable products, ensure that all variations are also flagged as virtual.

Understanding Auto-Complete Donations:

“Auto-Complete Donations” refers to the automatic transition of donation orders from the “processing” status to “completed” upon successful payment. It is important to note that this feature does not restrict further donations once a fundraising goal is reached; it solely streamlines the process of marking donations as completed.

Disabling Auto-Complete:

If you prefer manual control over order completion or wish to customize the auto-completion behavior, you can deactivate the feature by adding the following code snippet to your theme’s functions.php file:

add_filter('woocommerce_order_item_needs_processing', '__return_true', 11);

Alternatively, utilize the Code Snippets plugin for a more convenient approach to managing custom code snippets.


The Auto-Complete Donations feature enhances the efficiency and accuracy of donation processing within Donation Platform for WooCommerce. By automating the completion status of donations, it simplifies fundraising management while providing transparent progress tracking for your campaigns.