Title: Invalid currency code
Last modified: May 19, 2020

---

# Invalid currency code

 *  Resolved [netvest](https://wordpress.org/support/users/netvest/)
 * (@netvest)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/invalid-currency-code-3/)
 * Hello. I have been trying to figure out why I was getting an “Invalid Currency
   code” for ZWL. So I switched to ZMW and everything is working perfectly. So I
   came to the conclusion that Zimbabwean Dollar Currency (ZWL) isn’t part of your
   currency codes. Are you able to add that currency code so that I avoid using 
   a currency code from another country? (Note that I used some CSS to insert my
   ZWL after the ZMW but it doesn’t look okay)
    -  This topic was modified 6 years, 1 month ago by [netvest](https://wordpress.org/support/users/netvest/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finvalid-currency-code-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/invalid-currency-code-3/#post-12863926)
 * Hello
 * The plugin works with all standard currencies – [http://en.wikipedia.org/wiki/ISO_4217#Active_codes](http://en.wikipedia.org/wiki/ISO_4217#Active_codes)
 * _“Invalid Currency code”_ – It looks like the current payment system does not
   support this currency
 *  Thread Starter [netvest](https://wordpress.org/support/users/netvest/)
 * (@netvest)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/invalid-currency-code-3/#post-12865044)
 * Accoing to [http://en.wikipedia.org/wiki/ISO_4217#Active_codes](http://en.wikipedia.org/wiki/ISO_4217#Active_codes)
   ZWL is an active currency code but if I add it as a currency, it shows the invalid
   currency error. I would like to think this means the plugin isnt picking ZWL 
   as a valid currency even though its listed on that link
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [6 years ago](https://wordpress.org/support/topic/invalid-currency-code-3/#post-12875469)
 * Hello
 * The plugin works with all standard currencies.
 * Please drop me a screenshots with this error
 *  Thread Starter [netvest](https://wordpress.org/support/users/netvest/)
 * (@netvest)
 * [6 years ago](https://wordpress.org/support/topic/invalid-currency-code-3/#post-12879378)
 * Please visit [https://cloudvault.co.zw/sable/product/wings-5kg/](https://cloudvault.co.zw/sable/product/wings-5kg/)
   Its still in development phase and the Password to view the website is 87878.
 * Select ZWL as your preferred currency and add least 2 products in the cart(I 
   have a min amount restriction on check out for USD$15 or ZWL equivalent) then
   proceed to check out. Try to check out using cash on delivery method and see 
   how it behaves.
 * I have compiled screenshots of my settings and the error code, you can see it
   [here](https://cloudvault.co.zw/sable/wp-content/uploads/2020/05/WOOCS-Error-code.jpg)
 * NB* This error only appears when I am checking out using ZWL currency.
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [6 years ago](https://wordpress.org/support/topic/invalid-currency-code-3/#post-12887472)
 * Hello
 * But it does not depend on this plugin. It seems that the woocommerce does not
   support this currency and does not allow creating an order
    Try to add this code
   in functions.php
 *     ```
       		add_filter('woocommerce_currencies',function($currencies){	
       			$currencies['ZWL']="Currency name";
       			return $currencies;
       		});
       ```
   
 *  Thread Starter [netvest](https://wordpress.org/support/users/netvest/)
 * (@netvest)
 * [6 years ago](https://wordpress.org/support/topic/invalid-currency-code-3/#post-12891956)
 * Thank you, your code worked. I added that to the functions.php file in the child
   theme.
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [6 years ago](https://wordpress.org/support/topic/invalid-currency-code-3/#post-12898513)
 * Hello
    Great! Welcome;)

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

The topic ‘Invalid currency code’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-currency-switcher/assets/icon-256x256.png?rev
   =2844633)
 * [FOX - Currency Switcher Professional for WooCommerce](https://wordpress.org/plugins/woocommerce-currency-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-currency-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-currency-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-currency-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-currency-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-currency-switcher/reviews/)

## Tags

 * [woocs](https://wordpress.org/support/topic-tag/woocs/)

 * 7 replies
 * 2 participants
 * Last reply from: [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/invalid-currency-code-3/#post-12898513)
 * Status: resolved