checkout changed after latest update

  • Posts: 8
  • Thank you received: 0
5 years 7 months ago #297082

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 7

The checkout page flow changed after I updated to 3.5.1.

Before the update I when I clicked submit in the one page checkout the next page would be the actual bank selector page.
Now I get an extra page with the payment block

This is the situation before the update.
www.useloom.com/share/e2317ac59c0f46a39d305bf702a4fc3d

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

  • Posts: 8
  • Thank you received: 0
5 years 7 months ago #297083

Also when something goes wrong with payment (like cancelation) it's not possible anymore to reach the page with form with adress / email. It goes directly to that last (extra) checkout page.

Attachments:

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

  • Posts: 81504
  • Thank you received: 13063
  • MODERATOR
5 years 7 months ago #297086

Hi,

Could you provide a screenshot of the settings under the "Checkout" tab of the HikaShop configuration ?

Also, I see that you're using a payment plugin which is not included in HikaShop. Could you do a test with one that is, like for example "bank transfer" and see if you also have the issue ?

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

  • Posts: 8
  • Thank you received: 0
5 years 7 months ago #297118

Hi,
I installed the bank transfer payment method and the behaviour is the same.
I attached screenshots of the configuration.

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

  • Posts: 81504
  • Thank you received: 13063
  • MODERATOR
5 years 7 months ago #297198

Hi,

I was able to reproduce the problem on my end and fixed it.
It was caused by another patch which added extra checks on the addresses during the checkout to properly refresh elements when addresses would be added/removed. This change had an effect on that special case as the check for that special case didn't take into account the extra checks of the other patch.

The fix is quite simple. Change the line:

if(!in_array($markerName, array('billing_address', 'shipping_address','user')))
to:
if(!in_array($markerName, array('billing_address', 'billing_addresses', 'shipping_address', 'shipping_addresses','user')))
in the file administrator/components/com_hikashop/helpers/checkout/login.php and that's it.
We'll add that fix on our end too.

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

  • Posts: 8
  • Thank you received: 0
5 years 7 months ago #297229

Hi,

Thanks. That fixed the problem.
After a succesfull order the customer is not directed anymore to the thank you page controlled by the payment method.
It's getting the standard thank you message.
This was working before the update. Any solution for this?

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

  • Posts: 81504
  • Thank you received: 13063
  • MODERATOR
5 years 7 months ago #297248

Hi,

I'm not able to reproduce the problem on my end with the different payment methods I tried which are included by default in HikaShop.
Can you check on your end if you have the problem only with your payment plugin or with others too ?
If it's only with your payment plugin, then I'm afraid you'll have to check with the support of that payment plugin.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum