[WordPress] 外掛分享: Right of Withdrawal flow for shop

首頁外掛目錄 › Right of Withdrawal flow for shop
全新外掛
安裝啟用
尚無評分
11 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.0+ v1.0.0 上架:2026-06-02

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Right of Withdrawal flow for shop」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Right of Withdrawal flow for shop implements the consumer right of withdrawal mandated by the European Union Consumer Rights Directive (2011/83/EU), giving customers a clean, server-validated way to exercise their 14-day cooling-off period.
The plugin adds a “Withdraw from order” button in the customer’s account, opens an accessible modal where customers can pick specific items, enter an IBAN and select a withdrawal reason, then notifies the shop via HTML email and tracks the refund through to completion.
Key features

Full or partial withdrawal — customers select specific items and quantities.
Server-side amount calculation — line totals are read from the order, never trusted from the client. Coupon discounts are correctly accounted for via WC_Order_Item::get_total().
IBAN format + Mod-97 validation (works in any EU country with bcmod or pure-PHP fallback).
Order-meta storage (withdrawal date, IBAN, reason, items, refund status).
Admin metabox with status updates: Mark as refunded / Mark as partially refunded.
Optional automatic creation of an order refund record (with optional restock).
Direct link to the withdrawal modal from the order confirmation email. The link opens the customer’s account “View order” page; standard WordPress / WooCommerce authentication applies — no custom login, no magic-link auto-login.
HTML emails for both customer and admin; styled inline for Gmail/Outlook compatibility.
HPOS (Custom Order Tables) compatible.
Settings page nested under the WooCommerce menu.

Compliance reference

Directive 2011/83/EU on consumer rights, Articles 9–14 (Right of withdrawal).
The 14-day period is configurable; the plugin defaults to the directive’s prescribed minimum.
Refunds are processed to the bank account supplied by the consumer (IBAN), satisfying the directive’s requirement to use the same payment means unless the consumer explicitly agrees to another method.

Requirements

WooCommerce 7.0 or later
PHP 8.0 or later
WordPress 6.0 or later

延伸相關外掛

文章
Filter
Mastodon