[Skip to main content](#vessel-content)

#   during the checkout the step payment method must be clicked twice ?

##

- **[sindb](/forum/user/42954-sindb "View sindb's Profile")**
- [![sindb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42954-sindb "View sindb's Profile") Topic Author
- [ Offline](/forum/user/42954-sindb)

Less More

- Posts: 49
- Thank you received: 1
-
-

10 years 1 month ago -  10 years 1 month ago [\#252381](#252381) by [sindb](/forum/user/42954-sindb "View sindb's Profile")  Replied by *[sindb](/forum/user/42954-sindb "View sindb's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252381 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Dear,

this is a Hikashop issue

I set up a test environment [ www.test.zebra-design.be/](http://www.test.zebra-design.be/)
just installed Joomla 3.6.2 without sample data and Hikashopstarter with sample data
-&gt; com_hikashop_starter_v2.6.4_2016-10-13_14-08-16

and I have this problem also here ?

I don't understand it anymore ?
This shouldn't be real in a clean install this issue ?

For an user, auto submit on shipping (which move forwards) and on payment (it doesnt) is going to be confusing.

Anyone please ?

TIA

Regards,
Thierry

Last edit: 10 years 1 month ago by [sindb](/forum/user/42954-sindb "View sindb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

10 years 1 month ago -  10 years 1 month ago [\#252395](#252395) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252395 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hi,

I know about shipping method...I am not sure why hika devs did like that but as I remember if you add cart step to shipping step it wont move to next step up on shipping method selection.

Here is my topic regarding this: [ www.hikashop.com/forum/checkout/882550-checkout-steps.html](https://www.hikashop.com/forum/checkout/882550-checkout-steps.html)

So you can add cart step to shipping step or directly modify core file like in that topic.

Another thing that hikashop 3 is coming soon and it will have completely new checkout workflow without such issues....

Hope that helps.

Thank you

Last edit: 10 years 1 month ago by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile").

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 1 month ago [\#252384](#252384) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252384 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hi,

Then try removing the code: Code:

if(($old_payment_id!=$payment_id &#124;&#124; $old_payment_method!=$payment) &#124;&#124; @$old_payment_data-&gt;payment_price!=$paymentData-&gt;payment_price &amp;&amp; ($this-&gt;_getStep('cart',(int)$this-&gt;previous)===(int)$this-&gt;previous &#124;&#124; $this-&gt;_getStep('confirm',(int)$this-&gt;previous)===(int)$this-&gt;previous)){ return false; }

in the file components/com_hikashop/controllers/checkout.php and that should help

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sindb](/forum/user/42954-sindb "View sindb's Profile")**
- [![sindb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42954-sindb "View sindb's Profile") Topic Author
- [ Offline](/forum/user/42954-sindb)

Less More

- Posts: 49
- Thank you received: 1
-
-

10 years 1 month ago -  10 years 1 month ago [\#252514](#252514) by [sindb](/forum/user/42954-sindb "View sindb's Profile")  Replied by *[sindb](/forum/user/42954-sindb "View sindb's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252514 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Dear Kyratn,

if I put this code Code:

if($this-&gt;config-&gt;get('auto_submit_methods',1) &amp;&amp; empty($checked)) $checked.=' onclick="this.form.action=this.form.action+\'#hikashop_shipping_methods\';this.form.submit(); return false;"';

in comment, nothing changes ...
So I removed back the //

Dear Nicloas,

by putting this the code: Code:

if(($old_payment_id!=$payment_id &#124;&#124; $old_payment_method!=$payment) &#124;&#124; @$old_payment_data-&gt;payment_price!=$paymentData-&gt;payment_price &amp;&amp; ($this-&gt;_getStep('cart',(int)$this-&gt;previous)===(int)$this-&gt;previous &#124;&#124; $this-&gt;_getStep('confirm',(int)$this-&gt;previous)===(int)$this-&gt;previous)){ return false;}

in comment, I get this error
syntax error, unexpected end of file, expecting function (T_FUNCTION)
So I removed back the //

My checkout steps are
1 Cart 2 Login 3 Address 4 Shipment 5 Payment/Terms &amp; Conditions 6 End

FYI: I have now HikaShop Business 2.6.4 and this issue is still there.

Thanks for your help.

Regards,
Thierry

Last edit: 10 years 1 month ago by [sindb](/forum/user/42954-sindb "View sindb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 1 month ago [\#252548](#252548) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252548 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hi,

I didn't tell you to comment it but to remove it.
If you get a parse error, it just means that you didn't comment the code properly and forgot something.

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sindb](/forum/user/42954-sindb "View sindb's Profile")**
- [![sindb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42954-sindb "View sindb's Profile") Topic Author
- [ Offline](/forum/user/42954-sindb)

Less More

- Posts: 49
- Thank you received: 1
-
-

10 years 1 month ago [\#252565](#252565) by [sindb](/forum/user/42954-sindb "View sindb's Profile")  Replied by *[sindb](/forum/user/42954-sindb "View sindb's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252565 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Nicolas,

Dear Nicloas,

I removed this code: Code:

if(($old_payment_id!=$payment_id &#124;&#124; $old_payment_method!=$payment) &#124;&#124; @$old_payment_data-&gt;payment_price!=$paymentData-&gt;payment_price &amp;&amp; ($this-&gt;_getStep('cart',(int)$this-&gt;previous)===(int)$this-&gt;previous &#124;&#124; $this-&gt;_getStep('confirm',(int)$this-&gt;previous)===(int)$this-&gt;previous)){ return false;}

and now I don't have this error but it didn't change anything, the double click is still needed at the step payment methods.

My checkout steps are
1 Cart 2 Login 3 Address 4 Shipment 5 Payment/Terms &amp; Conditions 6 End

Thanks for your help.

Regards,
Thierry

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 1 month ago [\#252589](#252589) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252589 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hi,

I don't see how it could still have that without that code.
Please provide a backend access and a FTP access to the website via our contact form along with a link to this thread so that we can have a look as I can't reproduce the issue.
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[miked1](/forum/user/45594-miked1 "View miked1's Profile")**
- [![miked1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45594-miked1 "View miked1's Profile")
- [ Offline](/forum/user/45594-miked1)

Less More

- Posts: 5
- Thank you received: 2
-
-

10 years 1 month ago [\#252669](#252669) by [miked1](/forum/user/45594-miked1 "View miked1's Profile")  Replied by *[miked1](/forum/user/45594-miked1 "View miked1's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252669 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hello. I thought I should jump in at this point. I'm a developer helping the user with other aspects of their project

I'm a bit confused. It's clear this is a Hikashop issue. The payment form submission is not working correctly, therefore auto submit fixes the double click issue. That's fine, though the user experience is a bit odd (the user sees the browser doing something at a crucial stage of the checkout with no obvious change). Still, that aside, the other problem is the checkout flow. Shipping auto-submits (no Next necessary), but payment does not.

I've worked on a few major open source projects, and individual user fixes are not the answer. I appreciate the commenting and implementing of the code posted here might not have been done correctly. I'm going to check. I'm not to ask for more fixes (the best solution now is to prevent auto-submit working at Shipping stage to improve the flow), just want to clarify this is a global issue (we've tested on a new clean install with same results).

It should be recorded as a bug if it hasn't already. Effectively checkout does not work correctly without 'auto submit' on, and when on creates the flow issue above. I think this should be better clarified, especially for users that have paid for Hikashop.

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[miked1](/forum/user/45594-miked1 "View miked1's Profile")**
- [![miked1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45594-miked1 "View miked1's Profile")
- [ Offline](/forum/user/45594-miked1)

Less More

- Posts: 5
- Thank you received: 2
-
-

10 years 1 month ago [\#252670](#252670) by [miked1](/forum/user/45594-miked1 "View miked1's Profile")  Replied by *[miked1](/forum/user/45594-miked1 "View miked1's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252670 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hello. I thought I should jump in at this point. I'm a developer helping the user with other aspects of their project

I'm a bit confused. It's clear this is a Hikashop issue. The payment form submission is not working correctly, therefore auto submit fixes the double click issue. That's fine, though the user experience is a bit odd (the user sees the browser doing something at a crucial stage of the checkout with no obvious change). Still, that aside, the other problem is the checkout flow. Shipping auto-submits (no Next necessary), but payment does not.

I've worked on a few major open source projects, and individual user fixes are not the answer. I appreciate the commenting and implementing of the code posted here might not have been done correctly. I'm going to check. I'm not to ask for more fixes (the best solution now is to prevent auto-submit working at Shipping stage to improve the flow), just want to clarify this is a global issue (we've tested on a new clean install with same results).

It should be recorded as a bug if it hasn't already. Effectively checkout does not work correctly without 'auto submit' on, and when on creates the flow issue above. I think this should be better clarified, especially for users that have paid for Hikashop.

I'll post once code here is tested fully to confirm it's working.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 1 month ago [\#252651](#252651) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252651 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hi,

I'm not able to access your website at all and the test website doesn't recognize the user account either.
Could you double check the credentials your provided please ?

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sindb](/forum/user/42954-sindb "View sindb's Profile")**
- [![sindb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42954-sindb "View sindb's Profile") Topic Author
- [ Offline](/forum/user/42954-sindb)

Less More

- Posts: 49
- Thank you received: 1
-
-

10 years 1 month ago [\#252677](#252677) by [sindb](/forum/user/42954-sindb "View sindb's Profile")  Replied by *[sindb](/forum/user/42954-sindb "View sindb's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252677 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Dear,

sorry I have given the wrong url
[ www.test.zebra-design.be/administrator](http://www.test.zebra-design.be/administrator)

user &amp; pswd are the same as in mail.

TIA

Regards,
Thierry

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 1 month ago [\#252792](#252792) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252792 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hi,

As I said, the test website didn't allow me to login with that user account to its backend. However, with the frontend access and FTP access, I was able to check on the issue.
As expected the modification wasn't done in the file components/com_hikashop/controllers/checkout.php
I've commented the lines for you in that file with the FTP account and confirmed that what you were describing now works like you want on your test website.
So I don't know what you did, but it was probably something else. Not the correct website ? Not the correct file ? Not the correct code ? One of these I guess.

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sindb](/forum/user/42954-sindb "View sindb's Profile")**
- [![sindb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42954-sindb "View sindb's Profile") Topic Author
- [ Offline](/forum/user/42954-sindb)

Less More

- Posts: 49
- Thank you received: 1
-
-

10 years 1 month ago [\#252801](#252801) by [sindb](/forum/user/42954-sindb "View sindb's Profile")  Replied by *[sindb](/forum/user/42954-sindb "View sindb's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252801 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Dear Nicolas,

I had removed line 1029 - 1034 ![:(](/media/kunena/emoticons/22.png ":(")Code:

if(($old_shipping_ids !== $shipping_ids &#124;&#124; $old_shipping_methods !== $shippings) &amp;&amp; ($this-&gt;_getStep('cart',(int)$this-&gt;previous)===(int)$this-&gt;previous &#124;&#124; $this-&gt;_getStep('confirm',(int)$this-&gt;previous)===(int)$this-&gt;previous)){ return false; } return true; }

There I was wrong ... sorry for my mistake.
Thanks to solve this for me.

I see that this doesn't work anymore when I change the steps of my checkout ?

It works when I have this check-out
1 Cart 2 Login 3 Address 4 Shipment 5 Payment 6 Terms &amp; Conditions 7 End

but it doesn't works when I have:
1 Cart 2 Login 3 Address 4 Shipment 5 Payment and Terms &amp; Conditions 6 End

Does this means that your fix is only for one kind of checkout ?

TIA

Regards,
Thierry

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 1 month ago [\#252806](#252806) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252806 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hi,

No. But if you have the terms and conditions view on the same step, you also have to check the checkbox before finishing the order.
That's why it's still redirecting you back to the step and not directly finishing the checkout process.

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sindb](/forum/user/42954-sindb "View sindb's Profile")**
- [![sindb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42954-sindb "View sindb's Profile") Topic Author
- [ Offline](/forum/user/42954-sindb)

Less More

- Posts: 49
- Thank you received: 1
-
-

10 years 1 month ago [\#252868](#252868) by [sindb](/forum/user/42954-sindb "View sindb's Profile")  Replied by *[sindb](/forum/user/42954-sindb "View sindb's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252868 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Nicolas,

I was aware of this so I marked Terms &amp; Conditions before I chose a Payment Method but even then I had to click Next.

Regards,
Thierry

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 1 month ago [\#252927](#252927) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252927 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Hi,

I don't see why that would be the case.
I tried to look at that on your test website but I don't see the T&amp;C on the payment step.

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sindb](/forum/user/42954-sindb "View sindb's Profile")**
- [![sindb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/42954-sindb "View sindb's Profile") Topic Author
- [ Offline](/forum/user/42954-sindb)

Less More

- Posts: 49
- Thank you received: 1
-
-

10 years 1 month ago [\#252991](#252991) by [sindb](/forum/user/42954-sindb "View sindb's Profile")  Replied by *[sindb](/forum/user/42954-sindb "View sindb's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#252991 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

Dear Nicolas,

I have put the checkout workflow back to
1 Cart 2 Login 3 Address 4 Shipping 5 Payment / Terms &amp; Conditions 6 end

Also I have checked your login and it should work now.

Regards,
Thierry

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[miked1](/forum/user/45594-miked1 "View miked1's Profile")**
- [![miked1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45594-miked1 "View miked1's Profile")
- [ Offline](/forum/user/45594-miked1)

Less More

- Posts: 5
- Thank you received: 2
-
-

10 years 1 month ago [\#253178](#253178) by [miked1](/forum/user/45594-miked1 "View miked1's Profile")  Replied by *[miked1](/forum/user/45594-miked1 "View miked1's Profile")* on topic *[during the checkout the step payment method must be clicked twice ?](/forum/27-checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice?start=20#253178 "-- url of the page with the problem -- :   www.zebra-design.be  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Google chrome Version 53.0.2785.143 m  Dear,  during the checkout the step payment method must be clicked twice ?  the only difference I see is in the url   www.zebra-design.be/index.php/shop/meube...out/task-step/step-4  second click   www.zebra-design.be/index.php/shop/meube...out/task-step/step-5  please see attachments.  What can I do to avoid this second click please ?  TIA  Regards, Thierry")*

> nicolas wrote: Hi,
>
> No. But if you have the terms and conditions view on the same step, you also have to check the checkbox before finishing the order.
> That's why it's still redirecting you back to the step and not directly finishing the checkout process.

I don't think that is correct. The need for two clicks is due to the error in the form submission process when clicking 'Next' (solved in a hacky way by turning on auto-submit).

Terms and Conditions should be on the payment page, so the solution should not be to split them but to solve the form submission issue.

I also recommend (as someone who has been a team member of other open source projects) of not requesting ftp access to fix issues. This is both risky in putting yourself in the position of being responsible for further issues, but more importantly not allowing the issue to be shared and fixed globally.

The following user(s) said Thank You: [sindb](/forum/user/42954-sindb "View sindb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Njc0My1kdXJpbmctdGhlLWNoZWNrb3V0LXRoZS1zdGVwLXBheW1lbnQtbWV0aG9kLW11c3QtYmUtY2xpY2tlZC10d2ljZT9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.172 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
