• Resolved andersbryrup

    (@andersbryrup)


    Hi,

    I was having trouble with integrating af third party service with my WooCommerce via WC API, it was caused because wpfc was adding <!-- html is corrupted --> to the end of the JSON response for the API.

    I fixed it for my installation by ignoring the WC endpoint same place as other WC URLS where ignored. This is the endpoint URL for WC api: /wc-api/v2/

    And this was what i changed:

    array_push($list, "\/cart", "\/checkout", "\/receipt", "\/confirmation", "\/product", "\/wc-api\/");

    Thanks! 🙂

    https://ww.wp.xz.cn/plugins/wp-fastest-cache/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Ignore WooCommerce api endpoint’ is closed to new replies.