alinaalam
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Can't access products using WooCommerce APII fixed the issue. For others who are facing this problem, I was using ‘www’ in my url and my site was set without using this. So, basically, what I was doing was:
URL set in WordPress -> General: https://your-store.com
URL I was using in the library: https://www.your-store.comBecause of the difference in the urls, the oauth_signature produced at the client side was different than the oauth_signature produced at the server end.
Forum: Plugins
In reply to: [WooCommerce] Can't access products using WooCommerce APIHi Claudio!
I am using a Woocommerce Rest API library for php and I am getting this error now:
Error: Invalid Signature – provided signature does not match [woocommerce_api_authentication_error] 401 stdClass Object ( [headers] => Array ( [0] => Accept: application/json [1] => Content-Type: application/json [2] => User-Agent: WooCommerce API Client-PHP/2.0.1 ) [method] => GET [url] => https://www.gms-automation.com/gms/wc-api/v2/orders?oauth_consumer_key=ck_1c6786d01a5a7e74653724dabe082d0a5a1d6a58&oauth_timestamp=1463165459&oauth_nonce=85516a78d857b12a6d59d31bbfa597dea4c4e120&oauth_signature_method=HMAC-SHA256&oauth_signature=tkRLo9su5qGz2%2BZLCK1l2EZtVjHAsNwPlkWALHBFMh8%3D [params] => Array ( [oauth_consumer_key] => ck_1c6786d01a5a7e74653724dabe082d0a5a1d6a58 [oauth_timestamp] => 1463165459 [oauth_nonce] => 85516a78d857b12a6d59d31bbfa597dea4c4e120 [oauth_signature_method] => HMAC-SHA256 [oauth_signature] => tkRLo9su5qGz2+ZLCK1l2EZtVjHAsNwPlkWALHBFMh8= ) [data] => Array ( ) [body] => [duration] => 1.48462 ) stdClass Object ( [body] => {“errors”:[{“code”:”woocommerce_api_authentication_error”,”message”:”Invalid Signature – provided signature does not match”}]} [code] => 401 [headers] => Array ( [Date] => Fri, 13 May 2016 18:51:03 GMT [Server] => Apache Phusion_Passenger/4.0.10 mod_bwlimited/1.4 mod_fcgid/2.3.9 [X-Powered-By] => PHP/5.4.45 [X-Frame-Options] => SAMEORIGIN [Transfer-Encoding] => chunked [Content-Type] => application/json; charset=UTF-8 ) )
Forum: Plugins
In reply to: [WooCommerce] Can't access products using WooCommerce APII used the API in the same way in another website and it worked without any issue!
Forum: Plugins
In reply to: [WooCommerce] Can't access products using WooCommerce APIHi Mike!
Thanks for the quick reply. I am trying to access the API like this:
https://www.gms-automation.com/gms/wc-api/v3/orders?consumer_key=xxx&consumer_secret=xxxI am using actual credentials instead of *xxx*
Forum: Plugins
In reply to: [Search Everything] shortcode for search formHi!
I just installed this plugin. I came across this post trying to find the answer to the question asked in the thread. I figured out that there is no shortcode for the plugin. Once you activate the plugin, it automatically becomes your primary search widget. You don’t have to do anything else. No shortcode required! Just go to the widgets area and choose your normal search widget and include it in the sidebar or wherever you want! It would be using ‘search everything’ functionality at the back. Hope this helps everyone!