Checkout process not working in WordPress - although identical to Joomla

  • Posts: 31
  • Thank you received: 1
  • Hikashop Business
2 hours 33 minutes ago #373382

-- HikaShop version -- : 6.6.0
-- PHP version -- : 8.3.33
-- Browser(s) name and version -- : any

I have exported my webshop from my Joomla 5.4.8 page to a new Wordpress 7.1 page. Both with latest Hikashop version 6.6.0. The import/export had to happen through myPHP export/import before being able to use the migration tool. However, now, everything seems to have moved fine. Everything is there, orders, payment plugins, products, workflow etc.
However, the checkout workflow seems to stop after having entered the address, when pressing next, it ends up being on the same page (address/login) again and it doesn't move on to the payment step.
Sometimes it brings an error about a token. And sometimes, it quickly shows a 401.
Any idea what went wrong and how I could fix it?


________________________________
CSK Management

www.cskmanagement.com

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

  • Posts: 86116
  • Thank you received: 14211
  • MODERATOR
1 hour 49 minutes ago #373384

Hello,

Thank you for the report. We could reproduce it on a WordPress test site with HikaShop 6.6.0, and it is not related to your migration: it comes from two bugs in the WordPress part of HikaShop.

The first one is the token message. When the customer logs in or registers inside the checkout, WordPress creates a new session, but the security token of the checkout page is still computed for the previous one. The first click on "Next" after that is refused, the checkout reloads on the same step, and the 401 you see is the same refusal when it happens during the refresh of a block. A second click on "Next" goes through, because the reloaded page carries a valid token.

The second one is a PHP error with PHP 8 which can stop the refresh of the checkout blocks (login, address) when a HikaShop system plugin is enabled, which is the case by default. With errors hidden, you only see the checkout not moving on.

Both are fixed on our side. Download again the install package of HikaShop 6.6.0 on our website and install it on yours in order to get the patchs.

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

  • Posts: 31
  • Thank you received: 1
  • Hikashop Business
29 minutes ago #373386

Thank you, Nicolas for your super-quick reply.
I have downloaded Hikashop business 6.6.0 through the subscription part of my account again, and installed it.
Unfortunately, still, both errors are still there. See attachments with screenshots of my checkout workflow settings and the error.
Chris


________________________________
CSK Management

www.cskmanagement.com
Attachments:

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

Time to create page: 0.041 seconds
Powered by Kunena Forum