Overview
Akyros (Greek for valid cancellation) is a purpose-built WordPress plugin designed to legally fulfill the strict requirements of EU Directive 2023/2673 (Withdrawal Button / Widerrufsbutton) for WooCommerce stores. It gives customers an interactive withdrawal form while giving shop owners automated custom order statuses, synchronized email receipts, and detailed internal order notes.
Architectural Rationale:
European Directive 2023/2673 mandates that all e-commerce stores provide a transparent, 2-step electronic withdrawal button allowing consumers to cancel purchases without administrative friction. Most store owners scramble with complex form builders that fail to verify real orders, leave orders unflagged, or calculate itemized refunds incorrectly. Akyros provides a turnkey shortcode and deep WooCommerce HPOS integration.
Developer Integration
// Embed the legal withdrawal form on any page
[akyros_withdrawal_form]
// Hook: Custom actions upon withdrawal submission
add_action('akyros_withdrawal_submitted', function($order_id, $items, $reason) {
// Automated ERP / inventory webhook notification
}, 10, 3);
WP-CLI: $ wp akyros list-pending --format=table
Deployment Notes
Store owners can use the "Prepare Refund" meta box on the WooCommerce Order screen to automatically pre-fill refund quantities and proportional tax deductions.