VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: cback on May 17, 2021, 13:13:13 PM

Title: Missing orders in backend
Post by: cback on May 17, 2021, 13:13:13 PM
Hi guys,
Hope someone can help.  Since a virtuemart update last year, I am having issues with my orders.  They are always consecutive, but the strangest things are going on, for example today, these were my steps:

1. I place order on frontend.  Order is for a customer, so I add their shipping/invoice details and email address and I confirm the order (not logging in) but then close the payment window when it pops up, because I have to send customer manual payment link.  Order goes into my system with number 21939.  Status is pending because I am waiting for customer's payment.

2. I need to do the same for a new customer (again I do not log in)  I go back to frontend... strangely, 2 of the items from previous customer order are still in my cart.  No idea why because order was confirmed and completed (or so I think).  So I remove those 2 items.  I add the items for new customer's order and change the shipping/invoice details to those of new customer.   I confirm order, then close payment window because I have to send customer manual payment link in this case also.

But then I check backend and the first order is just gone, vanished!  And only the second order is there, but with next consecutive number 21940.

This happens frequently.  Does anyone have any idea what is happening to my orders?
Any help would be greatly appreciated, many thanks :)

VM 3.6.0 10113
Joomla 3.9.11
Title: Re: Missing orders in backend
Post by: AH on May 17, 2021, 19:26:40 PM
Yes that is a problem when you do the orders yourself - we use a similar business process.

As the system "reuses" pending orders you can "lose" an order

If you set this hidden configuration it should do the trick

reuseorders=0          //default enabled, prevents creation of pending orders if confirmed later

See this link how to set and save:-

https://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html (https://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html)

The only downside of setting this is that when people continually fail to complete an order - you will get multiple pending orders in the admin - but far better than losing order IMHO
Title: Re: Missing orders in backend
Post by: cback on May 17, 2021, 21:04:32 PM
Thank you so much for your help, I really appreciate it, will give that a go tomorrow :)
Title: Re: Missing orders in backend
Post by: AH on May 18, 2021, 10:59:43 AM
Let us know how you get on