- $USD
- English (United States)
- Hire an Expert
- Get Support
How to Hide Cash on Delivery for Deposit Orders in WooCommerce
To stop customers choosing Cash on Delivery for a deposit order, hide the gateway whenever the cart contains a payment plan. Deposit and Partial Payment Plan for WooCommerce does this with one setting, Disallow These Gateways for Plan Orders, which hides Cash on Delivery, bank transfer or any other gateway at checkout on plan orders and rejects it on the server. Orders without a plan keep every payment method.
Why Cash on Delivery Does Not Work for Deposits
- A deposit is meant to be paid now. With Cash on Delivery, nothing is paid until the item arrives, so the deposit secures nothing.
- Later installments cannot be charged. Automatic charging needs a saved card, and Cash on Delivery and bank transfer have none.
- Custom work is at risk. If a customer refuses a made-to-order item at the door, you are left with the cost.
The same applies to bank transfer and check payments: they cannot be charged on a schedule.
Option 1: Hide Gateways for All Plan Orders
Use this when no deposit or installment order should ever use Cash on Delivery.
- Go to WooCommerce > Partial Payment Plan > General Settings.
- In Disallow These Gateways for Plan Orders, select Cash on Delivery, plus bank transfer and check payments if you offer them.
- Save.
Whenever a customer chooses a payment plan, those gateways disappear from checkout. If they choose Pay in Full, every gateway is still shown.
Option 2: Hide Gateways for Specific Products or Customers
Use this when only some plans should block Cash on Delivery, for example custom furniture but not small accessories.
- Go to WooCommerce > Assignment Rules and open, or create, the rule for those products.
- Add Cash on Delivery to the rule's blocked gateways.
- Save. The gateway is hidden only on plan orders that match this rule.
Store-wide blocks from General Settings and rule blocks work together, so you can block bank transfer everywhere and Cash on Delivery only on custom items.
What Customers See
- Choosing Pay in Full: all your usual gateways, including Cash on Delivery.
- Choosing a payment plan: only the gateways that can take the deposit online, such as WooPayments, Stripe or PayPal.
- Trying to force a blocked gateway: the order is rejected, because the block is checked on the server as well as hidden on the page.
Tips
- Explain why at checkout. Add a line to your plan description, such as "Deposits are paid by card so we can reserve your order."
- Keep at least one auto-charge gateway active, such as WooPayments or Stripe, so later installments can be collected automatically. See how to charge installments automatically with WooPayments.
- Check mixed carts. Test a cart with one plan item and one regular item to confirm the checkout shows the gateways you expect.
Setting up deposits from scratch? Start with how to accept deposits in WooCommerce. Deposit and Partial Payment Plan is also available on the WooCommerce Marketplace.
FAQs
Can I hide Cash on Delivery only when a deposit is selected?
Yes. Deposit and Partial Payment Plan hides the gateways you choose only on orders that contain a payment plan. Pay in Full orders keep Cash on Delivery.
Can I hide bank transfer too?
Yes. Add any gateway, including bank transfer and check payments, to Disallow These Gateways for Plan Orders.
Can I block Cash on Delivery for some products only?
Yes. Add it to the blocked gateways of an assignment rule that targets those products or categories.
What if a customer bypasses the hidden option?
The plugin also rejects blocked gateways on the server, so the order cannot go through with them.
Do I need a separate conditional payments plugin?
Not for deposit orders. Gateway blocking for plan orders is built into Deposit and Partial Payment Plan.

