{"id":245058,"date":"2025-08-07T15:16:25","date_gmt":"2025-08-07T15:16:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/riaco-autocomplete-orders\/"},"modified":"2025-09-04T14:35:17","modified_gmt":"2025-09-04T14:35:17","slug":"riaco-autocomplete-orders-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/eo.wordpress.org\/plugins\/riaco-autocomplete-orders-for-woocommerce\/","author":8872771,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.8.5","requires":"5.6","requires_php":"7.4","requires_plugins":null,"header_name":"RIACO Autocomplete Orders","header_author":"Roberto Iacono","header_description":"Automatically completes WooCommerce orders based on defined conditions. Save time and streamline your order fulfillment process.","assets_banners_color":"f3ebf7","last_updated":"2025-09-04 14:35:17","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.robertoiacono.it\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":302,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"prototipo88","date":"2025-08-07 15:16:01"},"1.0.1":{"tag":"1.0.1","author":"prototipo88","date":"2025-09-04 14:35:17"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3341141,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3341141,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3341141,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3341141,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3341141,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3341141,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Settings page inside WooCommerce.","2":"Configure trigger statuses and product type filters."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3226,142746,10139,16281,286],"plugin_category":[45],"plugin_contributors":[238641],"plugin_business_model":[],"class_list":["post-245058","plugin","type-plugin","status-publish","hentry","plugin_tags-autocomplete","plugin_tags-autocomplete-orders","plugin_tags-downloadable","plugin_tags-orders","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-prototipo88","plugin_committers-prototipo88"],"banners":{"banner":"https:\/\/ps.w.org\/riaco-autocomplete-orders-for-woocommerce\/assets\/banner-772x250.png?rev=3341141","banner_2x":"https:\/\/ps.w.org\/riaco-autocomplete-orders-for-woocommerce\/assets\/banner-1544x500.png?rev=3341141","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/riaco-autocomplete-orders-for-woocommerce\/assets\/icon-128x128.png?rev=3341141","icon_2x":"https:\/\/ps.w.org\/riaco-autocomplete-orders-for-woocommerce\/assets\/icon-256x256.png?rev=3341141","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/riaco-autocomplete-orders-for-woocommerce\/assets\/screenshot-1.png?rev=3341141","caption":"Settings page inside WooCommerce."},{"src":"https:\/\/ps.w.org\/riaco-autocomplete-orders-for-woocommerce\/assets\/screenshot-2.png?rev=3341141","caption":"Configure trigger statuses and product type filters."}],"raw_content":"<!--section=description-->\n<p><strong>RIACO Autocomplete Orders for WooCommerce<\/strong> helps store owners streamline order management by automatically completing WooCommerce orders based on specific product types and order statuses.<\/p>\n\n<p>If you sell <strong>virtual, downloadable, or digital products<\/strong>, or if you want to automatically fulfill certain types of orders without manual intervention, this plugin is for you.<\/p>\n\n<h3>Features<\/h3>\n\n<p><strong>Automatic Order Completion<\/strong><\/p>\n\n<ul>\n<li>Automatically completes orders when all products match the allowed types (virtual, downloadable, simple, variable, grouped, or external products).<\/li>\n<li>Triggered by specific WooCommerce order statuses (e.g., \"processing\" or \"on-hold\").<\/li>\n<\/ul>\n\n<p><strong>Logging &amp; Debugging<\/strong><\/p>\n\n<ul>\n<li>Adds internal <strong>logs for completed orders<\/strong>, including:\n\n<ul>\n<li>Which rules triggered the completion<\/li>\n<li>Timestamp and trigger status<\/li>\n<\/ul><\/li>\n<li>Easily review why an order was autocompleted.<\/li>\n<\/ul>\n\n<p><strong>Admin Controls<\/strong><\/p>\n\n<ul>\n<li>Enable or disable the autocomplete functionality via plugin settings.<\/li>\n<li>Fully <strong>translatable<\/strong> and compatible with multilingual stores.<\/li>\n<li><strong>Remove all plugin data<\/strong> (settings &amp; logs) upon uninstall for a clean database.<\/li>\n<\/ul>\n\n<p><strong>Developer Friendly<\/strong><\/p>\n\n<ul>\n<li>Uses <strong><code>apply_filters()<\/code><\/strong> and <strong><code>do_action()<\/code><\/strong> hooks to extend behavior.<\/li>\n<li><p>Includes a <strong>completion action hook<\/strong>:<\/p>\n\n<pre><code>do_action( 'riaco_ao_order_autocompleted', $order, $status_triggered, $matched_rules );\n<\/code><\/pre><\/li>\n<li><p>Filter the log messages, completion note, and rule behavior to integrate with other plugins or custom workflows.<\/p><\/li>\n<\/ul>\n\n<h3>How It Works<\/h3>\n\n<ol>\n<li>Select which <strong>order statuses<\/strong> should trigger the autocomplete check.<\/li>\n<li>Choose which <strong>product types<\/strong> are eligible for automatic completion.<\/li>\n<li>When an order reaches a trigger status:\n\n<ul>\n<li>The plugin checks all products in the order.<\/li>\n<li>If they <strong>all match<\/strong> the allowed types, then the order is <strong>automatically marked as \"Completed\"<\/strong>.<\/li>\n<li>A <strong>log entry<\/strong> is stored with the rules that triggered the completion.<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<h3>Use Cases<\/h3>\n\n<ul>\n<li><p><strong>Digital Products<\/strong>:<br \/>\nIf you sell eBooks, downloadable files, or online courses, your customers can receive their orders instantly without manual approval.<\/p><\/li>\n<li><p><strong>Instant Fulfillment for Specific Products<\/strong>:<br \/>\nMark orders as completed right after payment if all products are simple or virtual, reducing admin overhead.<\/p><\/li>\n<li><p><strong>Dropshipping or External Fulfillment<\/strong>:<br \/>\nIf fulfillment happens outside WooCommerce, you can auto-complete to signal the order is processed.<\/p><\/li>\n<li><p><strong>Reduce Support Tickets<\/strong>:<br \/>\nCustomers instantly see their order as completed, reducing \"Where is my order?\" requests.<\/p><\/li>\n<li><p><strong>Event Registrations or Subscriptions<\/strong>:<br \/>\nAutomatically complete free or pre-paid event registrations without manual intervention.<\/p><\/li>\n<\/ul>\n\n<h3>Settings Overview<\/h3>\n\n<p>After activation, visit:<\/p>\n\n<p><strong>WooCommerce &gt; Settings &gt; Autocomplete Orders<\/strong><\/p>\n\n<p>Available options:<\/p>\n\n<ul>\n<li><p><strong>Enable Autocomplete<\/strong><br \/>\nToggle the plugin functionality on\/off.<\/p><\/li>\n<li><p><strong>Trigger Statuses<\/strong><br \/>\nSelect one or more order statuses to run the autocomplete check.<\/p><\/li>\n<li><p><strong>Product Type Filters<\/strong><br \/>\nRestrict autocomplete to orders containing only the selected product types.<\/p><\/li>\n<li><p><strong>Logs Section<\/strong><br \/>\nReview completed order logs and which rules were triggered.<\/p><\/li>\n<\/ul>\n\n<h3>Logging &amp; Data Handling<\/h3>\n\n<ul>\n<li><strong>Logs<\/strong> are stored in a custom post type for tracking which rules triggered completion.<\/li>\n<li><strong>Matched rules<\/strong> are stored as post meta on the order.<\/li>\n<li><strong>Uninstall Behavior<\/strong>:<br \/>\nWhen the plugin is deleted from WordPress:\n\n<ul>\n<li>All settings are removed.<\/li>\n<li>All logs are deleted.<\/li>\n<li>Your database is left clean.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h3>Developer Hooks<\/h3>\n\n<p>Developers can customize and extend the plugin via filters and actions:<\/p>\n\n<p><strong>Actions<\/strong><\/p>\n\n<ul>\n<li><code>riaco_ao_order_autocompleted<\/code><br \/>\nFires when an order is automatically completed.\n  do_action( 'riaco_ao_order_autocompleted', $order, $status_triggered, $matched_rules )<\/li>\n<\/ul>\n\n<p><strong>Filters<\/strong><\/p>\n\n<ul>\n<li><p><code>riaco_should_autocomplete_order<\/code>\nFilter to allow extending the autocomplete logic.\n  apply_filters( 'riaco_should_autocomplete_order', $should_autocomplete, $order, $status_to, $matched_rules )<\/p><\/li>\n<li><p><code>riaco_ao_completion_note<\/code>\nAllow customization of the internal admin note.\n  apply_filters( 'riaco_ao_completion_note',    esc_html__( 'Order autocompleted by RIACO Autocomplete Orders plugin.', 'riaco-autocomplete-orders' ))<\/p><\/li>\n<li><p><code>riaco_autocomplete_orders_rules<\/code>\nFilter the rules used to determine if an order should autocomplete.\n  apply_filters( 'riaco_autocomplete_orders_rules', $rules, $order )<\/p><\/li>\n<li><p><code>riaco_autocomplete_trigger_statuses<\/code>\nFilter the list of allowed trigger statuses.\n  apply_filters( 'riaco_autocomplete_trigger_statuses', $trigger_statuses, $status_to )<\/p><\/li>\n<li><p><code>riaco_ao_log_postarr<\/code>\nFilter the post array before inserting the log entry.\n  apply_filters( 'riaco_ao_log_postarr', $postarr, $order, $details, $status_triggered, $note )<\/p><\/li>\n<li><p><code>riaco_autocomplete_orders_settings<\/code>\nFilter the settings array for the Autocomplete Orders plugin.\n  apply_filters( 'riaco_autocomplete_orders_settings', $settings )<\/p><\/li>\n<li><p><code>riaco_autocomplete_order_statuses<\/code>\nFilter the list of order statuses available for autocomplete triggers.\n  apply_filters( 'riaco_autocomplete_order_statuses', wc_get_order_statuses() )<\/p><\/li>\n<li><p><code>riaco_autocomplete_orders_product_type_options<\/code>\nFilter the product type options for RIACO autocomplete settings.\n  apply_filters( 'riaco_autocomplete_orders_product_type_options', $options )<\/p><\/li>\n<\/ul>\n\n<h3>Uninstallation<\/h3>\n\n<p>When uninstalled via the WordPress Plugins screen:<\/p>\n\n<p>All settings and logs are deleted.<\/p>\n\n<p>No data is left in the database.<\/p>\n\n<h3>Roadmap<\/h3>\n\n<ul>\n<li>Premium version with extended conditions<\/li>\n<\/ul>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPLv2 or later. See <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\">LICENSE<\/a> for more details.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/riaco-autocomplete-orders<\/code> directory, or install via the WordPress Plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to <strong>WooCommerce &gt; Settings &gt; Autocomplete Orders<\/strong> to configure options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20autocomplete%20only%20specific%20product%20types%3F'><h3>Can I autocomplete only specific product types?<\/h3><\/dt>\n<dd><p>Yes. You can configure which product types should allow automatic completion. The plugin will autocomplete an order <strong>only if all products in the order<\/strong> match one of the allowed types.<\/p><\/dd>\n<dt id='will%20this%20complete%20physical%20product%20orders%3F'><h3>Will this complete physical product orders?<\/h3><\/dt>\n<dd><p>If all products in the order meet the type criteria (e.g. simple product), the order will be marked as completed.<\/p><\/dd>\n<dt id='does%20this%20plugin%20work%20with%20all%20payment%20gateways%3F'><h3>Does this plugin work with all payment gateways?<\/h3><\/dt>\n<dd><p>Yes, the plugin is gateway-agnostic. However, you should only enable autocomplete on statuses that are safe (e.g., after payment is complete).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Add logging system with matched rules.<\/li>\n<li>Add do_action 'riaco_ao_order_autocompleted'.<\/li>\n<li>Add uninstall cleanup for settings and logs.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Autocomplete based on virtual\/downloadable product types.<\/li>\n<li>Settings for trigger statuses.<\/li>\n<li>Basic filter to extend logic.<\/li>\n<\/ul>","raw_excerpt":"Automatically complete WooCommerce orders based on product types and order statuses. Save time and streamline your order fulfillment process.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/245058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=245058"}],"author":[{"embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/prototipo88"}],"wp:attachment":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=245058"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=245058"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=245058"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=245058"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=245058"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=245058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}