• readytoship

    (@readytoship)


    Hi there,

    We are a platform making API calls to get Orders from customer websites. A customer has this plugin installed, and when it applied a discount to an order it seems to cause this exception:
    “Uncaught WC_Data_Exception: Invalid discount type”

    They are using an auto coupon to set price to 0 when a duplicate item is added to cart.

    The request is a simple request {“method”:”get”,”url”:”https://xxxxxxxxxxx/wp-json/wc/v3/orders} call, either for individual order ID, or date range.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught WC_Data_Exception: Invalid discount type’ is closed to new replies.