• Resolved Laura Yeffeth

    (@lyeffeth)


    The legacy API is enabled on my site, but I didn’t enable it so I am trying to determine what plugin is using it. Looking through my server access logs, it looks like it is this plugin. I see this in my access logs:

    "POST /?wc-api=wc_stripe HTTP/1.0" 200 300 "-" "Stripe/1.0 (+https://stripe.com/docs/webhooks)"

    If this is correct, will this plugin be updated to use the Rest API?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hey there,

    Thanks for reaching out!

    To be sure, is this related to the Legacy Rest API being moved to a dedicated plugin in WooCommerce 9?

    "POST /?wc-api=wc_stripe HTTP/1.0" 200 300 "-" "Stripe/1.0 (+https://stripe.com/docs/webhooks)"

    These aren’t legacy Rest API requests but endpoints. When checking your server access logs, you are looking for URLs containing the following strings:

    • /wc-api/v3/?or?;
    • /wc-api/v2/?or?;
    • /wc-api/v1/

    While legacy Rest API is being removed in Woo 9.0, there would be a separate plugin?available to install?to continue support for Legacy Rest API requests. ??

    Cheers!

    Thread Starter Laura Yeffeth

    (@lyeffeth)

    Yes, I understand there will be a separate plugin available, but I would prefer not to add another plugin unless it is needed, thus why I am checking if my site is using the Legacy API.

    So just to confirm, you are saying this plugin does not use the Legacy API and (as far as your plugin is concerned) this can be disabled. Is that correct?

    Hi there @lyeffeth ??

    So just to confirm, you are saying this plugin does not use the Legacy API and (as far as your plugin is concerned) this can be disabled. Is that correct?

    Just to note, WooCommerce 2.6, which was released back in 2016, first?included a new REST API based on the WordPress JSON API. That made the old (now referred to as “Legacy”) REST API obsolete, and?we have documented it as being deprecated?since then. In fact, it needs to be explicitly enabled from the admin area for it to be usable. Further details can be found linked here.

    Kindly make sure the webhooks in use at your store are utilizing the latest Stripe API version, as detailed here.

    With that, you should be good to go.

    I trust that points you in the right direction, but if you have more questions, let us know.

    We’re happy to help.

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Howdy,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is this plugin using the Legacy API’ is closed to new replies.