Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
  • in reply to: Discount setting on WC before sent to Xero #8075

    hi Pete,

    Thanks for the quick reply.
    I saw on page:

    There is a hook called “woocommerce_checkout_order_processed” that is called
    when the order is created. I guess that is when order is created , not
    when invoice is sent.

    I tried have sale price on a variation item. But when invoice is sent to Xero.
    the “Disc %” is empty. Only when I use coupon code from WC, this discount
    value is sent with the invoice OK.

    So, is it alright if i use the REST API to change the discount value (if needed) ?


Viewing 1 post (of 1 total)