customers have to click 2 times to checkout

  • Posts: 287
  • Thank you received: 22
7 years 3 months ago #256920

-- url of the page with the problem -- : www.dfcgrootverbruik.nl
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 7.0.13

Hi,
I've read about this multiple times in the forum but did not find there was a reason that applies to my situation (could be me...)

In our shop there have been no changes in shipping or payment configuration.
The options to auto select a default shipping and payment option are selected.

This webshop is pretty static but I have updated Hikashop to the last version of 2.6.4 last week.

Without jumping to conclusions it seems the issue "automagically" appeared.

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

  • Posts: 12953
  • Thank you received: 1778
7 years 3 months ago #256923

Hello,

Firstly, can you check that the "Auto submit shipping and payment methods selection" option is set to YES through the page "Hikashop->System->Configuration->Checkout" and test it again ?

Thank you.

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

  • Posts: 287
  • Thank you received: 22
7 years 3 months ago #257025

Hi Mohamed,

Those options are indeed checked.
The issue is still present.

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

  • Posts: 4491
  • Thank you received: 609
  • MODERATOR
7 years 3 months ago #257029

Hello,

Can you provide a screenshot of your checkout configuration, like this one :



One more question, I guess the "double clicked" issue appear when customer change from the default selected payment method?...Right ?
Awaiting news from you.

Regards

Attachments:
Last edit: 7 years 3 months ago by Philip.

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

  • Posts: 287
  • Thank you received: 22
7 years 3 months ago #257074

Hi Philip,

Our users never switch payment or shipping. It's used for our own customers and they have nothing to do with that.
It's been turned off or hidden for them since the shop is running (~1 year).

This is my screenshot :

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

  • Posts: 4491
  • Thank you received: 609
  • MODERATOR
7 years 3 months ago #257107

Hello,

Can you provide some customer and backend references in order to process some tests ?
Use our Contact us form in order to provide this access references, don't forget to add with your message an Url link to this topic.

Awaiting news from you.

Regards

Last edit: 7 years 3 months ago by Philip.

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

  • Posts: 287
  • Thank you received: 22
7 years 3 months ago #257460

Hi Philip,
I have send the details by contact form as requested.

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

  • Posts: 81378
  • Thank you received: 13037
  • MODERATOR
7 years 3 months ago #257526

Hi,

Thanks, we got the access.
Try removing the code:

if(($old_payment_id!=$payment_id || $old_payment_method!=$payment) || @$old_payment_data->payment_price!=$paymentData->payment_price && ($this->_getStep('cart',(int)$this->previous)===(int)$this->previous || $this->_getStep('confirm',(int)$this->previous)===(int)$this->previous)){
				return false;
			}
from the file components/com_hikashop/controllers/checkout.php

The following user(s) said Thank You: killnine

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

  • Posts: 287
  • Thank you received: 22
7 years 3 months ago #257736

Hi,
The change is working, thank you all for helping solve this !

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

  • Posts: 32
  • Thank you received: 1
7 years 3 months ago #257924

My client is having the same issue. While I have updated him to 2.6.4 some time ago, the file on the webserver still has the 2.6.3 header. Perhaps it wasn't updated because of some change.

However, the code you suggested to remove is in both instances. Is this code a bug or something? I am concerned about removing it without have a great grasp of what it's actually doing.

After removing the same code, the issue is resolved and the order is placed immediately. Whereas, before, it was updating the checkout window to look like a 'confirmation' of the CC information, which is confusing to users because they sometimes dont see the form change.

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

  • Posts: 81378
  • Thank you received: 13037
  • MODERATOR
7 years 3 months ago #257988

Hi,

It's not possible that you have the header of the 2.6.3 in the file components/com_hikashop/controllers/checkout.php if the update wen't successfully.
That file has to be updated to the 2.6.4.
What you can do is rename the folders administrator/components/com_hikashop and components/com_hikashop and install the install package of the 2.6.4 again. It will circumvent the permission issue you probably have and you'll get the 2.6.4 version of the files.

In any case, we didn't apply that modification to the 2.6.4. While it might be valid for the way you configured your checkout and your payment methods, for other merchants, that code is important.
Also, HikaShop 3.0.0 (the next version of HikaShop) will have a brand new checkout system which will work completely differently and allow us to handle all the cases properly.

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

Time to create page: 0.114 seconds
Powered by Kunena Forum