severein Posted September 28, 2010 Share Posted September 28, 2010 Hello,When a customer pays with Paypal. The order status stays on 'backorder'When I take a look at the specific order, I see that the status is changed from 'payment accepted' to 'on backorder'.I think that Paypal sends the payment accepted notice earlier than that PS is setting the order to 'on backorder'.So I have to manually edit the order to 'payment accepted' again.It's not a problem with the items Out of Stock. Payments with Direct Bank Transfers are fine.Does anybody encountered this problem? Link to comment Share on other sites More sharing options...
zenpawn Posted March 31, 2011 Share Posted March 31, 2011 I was getting that too. Since I had imported my products, they all had their quantity set to 0. This shouldn't have mattered because Stock Management is disabled. However, in classes/PaymentModule.php, the bit of code below erroneously flags this case as a backorder since Product::updateQuantity returns true when Stock Management is disabled. if (Product::updateQuantity($product, (int)$order->id)) $product['stock_quantity'] -= $product['cart_quantity']; if ($product['stock_quantity'] < 0) $outOfStock = true; I resolved the situation by running the following query in phpMyAdmin UPDATE ps_product SET quantity = 1 Actually, I used 5, just in case, but updateQuantity doesn't decrement it when Stock Management is disabled, so setting it to 1 as above should suffice.Hope that helps. Link to comment Share on other sites More sharing options...
barbward Posted May 11, 2011 Share Posted May 11, 2011 I have stock management disabled and all my quantities are 1 or greater when I look in the database.I still am getting 'stock is on backorder' email messages sent to my customers....Any ideas what setting I'm missing???Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts