Checkout return to step 2 after confirmation order (Bug after Hikashop update)

  • Posts: 21
  • Thank you received: 1
  • Hikashop Business
3 weeks 2 days ago #306082

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.5
-- PHP version -- : 7.0.33

After updating Joomla (3.9.5) and Hikashop (4.0.3) the last step of the checkout ( dev.featfood.it/completa-ordine/checkout/task-show/cid-4 ) return to step 2 ( dev.featfood.it/completa-ordine/checkout/task-show/cid-2 ) after confirmation.

Attached the checkout flow.

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

  • Posts: 65661
  • Thank you received: 9585
  • MODERATOR
3 weeks 2 days ago #306089

Hi,

I'm not able to access your website as there is a htaccess on it.
So I can't check on the issue directly.
So I'm not sure what is the problem.
I would recommend to first do a test with the default template of Joomla to make sure that the issue is not linked with a view override of the checkout.

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

  • Posts: 21
  • Thank you received: 1
  • Hikashop Business
3 weeks 2 days ago #306105

Hi Nicolas,
here the HTTP logs:

username: dev
password: featfood!

Let me know if you can understand the error :)

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

  • Posts: 65661
  • Thank you received: 9585
  • MODERATOR
3 weeks 2 days ago #306108

Hi,

I'm not able to reproduce the problem on my end on a local website with the latest version of HikaShop.
However, maybe it has something to do with the fact that you have the "address" view configured to only ask for the shipping address and/or the fact that you have the "Show 'same address' checkbox" option activated.
That option is so that when someone enters a shipping address, it can be automatically added as a billing address too, and vice-versa. Since you only have shipping addresses, I would recommend turning off that option.
Or you could try with both shipping and billing addresses activated and see if that helps. In that case, you could just hide the billing address area with some CSS instead.

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

  • Posts: 21
  • Thank you received: 1
  • Hikashop Business
3 weeks 1 day ago #306118

Hi Nicolas,

I've tried in both ways but none of them seem working.

Do you have any other idea?

Thanks for the support

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

  • Posts: 65661
  • Thank you received: 9585
  • MODERATOR
3 weeks 1 day ago #306126

Hi,

I don't hava any other idea. I would have to debug the situation directly to be able to say where the issue comes from.
In that case, we'll need a backend access and a FTP access. Please send that along with a link to this thread via our contact form and we'll have a deeper look into it:
www.hikashop.com/support/contact-us.html

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

  • Posts: 21
  • Thank you received: 1
  • Hikashop Business
2 weeks 5 days ago #306224

Hi Nicolas,
perfect. I sent you all the details.

Best

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

  • Posts: 65661
  • Thank you received: 9585
  • MODERATOR
2 weeks 5 days ago #306232

Hi,

I did a few tests on your website but it worked fine. I was able to go from start to finish and even got redirected to paypal at the end fo the checkout.
So it looks like it's working fine.
If you still have the problem, please provide precise instructions to reproduce the problem on your website as something you do must be different from what I do.

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

  • Posts: 21
  • Thank you received: 1
  • Hikashop Business
2 weeks 3 days ago #306256

HI Nicolas,
you went in production where there is not yet the update.

You have to enter in dev website at dev.featfood.it through the logs I gave you.

Best

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

  • Posts: 65661
  • Thank you received: 9585
  • MODERATOR
2 weeks 2 days ago #306285

Hi,

Sorry for that I don't know how I made that mistake. I'm indeed able to reproduce the issue on the dev website.
However, I'm not able to access the backend of the dev website.
You've provided the htaccess credentials, but not a user account credentials to access the backend. So I can't check the settings of the dev website. Could you provide such access (via the contact form, like before) ?

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

  • Posts: 65661
  • Thank you received: 9585
  • MODERATOR
2 weeks 1 day ago #306305

Hi,

I was able to find the issue.
It comes from three things independent from HikaShop:
1. As I expected, your Joomla template doesn't display error messages.
If I try again your checkout on the dev website with the default template, I get that error message:
monosnap.com/file/A8IFkp1EBoC4JHWAjcFS4TRItVU8o4
2. You have unpublished the "order_delivery_date" custom order field on which the "Brainforge Order Delivery Date" bases itself.
3. There is no check in that plugin to skip the verifications of the delivery date if the custom field is unpublished.

So you have 3 things you should do:
1. Check with your template provider why the error message is not displayed (it happened here, but it can happen in the future for other things and it's important to have error messages displayed when there is a real issue. For example, if the customer tries to use his email address to register while he already has a user account, you want to display the error message to tell him that the email is already used so that he knows he should try to login. Right now, since the error messages don't display, you can get such situation.
2. I suppose you want to either republish that custom field or disable the plugin using it.
3. You want to contact the developer of that plugin so that they can add a check to skip the delivery date field check if the custom field is unpublished.

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

  • Posts: 21
  • Thank you received: 1
  • Hikashop Business
6 days 14 hours ago #306616

Hi Nicolas,
first thank you again for the support.

We reached the plugin developer and followed your istructions but the error is still remaining.

Can you check it again?


Thanks

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

  • Posts: 65661
  • Thank you received: 9585
  • MODERATOR
6 days 4 hours ago #306620

Hi,

Just enabling the custom field that the plugin relies on via the menu Display>Custom fields as I was saying in point 2 of my message should directly solve the problem. Did you try that ?

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

  • Posts: 21
  • Thank you received: 1
  • Hikashop Business
5 days 21 hours ago #306652

Hi Nicolas,
sure, now it is enabled but it is still not working

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

  • Posts: 65661
  • Thank you received: 9585
  • MODERATOR
5 days 11 hours ago #306655

Hi,

So switch to the default template of Joomla and do a test again. You'll see an error message when you're redirected to the step 2 which will help you understand what you're missing (like I did when I tested on your website).
Also, you should check with your template provider why error messages are not being displayed by the template. Maybe there is a setting to activate in the template or some code to add to it if it doesn't support the display of error messages.

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

Time to create page: 0.081 seconds
Powered by Kunena Forum