Forum Replies Created

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

    hi Pete,

    Thanks for the quick reply.
    I saw on page: https://www.xeroom.com/installation-instructions

    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) ?

    Thanks

Viewing 1 post (of 1 total)