The inventory widget calculation is sometimes not working and causing issues in payment processing