Must click Finish twice during checkout

  • Posts: 99
  • Thank you received: 0
5 years 3 months ago #302199

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.0.2
-- Browser(s) name and version -- : CHROME
-- Error-message(debug-mod must be tuned on) -- : must click Finish twice

Hello,

User must click twice on finish during checkout to get redirected to Paypal... Shipping price is not correct then it's correct after the first click on Finish.
I read this same topic: https://www.hikashop.com/forum/checkout/886743-during-the-checkout-the-step-payment-method-must-be-clicked-twice.html
2 years old and the solution is to update and turn on "Auto submit shipping and payment methods selection" in System > Advanced
I also have "Auto select default shipping and payment methods" on Yes.

With Error Reporting, I can see this part with Warning:



I don't know if the issue is coming from the code, around 636 of shipping.php >
$shipping_group_struct = array_combine($keys[1], $keys[2]);
		}
		foreach($this->rates as $rate) {
			if(is_int($rate->shipping_warehouse_id))

Could you please help?

Different topic, another quick question please, probably easy for you, about "Enable validation mode (Classical only)" for Paypaladaptive plugin, in your support >
"Enable authorization mode : If activated, the payments won't be processed by PayPal but put "on hold", waiting for you to validate them manually."
You ? You mean the vendor or the website ? Where ?

Regards,

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
5 years 3 months ago #302212

Hi,

I see that you're using the old checkout of HikaShop and with an old view override of your template.
The first thing to do is to deactivate the "checkout legacy" setting of the Hikashop configuration in order to use the new checkout system added in HikaShop 3.
That should already help.

The following user(s) said Thank You: ChristopheMG

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

  • Posts: 99
  • Thank you received: 0
5 years 3 months ago #302283

Hi,
When I deactivate the "checkout legacy", some custom dev to display a "select availability" page between "Add to cart" and "checkout page" is not working anymore.
Nevermind I will have to review the code...:(
Thanks.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum