Linux 软件免费装
Banner图

Purchase Contract Withdrawal Button for WooCommerce

开发者 jakubkasparek
更新时间 2026年5月29日 16:23
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

eu woocommerce gdpr refund withdrawal

下载

1.2.3 1.3.0 1.3.1

详情介绍:

Purchase Contract Withdrawal Button for WooCommerce adds a clearly-labeled "Withdraw from purchase contract" button to each customer's order detail page in WooCommerce My Account. It implements the two-step submission process required by EU consumer law: the customer clicks the button, reviews their order details, optionally provides a refund bank account and reason, and then explicitly confirms. After submission: Both emails are registered as standard WooCommerce email classes and can be customized in WooCommerce → Settings → Emails. Legal context This plugin is designed to help merchants comply with EU Directive 2023/2673, which requires online merchants to provide consumers with a direct online function to withdraw from a contract — the same way they could enter into it. In the Czech Republic, this obligation enters into force on 19 June 2026 under § 1830a of the Civil Code (the so-called "button amendment 2.0"). Similar transposition is required across all EU member states. The plugin is not legal advice. Merchants remain responsible for ensuring their full implementation (including terms and conditions, refund processing, and goods return) complies with applicable law. Features Filters and actions

安装:

  1. Upload the plugin folder to /wp-content/plugins/, or install via Plugins → Add New.
  2. Activate the plugin through the Plugins menu.
  3. Go to WooCommerce → Withdrawal Button to configure the cooling-off period and eligible statuses.
  4. (Optional) Customize the customer and admin email templates in WooCommerce → Settings → Emails.

屏幕截图:

  • Order edit screen with the "Withdrawal cooling-off" meta box — set the date of delivery, see the cooling-off deadline and submission details.
  • Order actions dropdown — submit a withdrawal on behalf of the customer, or mark an existing one as resolved.
  • Guest lookup form rendered by the [pcwb_withdrawal_form] shortcode on a public page — order number + billing email.
  • Guest withdrawal form after successful lookup — pre-filled order summary, optional refund account and reason, explicit confirmation.

升级注意事项:

1.3.0 Adds bundled translations for all 24 official EU languages, intended for stores serving the EU single market before the 19 June 2026 enforcement date of EU Directive 2023/2673. 1.2.3 The "Custom button CSS" setting has been removed per WordPress.org guidelines. Override styles in your theme stylesheet instead. 1.2.2 Code quality improvements addressing Plugin Check feedback. No functional changes. 1.2.1 Declares WooCommerce as a required plugin dependency (WP 6.5+). 1.2.0 Adds a guest shortcode for non-logged-in customers, a dedicated Withdrawals admin screen with CSV export, a date-of-delivery meta box, and order actions for resolving and submitting on behalf. 1.1.0 Adds configurable button position and a Custom CSS field in settings. 1.0.1 Naming and security cleanup per WP.org review. 1.0.0 First release.

常见问题:

Where does the button appear?

In the customer's My Account → Orders → individual order detail page, below the order table. It only appears when the order matches an eligible status and is within the configured cooling-off period.

Can the customer submit multiple withdrawals?

No. Once a withdrawal is submitted, the button is replaced with a notice showing the submission date and a contact email.

Does the plugin issue refunds automatically?

No. The plugin records the customer's intent to withdraw — it does not move money. Refunds are processed manually (or via your payment gateway) after the goods are received. The plugin notifies the admin via email so the merchant can follow up.

Can guest orders use the button?

No. The button requires the customer to be logged in (their account must be linked to the order). This matches the typical "logged-in My Account" flow.

How do I customize the email content?

Go to WooCommerce → Settings → Emails, then select either "Withdrawal confirmation (customer)" or "Withdrawal notification (admin)". You can edit subject, heading, and additional content. For deeper customization, copy template files from templates/emails/ into your theme.

Is this plugin GDPR-compliant?

The plugin only stores data the customer has explicitly submitted (reason, refund bank account) as order metadata, alongside the existing order record. It does not transmit data to third parties.

更新日志:

1.3.0 1.2.3 1.2.2 1.2.1 1.2.0 1.1.0 1.0.1 1.0.0