WooCommerce.NET: woocommerce_api_authentication_error - Invalid Signature - provided signature does not match

Hello Mr XiaoFaye !

I’ve been used WoocommerceNET library in my project to communicate between our system and Woocommerce System to call Woocommerce’s API. But when I call to any Woocommerce’s API, I got error :

"code": "woocommerce_api_authentication_error", "message": "Invalid Signature - provided signature does not match"

Here is my code which I using to call Woocommerce’s API from my system :

RestAPI rest = new RestAPI("http://mydomain.com/wc-api/v3/", "ck_xxx", "cs_xxx"); WooCommerceNET.WooCommerce.Legacy.WCObject wc = new WooCommerceNET.WooCommerce.Legacy.WCObject(rest); var aCustomer = await wc.GetCustomerByEmail("testcustomer@gmail.com");

My site is on http, and I already enabled option enable REST API on my site. Would for love to get some help here, so far your library has been in absolute time saver, thanks in advance!

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

Many thanks, Mr XiaoFaye. I’ve fixed my problem about difference timezone between two my server by changed the timezone of Service Server system (Web MVC API applicaiton) 😃, And now, it work as well, Mr XiaoFaye 😃. I can get customer’s data through API which I wrote on Woo system. So, one more time, thank you so much for help. I am very grateful for that !