Fedex Shipping NOT showing in checkout???

  • Posts: 42
  • Thank you received: 5
  • Hikashop Business
1 day 18 hours ago #367543

-- url of the page with the problem -- : www.ovrsupply.com/
-- HikaShop version -- : 6.0.0
-- Joomla version -- : ‎5.3.1
-- PHP version -- : 8.3
-- Browser(s) name and version -- : brave
-- Error-message(debug-mod must be tuned on) -- : Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /home/uupnpleo/public_html/administrator/components/com_hikashop/classes/shipping.php on line 260

The Fedex shipping plugin will not show in the checkout area. We're also using UPS and it shows correctly. We've turned on degbug to maximum and get "Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /home/uupnpleo/public_html/administrator/components/com_hikashop/classes/shipping.php on line 260"

Please advise!

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

  • Posts: 83935
  • Thank you received: 13593
  • MODERATOR
1 day 14 hours ago #367544

Hi,

The warning message indicates that in one of your shipping methods, you have entered something in the "Post code RegEx" input field which is not valid.

It could be the reason why the shipping method is not appearing on your checkout. So check that this option is completely empty (not space character in it) in your shipping method.

If that doesn't help, then the problem comes from something else. You would have to activate the debug setting of the shipping method, access the checkout with the issue, and then look at the end of the "payment log file" in the HikaShop configuration to see what the shipping plugin adds to the log regarding the issue.

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

  • Posts: 42
  • Thank you received: 5
  • Hikashop Business
1 day 13 hours ago #367545

Many thanks for the insight. I have now removed the Post code RegEx and the site is no longer showing the error. But, the Fedex shipping is still not showing in checkout. I tried looking at the log file, but get the following "The log file is empty." I have turned on the "debug" for the Fedex shipping" configuration and Joomla too.

Can you see if there are any other reasons showing??? Thanks in advance for the help.

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

  • Posts: 42
  • Thank you received: 5
  • Hikashop Business
1 day 13 hours ago #367546

Here are screenshots of the Fedex settings:

Attachments:

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

  • Posts: 83935
  • Thank you received: 13593
  • MODERATOR
1 day 3 hours ago #367548

Hi,

If the payment log file is empty, then it means that HikaShop doesn't even need to ask the plugin for the available shipping methods.
For example, I can see that you select the USA country in the "zone" restriction setting.
This means that if the shipping address currently selected on the checkout is not in the USA, the shipping method will be discarded automatically, without even asking for the plugin to do anything, and thus not contacting FedEx, and not adding anything to the log.
Ideally, I would recommend leaving the restriction settings (zone, warehouse, currency) out for now so that they don't interfere. You can always add them back later, one by one if you need them.

If that doesn't help, there are two things left:
- If other shipping methods are available, the system won't display to the user error messages from other shipping methods (for example, if you set a min weight and the cart of the user is below that weight, it's normal the shipping method is not displayed to the user, so you don't want an error message to be displayed). So, you can disable the other shipping methods temporarily and only leave this one published. That way, if there is no shipping methods found during the checkout, HikaShop will display an error message specific to the issue regarding that shipping method. That should allow you to find out what the problem is.
- You provided several screenshots, but not for some of the settings like weight unit, special service type, etc. Some of these settings can affect what is returned by FedEx. For example, if you select the weight unit "lb" and you're located in Europe, or you select the weight unit "kg" and you're located in the USA, it's possible FedEx will refuse the request for the rates. Normally, with this example, this should display in the logs and as an error message (see previous point).

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

  • Posts: 42
  • Thank you received: 5
  • Hikashop Business
22 hours 13 minutes ago #367555

Hi Nicolas,
Thanks for all the info... BUT, this is still not working. I've tried everything and still no luck??? Would you like to log in as an admin and try it yourself? If so, how can I get the login info to you privately.

I can't believe that this is so hard to setup... please help us.

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

  • Posts: 83935
  • Thank you received: 13593
  • MODERATOR
19 hours 12 minutes ago #367556

Hi,

Yes. I can look at it.
Please provide a super admin access via our contact form:
www.hikashop.com/support/contact-us.html
Also, please provide information on which address you're using on the frontend. It could be linked to the problem.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum