Cash on delivery or COD (also known as “collect on delivery” and “cash on demand”) is a payment method in which customers pay for mailed goods only after they receive and decide to keep them. If the customer chooses not to keep the items, they are returned to the retailer. Learn more in Cash on Delivery: What Is It and How Does It Work? article by Shopify.
In order to offer cash of delivery option only for delivery orders, you need to add this option as your payment method and then hide this payment method for pickup and shipping.
You can learn more in our Managing payment methods or Pay in-store articles.
Requirements
You need to be on the Pro plan or higher in Zapiet - Pickup + Delivery.
You need to have Cash on Delivery (COD) added as a manual payment method in Shopify Settings > Payments.
You need to make sure the Cash on Delivery (COD) payment method name added to Zapiet matches your Shopify payment method name exactly.
Set cash on delivery method in Shopify
In Shopify Settings, click Payments.
Click +Manual payment method, then select Cash on Delivery (COD).
Add Additional details and Payment instructions, if needed.
Click Activate Cash on Delivery (COD).
Cash on delivery is active on your store now.
You can proceed to hide the cash on delivery payment method for pickup and shipping orders.
Hide cash on delivery for pickup
Click Settings, then click Store pickup.
In the Payment methods section, select Hide payment methods.
Accept additional permissions, if needed.
Click Create payment method rule.
In the Payment method name field, add Cash on Delivery (COD).
Make sure the payment method name added to Zapiet - Pickup + Delivery matches your Shopify payment method name exactly.
Select whether you would like to restrict this payment method to certain locations.
Click Save.
Click Save to save the settings.
Cash on delivery payment method will now be hidden for the pickup orders and not visible at the checkout. Now, you need to hide the same payment method for shipping orders.
Hide cash on delivery for shipping
Click Settings, then click Shipping.
In the Payment methods section, select Hide payment methods.
Accept additional permissions, if needed.
Click Create payment method rule.
In the Payment method name field, add Cash on Delivery (COD).
Make sure the payment method name added to Zapiet - Pickup + Delivery matches your Shopify payment method name exactly.
Click Save.
Click Save to save the settings.
Cash on delivery payment method will now be hidden for shipping orders and not visible at the checkout. The cash on delivery method will only be available for the delivery orders.
Payment methods at checkout
After you've set up cash on delivery payment method and added restrictions for it in Zapiet - Pickup + Delivery, this is how it will look at the checkout page.
Payment methods available for pickup (Cash on delivery is hidden):
Payment methods available for delivery:
Payment methods available for shipping (Cash on delivery is hidden):