Trouvé sur un autre sujet de ce site :
Pour Prestashop 1.7.x
dans le fichier /classes/PaymentModule.php
à la ligne 741 remplacer
if (Configuration::get('PS_STOCK_MANAGEMENT') && ($order_detail->getStockState() || $order_detail->product_quantity_in_stock <= 0)) {
par
if (Configuration::get('PS_STOCK_MANAGEMENT') && ($order_detail->getStockState() || $order_detail->product_quantity_in_stock < 0)) {