Sometimes order ordered twice??

  • Posts: 175
  • Thank you received: 0
6 years 9 months ago #287146

-- url of the page with the problem -- : -
-- HikaShop version -- : 3.2.1
-- Joomla version -- : -
-- PHP version -- : -
-- Browser(s) name and version -- : -
-- Error-message(debug-mod must be tuned on) -- : -

Hello

i'm having problem with my hikashop.

When customer orders, sometimes the order ordered twice, with same item & data


*2 order with same time and items

I cant figure out what causing this,it seemed random because when i tested it, it only ordered once.
My assumption is because ordering by phone and poor connection although i dont have any evidence about it.

Any suggestion how to prevent this / solution for thi?

Thanks

Last edit: 6 years 9 months ago by veeco.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
6 years 9 months ago #287158

Hi,

What is the order status of these orders ?
Normally, here is how it goes:
The customer clicks on the "finish" button at the end of the checkout, the order is created and the customer is redirected to the payment gateway.
There, if he pays, the order is confirmed and the customer returns to the website and the cart is cleared.
However, if he clicks on "cancel", the order status is changed to "cancelled" and the customer is back on the checkout. He can then click on finish again at the end of the checkout to again create an order and repeat the cycle.
So it's totally possible to have several orders generated.
However, only the confirmed orders should be taken into account, as they are the only ones really paid by the customer.

Please Log in or Create an account to join the conversation.

  • Posts: 175
  • Thank you received: 0
6 years 9 months ago #287258

Hello

They are "created", its causing problem to my discount system as its based on quota and these double/triple orders reduced the quota more than it should be

The problem is there is seems no pattern to why its happening. Its just happened randomly. Testing it with several different device/connection shows different result [sometimes it works fine, sometimes the order is doubled even tripled]

Thank You

update : tried to create a new account, ordered using my PC and my phone, works fine and only order once. Tried with my friend's phone to do the order and the order is doubled. It really confused me why its happening, so random

update2 : tried again with my friend's phone. If its in regular tab, it will order twice, but if i opened incognito window and ordered there, it only orders once. Its using phone's chrome

Last edit: 6 years 9 months ago by veeco.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
6 years 9 months ago #287271

Hi,

Could it be a problem with the "finish" button ?
HikaShop could have such "double" orders issue before but since a while there is javascript which prevents that you can click twice on the finish button.
Here is two things to try:
1. try with the default template of Joomla. If might be that you have some view overrides on the checkout and thus you have some old code which doesn't have the improvement I was talking about above.
2. try changing the "checkout legacy" setting of the HikaShop configuration.

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum