Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    It looks like this is related to the PlentyMarkets plugin. You’d want to contact the plugin developer directly since they are more familiar with how it works: https://marketplace.plentymarkets.com/en/services/support

    Thread Starter Piotr Szcze?niak

    (@piotrszczesniak)

    Hello!

    I contacted PlentyMarkets devs and got a reply – see below what they found out:

    <<–
    For shop https://lavagne-magnetiche.it , the GET calls work perfectly , but whenever we are trying to send stock via a PUT call with stock_quantity, we get a HTTP 403 Forbidden code. I think that either the wordpress or the server are configured to decline PUT calls, or something similar.

    Here is a log of one of our stock calls (I just removed from it the value of the client key and secret)

    Details of the error:
    ` PUT /wp-json/wc/v2/products/9909/?consumer_key=xxxxxxxxxxxxxxxx&consumer_secret=xxxxxxxxxxxxxx HTTP/1.1 Content-Type: application/json Authorization: Basic Y2tfYjk0NmM0YjVlNTI0NWM5Mjc1MmM2N2QxNjUwN2U5YzM0Zjc0MmYxZjpjc19kZTFhNmQ4ZTJmMTUwMzNiZTg5OWVlMGZjNmQwY2JmZmQyMWE3ODVj User-Agent: PostmanRuntime/7.28.4 Accept: */* Cache-Control: no-cache Postman-Token: 7daaebd0-5955-4c6d-8b86-44459e78c3a3 Host: lavagne-magnetiche.it Accept-Encoding: gzip, deflate, br Connection: keep-alive Content-Length: 21 {“stock_quantity”:21}
    HTTP/1.1 403 Forbidden
    Date: Mon, 27 Sep 2021 08:40:57 GMT
    Content-Type: text/html; charset=iso-8859-1
    Content-Length: 199
    Connection: keep-alive
    Server: Apache
    –>>

    Is there anything blocking in WooCommerce, WordPress and I can change it in files?
    Or, is it more on domain / server side?

    Any clues?

    Thanks!

    Hey there @piotrszczesniak!

    We aren’t sure about this since we don’t develop that extension and don’t know how they are integrated. Did the developer give you any instructions on how to fix this? They would be the best source of information for this error and a possible fix. Please note that we can’t provide any customizations for or support any customizations to our plugin as per our support policy: https://www.woocommerce.com/support-policy/

    Let us know if you have any other questions!

    Hi @piotrszczesniak

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have other questions, please feel free to open a new topic.

    Thread Starter Piotr Szcze?niak

    (@piotrszczesniak)

    Yes, I solved the problem. It was neither Woo nor Plenty plugin. It was the OVH shared hosting plan blocking ‘write’ API calls.

    Thanks for your help as it was useful to determine where potentially problem was burried.

    Plugin Support nathvi V. a11n

    (@nathvi)

    You are most welcome @piotrszczesniak !

    Glad to read the problem is solved now. If you need anything else, please let us know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WooCommerce and Plentymarkets connection issues’ is closed to new replies.