Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,162,178 members, 7,849,636 topics. Date: Tuesday, 04 June 2024 at 06:39 AM

Help With Woocommerce Rest API - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Help With Woocommerce Rest API (764 Views)

How To Integrate Flutterwave With Woocommerce / Support REST API For Blog Post, Blog Category - Best Magento 2 Blog Extension / Getting Started With Woocommerce (2) (3) (4)

(1) (Reply) (Go Down)

Help With Woocommerce Rest API by Nobody: 4:32pm On Nov 10, 2019
This is supposed to be simple and straight forward but for some reason, it's giving me sleepless nights. I'm trying to connect an App to my woo commerce Wordpress store. I already generated my rest API keys but this app cannot connect. In fact, it seems the error is from my server because when I try to authenticate even when logged in, it fails.

https://shoppebyperidot.com//wp-json/wc/v2/system_status?consumer_key=ck_56f7cd975b9e63055ca74a135d065f6d814301b2&consumer_secret=cs_b642fe645940e983f4e44346cd45b8ae24e49c6b

Returns error {"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot list resources.","data":{"status":401}}

But when I try this on a different hosting account ( Namecheap ) there is no issue at all https://duremon.com//wp-json/wc/v2/system_status?consumer_key=ck_4f37e8fd284a79cd83836208adfe9367a078ca2d&consumer_secret=cs_35959c87abfb2e32f85a3a27fa6b0cf8476e3f97 will return a json file but the other one will fail, please what am I missing?
Re: Help With Woocommerce Rest API by bot101(m): 4:40pm On Nov 10, 2019
Just tried both endpoints, and they worked as expected.
Re: Help With Woocommerce Rest API by Nobody: 4:41pm On Nov 10, 2019
bot101:
Just tried both endpoints, and they worked as expected.
You mean the First one works?
Re: Help With Woocommerce Rest API by devdev: 7:40pm On Nov 10, 2019
grossintel:
You mean the First one works?

Yes both works
Re: Help With Woocommerce Rest API by TechCapon(m): 10:42am On Feb 20, 2020
grossintel:
This is supposed to be simple and straight forward but for some reason, it's giving me sleepless nights. I'm trying to connect an App to my woo commerce Wordpress store. I already generated my rest API keys but this app cannot connect. In fact, it seems the error is from my server because when I try to authenticate even when logged in, it fails.

https://shoppebyperidot.com//wp-json/wc/v2/system_status?consumer_key=ck_56f7cd975b9e63055ca74a135d065f6d814301b2&consumer_secret=cs_b642fe645940e983f4e44346cd45b8ae24e49c6b

Returns error {"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot list resources.","data":{"status":401}}

But when I try this on a different hosting account ( Namecheap ) there is no issue at all https://duremon.com//wp-json/wc/v2/system_status?consumer_key=ck_4f37e8fd284a79cd83836208adfe9367a078ca2d&consumer_secret=cs_35959c87abfb2e32f85a3a27fa6b0cf8476e3f97 will return a json file but the other one will fail, please what am I missing?

I'm interested in buying and selling bitcoin. Can you put me through

(1) (Reply)

Is Domain King Hosting Platform Ideal For A Blog Setup / How Rogue Bloggers Are Making Money From Your Content At Your Expense / Popular Nigeria Blog For Sale

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.