Forums / Addon Shipping Modules / FEDEX Web Services problem

FEDEX Web Services problem

Started by inovermyhead on 7 Nov 2013, 8:11 PM · Views: 5,104

Results 1 to 18 of 18
7 Nov 2013, 8:11 PM
#1
inovermyhead avatar

inovermyhead

Zen Follower

Join Date:
Feb 2007
Posts:
154
Plugin Contributions:
0

FEDEX Web Services problem

Hello, all ... hope someone can help with this or provide a lead. Trying to get the Numinix FedEx Web Services add on working on our WAMP server (PHP 5.3.4, Zencart 1.3.9h). Have installed according to the instructions and configured with our test FedEX account number & meter number, with FedEx Ground enabled. However, nothing seems to happen when trying to get a shipping estimate, nothing shows up for FedEx but UPS and USPS calculations still display. No error show up, and no logs are created.

Have searched the forum for possible solutions, but haven't found anything quite like this.

I did notice that when configuring this that the active module icon was green going in, but as soon as UPDATE was clicked it went yellow, and stayed that way, but don't see anything that would cause it in the configuration. Was wondering if the problem had something to do with SOAP, but found several SOAP extensions active in the php.ini for WAMP, don't know of what to look for specifically though.

Any input gratefully accepted, and thanks in advance.

7 Nov 2013, 8:56 PM
#2
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: FEDEX Web Services problem

First as a general statement it is always best to have the most recent version of zencart right now it is 1.5.1.

That being you need to make sure your zones are properly defined, have you tried using the debug tool, sometimes there is one in the modules? othertimes it is in the code and you just need to uncomment them. Most of the time I have had issues with this mod are because 1.) Soap isn't enabled, 2.) Credentials are wrong/incorrect, 3.) The shipping module isn't configure with the zones correctly or 4.) the sort orders are not different (and non zero).

Are you also using Numinix's shipping boxes manager?

7 Nov 2013, 10:03 PM
#3
inovermyhead avatar

inovermyhead

Zen Follower

Join Date:
Feb 2007
Posts:
154
Plugin Contributions:
0

Re: FEDEX Web Services problem

Hello, bislewl, thanks for taking an interest.

bislewl:

First as a general statement it is always best to have the most recent version of zencart right now it is 1.5.1.
Understood, and we currently have a project going to upgrade the shops. However, we also understand this add on should work with most Zencart versions.

bislewl:

That being you need to make sure your zones are properly defined, have you tried using the debug tool, sometimes there is one in the modules? othertimes it is in the code and you just need to uncomment them. Most of the time I have had issues with this mod are because 1.) Soap isn't enabled, 2.) Credentials are wrong/incorrect, 3.) The shipping module isn't configure with the zones correctly or 4.) the sort orders are not different (and non zero).
We use only 1 zone, that being DOMESTIC and it has been in use for some time in the shipping and payment modules. Unfortunately there is no debug mode for this add on. It may may be that SOAP isn't enabled, but as I said, all the SOAP extensions in the php.ini are in place, and if there's another place I should check I would do so, if I were smart enough :) ... the DOMESTIC zone is used in the configuration. I did not specify a sort order for this add on so it defaulted to 0 and so do other shipping modules. So I changed the sort order value to be unique, but that did not seem to make a difference, the activation icon was still yellow and no FedEx shipping cost showed up in the shipping estimate. However, in the course of checking on this, I wound up on the check out shipping page, and there was a messge that "**Sorry, the FedEx.com server is currently not responding, please try again later." **indicating that the module is at least a bit alive.
bislewl:

Are you also using Numinix's shipping boxes manager?
No, is that a requirement for this module?

7 Nov 2013, 10:07 PM
#4
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: FEDEX Web Services problem

Shipping boxes manager is not required.

Ok, if you open up the code there are debugging lines commented out.

Which version of the FEDEX wsdl are you using?
it would say something like
\includes\modules\shipping\fedexwebservices\wsdl\RateService_V13.wsdl

7 Nov 2013, 10:27 PM
#5
inovermyhead avatar

inovermyhead

Zen Follower

Join Date:
Feb 2007
Posts:
154
Plugin Contributions:
0

Re: FEDEX Web Services problem

The install instructions are pretty emphatic "Do not replace the WSDL in the package with the one provided by FedEx. This mod is written specifically for the Rate Services v10 WSDL". In this case, I followed the instructions ...:blush:

8 Nov 2013, 5:00 PM
#6
inovermyhead avatar

inovermyhead

Zen Follower

Join Date:
Feb 2007
Posts:
154
Plugin Contributions:
0

Re: FEDEX Web Services problem

The WSDL name is RateService**_**v10.wsdl and in the code the targetNamespace is http://fedex.com/ws/rate/v10 ... using that URL in Firefox comes up with a page not found. Could that be why the activation icon is yellow, along with nothing else happening except the "**Sorry, the FedEx.com server is currently not responding, please try again later." **error? I don't find anything in the code that looks like debug code ... should I be looking in fedexwebservices.php instead? And so where can I get the current RateService WSDL?

10 Nov 2014, 6:37 PM
#7
belgariad avatar

belgariad

New Zenner

Join Date:
Mar 2010
Posts:
9
Plugin Contributions:
0

Re: FEDEX Web Services problem

