Diluted Test Order for WooCommerce

描述

This plugin adds a WooCommerce payment method that completes checkout without a real payment provider. Orders are saved and marked paid like a normal purchase, only the payment is fake.

  • Admin-only – Only users who can manage_woocommerce (typically administrators and shop managers) see the method at checkout. Guests and customers never see it.
  • Paid immediately – Orders complete as if payment succeeded. Stock updates, emails, and other post-payment behavior run as usual.
  • Works everywhere you check out – Shortcode/classic checkout and the Cart & Checkout blocks.

Usage

  1. Sign in as a user with the Shop manager or Administrator role (or any role that includes manage_woocommerce).
  2. Add products to the cart and open checkout.
  3. Choose the test payment method in the checkout, the default label is Test order (fake payment) unless you changed it under the gateway settings.
  4. Place the order. You are redirected to the order received (thank-you) page; the order is recorded as paid.

You can customize the Title and Description shown at checkout under WooCommerce Settings Payments Test order (admin only).

安装

  1. Install and activate WooCommerce.
  2. Upload the plugin to /wp-content/plugins/diluted-test-order-for-woocommerce/ or install via WordPress admin.
  3. Activate the plugin.
  4. Go to WooCommerce Settings Payments and enable “Test order (admin only)”.

常见问题

Who can see the test order payment method?

Only users with the “manage_woocommerce” capability (typically administrators and shop managers).

Is this compatible with classic and block checkout?

Yes. The plugin is compatible with the shortcode checkout and the new block checkout.

Should I leave this enabled on a live store?

The gateway is only offered to users who can manage WooCommerce, so customers never see it. Still, disable or remove it on production if you do not need it—fewer moving parts and a clearer payment settings screen.

评价

此插件暂无评价。

贡献者及开发者

「Diluted Test Order for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Diluted Test Order for WooCommerce」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Diluted Test Order for WooCommerce」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release.
  • Test order payment method (admin-only).