fix bug at the time of the payment when stock=0 and checkAvailableStock=0

if stock=0 and checkAvailableStock=0
and forbid negative stock
a > 0 stand for a > b=0

I see want you meant by doing this, but I think it's better not to update stock when ConfigQuery::checkAvailableStock() is false.