In this tutorial, we will show you how to require cash on pickup by order total in WooCommerce.
For example, you may want to enable the cash on pickup method for all WooCommerce orders totaling $500 or more.
Instead of running the risk of being swindled with bad credit cards, you can require high total orders to be paid for in cash when the customer picks them up at the store.
You need two plugins to enable the cash on pickup payment gateway for a specific order total in WooCommerce:
1- WooCommerce Cash on Pickup
It’s a payment gateway for WooCommerce that allows your customers to come to the store to get their products and pay in cash.
2- WooCommerce Conditional Payment Gateways
This plugin allows you to easily set up some conditions for payment gateways on your WooCommerce store.
You can download the plugin here:
Download WooCommerce Conditional Payment Gateways Plugin - or - Read more
You can restrict payment gateways by:
- Product in cart
- Shipping class
- Discount total
- Coupon
- Order status
- Quantity
- Customer buying a product for the second time
- Shipping method
- Shipping total
- Subtotal excluding taxes
- Subtotal
- Taxes
- Total
- Billing city
- Billing company
- Billing country
- Billing email
- Billing state
- Billing zip code
- Completed orders count based on billing email
- Customer email
- Days since registration date
- User ID
- IP
- Previous orders count based on billing email
- Previous orders from the logged in customer
- Registration date
- Shipping city
- Shipping company
- Shipping country
- Shipping state
- Shipping zip code
- User role
- Is on backorder
- Buying from multiple categories
- Category
- Height
- Lenght
- Contains product SKU
- Taxonomy
- Variation attribute
- Variation ID
- Variation SKU
- Vendor
- Weight
- Width
- Hour of the day
- Day of the month
- Day of the week
After you install and activate both plugins, go to WooCommerce > Conditional Payment Methods and click on Add condition button.
Require cash on pickup by order total
Now select the following values to enable the cash on pickup for orders higher than $500:
- Enter the condition title in the Add a new condition field
- What happens when the conditions are met: Select the Cash on pickup (cop) method
- Condition 1: Select these values: Total | Higher or equal than (>=) | 500
- Click on the Publish button.
Require cash on pickup by order total and containing specific products
If you want to require cash on pickup for orders that contain a specific product and a specific total, you can do it by selecting the following values:
- Enter the condition title in the Add a new condition field
- What happens when the conditions are met: Select the Cash on pickup (cop) method
- Condition 1: Select these values: Total | Higher or equal than (>=) | 500
- Click on + to add a new condition.
- Condition 2: Select these values: Contains product | = | Select the product
- Click on the Publish button.
This is a great way to enable cash on pickup for high-priced products.
As you see in the screenshot below, our order total is higher than $500, so the only payment gateway enabled is the pick on pickup method:
All the orders with a price higher than $500 will require cash payment. With this you’ll reduce the risk of getting swindled.
You can download the plugin here:
Download WooCommerce Conditional Payment Gateways Plugin - or - Read more