kloon / WooCommerce-REST-API-Client-Library

A PHP wrapper for the WooCommerce REST API
GNU General Public License v3.0
357 stars 175 forks source link

getting 404 page not found error on giving list of products or orders #232

Open mohammerat opened 6 years ago

mohammerat commented 6 years ago

Hi, I'm using Wordpress 4.8.1 and woocommerce 3.1.2 and using this package for getting list of orders or products when I call method I get the 404 page not found error Am I do something wrong? I'm using my app in localhost but my store is online and using valid ssl certificate sorry, I'm new in using WC REST API

qroft commented 6 years ago

Your description is too vague, even for me as the noob that i am. The first thing i would do is put the wrapper where your shop is. Create a folder called "apiwrapper" and there create a first file with the example code. It should then work out of the box.

So the qustion is, why your 404 pops up. It could be that he does not find the wrapper file, or some of its libraries. But you could also have some crazy htaccess running.