• Resolved kmcwepc

    (@kmcwepc)


    There are hooks that ensure that stock is increased whenever an invoice status changes to cancelled or failed, but not when it is refunded. Doesn’t it make sense to release the stock held by an invoice when it is refunded? Like so in GetPaid_Item_Inventory

    add_action( 'getpaid_invoice_status_wpi-refunded', array( $this, 'increase_stock' ) );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Shouldn’t stock be increased when an invoice is refunded?’ is closed to new replies.