• tctnpf

    (@tctnpf)


    Hi

    I have installed the wordpress on my local machine and i added the woocommerce plugin on that.i needs to integrate the woocommerce shopping carts to my another application through the REST api.i enable the rest api options on my local host. and added one client library php file on my local host application folder as per the following links

    https://gerhardpotgieter.com/2014/02/10/woocommerce-rest-api-client-library/

    configured my woocommerce credentials(consumer key and secret key) on this page.but unable to access my woocommerce store order details through the rest api.

    i got the following erros

    {“errors”:[{“code”:”woocommerce_api_authentication_error”,”message”:”oauth_consumer_key parameter is missing”}]}

    my question is can we integrate the local host(FREE) woocommerce application with another application through the REST Api call ?

Viewing 1 replies (of 1 total)
  • hello, i’m afraid you not using https, like https://localhost, Woo’s API allows HTTP Auth only over HTTPS, if you want to stick with HTTP consider using OAuth.

    I found this quick annoying myself, as i cannot use CRUL to try things out. only after installing SSL cert all is good.

    hope this helps, regards, ClickOn GmbH https://www.clickon.ch – Mobile Apps for E-Commerce.

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce rest api with local host’ is closed to new replies.