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.

使用者評論

2026 年 6 月 22 日
I use this plugin on all my sites to test the entire checkout process without the hassle of sandbox accounts or API keys. It’s safe and works flawlessly with both classic and block checkouts. Highly recommended, thanks 🙂
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈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).