Title: Invalid Payment Method for COD
Last modified: January 26, 2022

---

# Invalid Payment Method for COD

 *  Resolved [braderdesign2](https://wordpress.org/support/users/braderdesign2/)
 * (@braderdesign2)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/invalid-payment-method-for-cod/)
 * Hi, I encountered an invalid payment method in checkout thru COD.
 * I find that this is due to the billing_postcode that is disable but instead all
   of the billing and shipping details are in notes(On her request). Without the
   billing_postcode, the COD payment method would show an invalid payment method.
   Show the billing_postcode would fix the issue.
 * How do I fix this apart from show the billing_postcode? My client would like 
   to hide billing_postcode.
 * Upon further checking, this issue is due to the shipping method that is not chose.
   When add billing_postcode, I have to choose between two shipping method, if choose,
   can proceed to checkout. This shipping method will not come out if there are 
   no billing_postcode. If I could bypass this, that would be great.
    -  This topic was modified 4 years, 3 months ago by [braderdesign2](https://wordpress.org/support/users/braderdesign2/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * (@margaretwporg)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/invalid-payment-method-for-cod/#post-15291918)
 * Hi [@braderdesign2](https://wordpress.org/support/users/braderdesign2/)
 * > This shipping method will not come out if there are no billing_postcode. If
   > I could bypass this, that would be great.
 * By default, postcode fields are required in WooCommerce so they include validation.
   However, there are several ways to bypass the postcode requirement. Here is a
   detailed article for your reference: [https://quadlayers.com/disable-woocommerce-postcode-validation/](https://quadlayers.com/disable-woocommerce-postcode-validation/)
 * I hope this helps!
 *  Thread Starter [braderdesign2](https://wordpress.org/support/users/braderdesign2/)
 * (@braderdesign2)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/invalid-payment-method-for-cod/#post-15295985)
 * Hi [@margaretwporg](https://wordpress.org/support/users/margaretwporg/)
 * Thank you for that link, I tried and it still did not work. I think this is due
   to the
 * <tr class=”woocommerce-shipping-totals shipping”>
 * For COD payment method, it require to tick the `<tr class=”woocommerce-shipping-
   totals shipping”> or otherwise it would come out as ‘Invalid Payment Method’.
   Is there a way to work around this? Only for COD payment, others payment method
   works quite fine
 *  Plugin Support [EastOfWest a11n](https://wordpress.org/support/users/eastofwest/)
 * (@eastofwest)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/invalid-payment-method-for-cod/#post-15296936)
 * Howdy [@braderdesign2](https://wordpress.org/support/users/braderdesign2/). The
   error you’re encountering could depend on several factors. How are you hiding
   the postcode, for instance? Also, is your COD payment method tied to a shipping
   method?
 * Under WooCommerce > Settings > Payments > Cash on Delivery, have you selected
   anything for “Enable for shipping methods”?
 * To get a better understanding of what you’re looking at and where you’re seeing
   that error, could you please send a few screenshots to illustrate? Please include
   screenshots of the following:
    - WooCommerce > Settings > Payments > Cash On Delivery settings
    - WooCommerce > Setting > Shipping > Shipping Zones
    - If your COD is tied to a shipping method, please also provide screenshot of
      the specific zones thos shipping methods are in, as well as their particular
      setup.
 * Either upload the screenshots to your media library and share the direct links
   with us, or you can use a service like [Droplr](https://droplr.com/)) or [CloudApp](https://www.getcloudapp.com/))
   and share their links with us here.
 * Please also include a link to the site so that we can see this issue in action.
 *  [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * (@margaretwporg)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/invalid-payment-method-for-cod/#post-15322533)
 * We haven’t heard back from you in a while, so I’m marking this thread as resolved–
   we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Invalid Payment Method for COD’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/invalid-payment-method-for-cod/#post-15322533)
 * Status: resolved