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

if stock=0 and checkAvailableStock=0
and forbid negative stock