I have the same problem with this module... :( The only difference is that in my configuration module the icon is green instead of yellow, so that mean it should be working...

In the settings, the FedEx Ground and International Economy are both enabled. I double checked the rest of the settings to make sure I am not missing anything else.

During my testing, I've noticed that only the International Economy is working while no result from the FedEx Ground while the USPS module works.

So..... for now I rolled back to the old version (I know it is a bad idea) for now since I know it works.

10 Nov 2014, 7:00 PM
#8
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: FEDEX Web Services problem

belgariad:

I have the same problem with this module... :( The only difference is that in my configuration module the icon is green instead of yellow, so that mean it should be working...

In the settings, the FedEx Ground and International Economy are both enabled. I double checked the rest of the settings to make sure I am not missing anything else.

During my testing, I've noticed that only the International Economy is working while no result from the FedEx Ground while the USPS module works.

So..... for now I rolled back to the old version (I know it is a bad idea) for now since I know it works.
Please make sure you are using version 1.4.9 or higher. The latest version is available on Numinix.com and awaiting approval on Zen-Cart.com.

11 Nov 2014, 6:33 PM
#9
belgariad avatar

belgariad

New Zenner

Join Date:
Mar 2010
Posts:
9
Plugin Contributions:
0

Re: FEDEX Web Services problem

I've downloaded the latest version from Numinix.com and installed it. Same problem...

Doubled checked the configuration / settings... I even uninstalled it and manually looked into the database to validate all of the rows in the table "Configuration" are gone and re-install it again. Still same problem.

The icon is green which indicate to me that everything should be functioning. The International Economy works while FedEx Ground does not (USPS is the only results I get).

Rolled back to the old version... :(

26 Nov 2014, 3:27 AM
#10
belgariad avatar

belgariad

New Zenner

Join Date:
Mar 2010
Posts:
9
Plugin Contributions:
0

Re: FEDEX Web Services problem

Hi everyone,

I've been trying to figure out the problem with this FedEx Web Service plugin and still can't figure out why it is not working. Has anyone encountered the same problem as me?

Would like to upgrade to the latest version, but still have to use the old version.

26 Nov 2014, 3:37 AM
#11
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: FEDEX Web Services problem

is SOAP enabled, are your fedex account#/meter#/etc correct?

5 Feb 2015, 7:09 PM
#12
belgariad avatar

belgariad

New Zenner

Join Date:
Mar 2010
Posts:
9
Plugin Contributions:
0

Re: FEDEX Web Services problem

Hi bislewl,

Sorry for the late response...

SOAP is enabled from what I can tell because the old version is working.

As for the account#/meter#/etc.... they are correct since the old version is working.

When I installed the new version, I double check the information to make sure that it is correct. I even tried copying & pasting the values (making sure there is no hidden character return) and it still doesn't work.

I have been trying for weeks to make it work, but finally gave up and will stick with the old version.

5 Feb 2015, 7:43 PM
#13
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: FEDEX Web Services problem

Are there any logs in /cache
Does turn address validation on/off help?

15 Feb 2015, 5:29 AM
#14
belgariad avatar

belgariad

New Zenner

Join Date:
Mar 2010
Posts:
9
Plugin Contributions:
0

Re: FEDEX Web Services problem

Hi bislewl,

There is no error logs...

I've tried the validation of the address on and off, but still nothing.

When I turn on the debug in the module to see what is happening... the international returns values, but the FedEx Ground returns empty results.

9 Mar 2015, 7:04 AM
#15
belgariad avatar

belgariad

New Zenner

Join Date:
Mar 2010
Posts:
9
Plugin Contributions:
0

Re: FEDEX Web Services problem

UPDATE:

So this weekend I decided to try to get the new version of the FedEx Web Services working, but failed big time.

After a few hours of me placing "print_r" (fedexwebservices.php) at different location so that I can see the results... this is what I can figure out...

  1. for any FedEx International Shipment, it is functioning correctly. I tested it with a Canada Postal Code "J1X 5Z4" and Saudi Arabia Zip Code "11442".
  2. for any Domestic Shipment, I am getting "556 There are no valid services available". I tried two Zip Code "10018" and "94043". I even tried the 10 digit Zip Code "94043-0080" and still no services.
  3. Then I thought it might be the "RateService_v10.wsdl" pointing to the wrong address, so I changed line 4867 <s1:address location="https://gateway.fedex.com/web-services/"/> to <s1:address location="https://ws.fedex.com:443/web-services/rate"/>. It only works for the International Shipment, but not for Domestic, so changing it gave me the same results.

I think it is in line 490 (fedexwebservices.php) that is returning the "556 There are no valid services available" when the function "getRates" is called.

Not sure why the International Shipping is working while the Domestic Shipping is not.

Just to clarify....
A) My FedEx Account and Meter is correct.
B) SOAP is enabled.
C) There is no errors in the error.log
D) There is no Debug log generated.

Switching back to the old version :(

19 May 2015, 11:01 PM
#16
old_man avatar

old_man

New Zenner

Join Date:
Jul 2010
Posts:
30
Plugin Contributions:
0

Re: FEDEX Web Services problem

We are having the same issue, I am sure there are many who are.
We are using:
Zen Cart 1.5.4
PHP Version: 5.4.40 (Zend: 2.4.0) PHP Memory Limit: -1
Server OS: Linux 2.6.32-358.el6.x86_64
Soap Client enabled
Soap Server enabled

No errors in log, just the options do not show up on checkout.

Thank You, The Old Man
The O-ring Store
We make placing your o-ring order and getting o-rings easy!

21 May 2015, 5:09 AM
#17
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: FEDEX Web Services problem

I had the same issue last week, it actually came down to the weight of the items in the cart, they had a value of 0.001 lbs.

Once I modified the weight in the products an in configuration->Shipping/Packaging, it worked.

24 May 2015, 3:29 PM
#18
old_man avatar

old_man

New Zenner

Join Date:
Jul 2010
Posts:
30
Plugin Contributions:
0

Re: FEDEX Web Services problem

Worked, just added 5:0.01 to the Package Tare Small to Medium - added percentage:weight and it started working. Thank you very much

Thank You, The Old Man
The O-ring Store
We make placing your o-ring order and getting o-rings easy!