Jump to content
Latest News: (loading..)
Sign in to follow this  
Roaddoctor

FedEx Direct 2.06 Support thread

Recommended Posts

Contribution page: http://www.oscommerce.com/community/contributions,1462

 

VERSION 2.06

FEATURES ADDED

1. Added per product check box for "Ship Seperate" designation so that

FedEx will now generate item seperate quotes when desired (heavy items...)

2. Added ability to disable the module entirely by weight limit or box

quantity.

3. Products not checked "Ship Seperately" continue to be processed per your

stores existing configuration.

4. In Checkout_shipping, the customer now sees an item count and total weight,

along with an accurate quote for the entire order!

 

Includes Zone support (V 2.05)

 

Any donations to help offset our development cost is appreciated. See the readme.txt

 

Please post any feedback or issues or suggestions for further improvement.

 

Enjoy!!

 

-Dave

Roaddoctor


-Dave

Share this post


Link to post
Share on other sites

ok. I installed the product and everything is working fine. Although, this is what's happening:

 

1. The meter # keeps showing up at the top of the file. Will it keep doing this?

 

2. I am receiving this error when I select one of the methods:

 

Data sent to Fedex for Rating: 0,"25"10,"358522300"498,"7187683"8,"TX"9,"75067"117,"US"17,"75420"16,"TX"50,"US"75,"LBS"1116,"I"1401,"1.0"1529,"1"440,"Y"1273,"01"1333,"5"1529,"2"99,""
Data returned from Fedex for Rating: 0,"125"1376,"LBS"1377,"LBS"1092,"2"1133,"5"2399-1,"0"1273-1,"01"1274-1,"01"1090-1,"USD"1089-1,"01486"431-1,"N"1402-1,"1.0"1416-1,"17.00"1417-1,"6.33"1418-1,"0.00"1419-1,"23.33"1420-1,"0.00"1530-1,"17.00"1507-1,"6.33"1531-1,"0.00"1528-1,"23.33"1525-1,"0.00"1532-1,"0.00"194-1,"FRI"195-1,"DFW"409-1,"01Dec06"2399-2,"0"1273-2,"01"1274-2,"03"1090-2,"USD"1089-2,"05980"431-2,"N"1402-2,"1.0"1416-2,"8.50"1417-2,"5.26"1418-2,"0.00"1419-2,"13.76"1420-2,"0.00"1530-2,"8.50"1507-2,"5.26"1531-2,"0.00"1528-2,"13.76"1525-2,"0.00"1532-2,"0.00"194-2,"MON"195-2,"DFW"409-2,"04Dec06"2399-3,"0"1273-3,"01"1274-3,"20"1090-3,"USD"1089-3,"07167"431-3,"N"1402-3,"1.0"1416-3,"8.15"1417-3,"5.22"1418-3,"0.00"1419-3,"13.37"1420-3,"0.00"1530-3,"8.15"1507-3,"5.22"1531-3,"0.00"1528-3,"13.37"1525-3,"0.00"1532-3,"0.00"194-3,"TUE"195-3,"DFW"409-3,"05Dec06"2399-4,"0"1273-4,"01"1274-4,"90"1090-4,"USD"1402-4,"1.0"1416-4,"3.80"1417-4,"4.19"1418-4,"0.00"1419-4,"7.99"1530-4,"3.80"1507-4,"4.19"1531-4,"0.00"1528-4,"7.99"1525-4,"0.00"3058-4,"1"2399-5,"0"1273-5,"01"1274-5,"92"1090-5,"USD"1402-5,"1.0"1416-5,"3.80"1417-5,"4.56"1418-5,"0.00"1419-5,"8.36"1530-5,"3.80"1507-5,"4.56"1531-5,"0.00"1528-5,"8.36"1525-5,"0.00"3058-5,"1"99,""

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/catalog/includes/modules/shipping/fedex1.php:593) in /var/www/html/catalog/includes/functions/general.php on line 33

 

Please help. Thanks.

Share this post


Link to post
Share on other sites

as far as the meter showing... I think you need to set debug to FALSE in the configuaration module settings. Do you currently have it set to true?


-Dave

Share this post


Link to post
Share on other sites

not sure. Can you provide more details... is the error still showing with debug off? where when etc...

post the code from those refenced lines too

Edited by Roaddoctor

-Dave

Share this post


Link to post
Share on other sites

I just installed configured and enabled this module on OsCommerce 2.2 hosted at www.godaddy.com. During the checkout, the it tries to get the Fedex rates forever till it times out.

 

Any ideas? Do I have to configure the proxy server maybe ?

 

Mashiku

Share this post


Link to post
Share on other sites
I just installed configured and enabled this module on OsCommerce 2.2 hosted at www.godaddy.com. During the checkout, the it tries to get the Fedex rates forever till it times out.

 

Any ideas? Do I have to configure the proxy server maybe ?

 

Mashiku

 

 

 

OK, thanks,

 

I figured out the problem:

 

If you are hosting with Godaddy.com: you need to do the following ;

 

approximately after line number 458 of the file catalog/includes/modules/shipping/fedex1.php

 

add the following piece of code:

 

 

 

curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);

curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);

curl_setopt($ch, CURLOPT_PROXY, "64.202.165.130:3128");

 

And you are done.

 

Great module:

 

Mashiku Kuyi Kamani

Share this post


Link to post
Share on other sites
If you are hosting with Godaddy.com: you need to do the following ;

 

approximately after line number 458 of the file catalog/includes/modules/shipping/fedex1.php

 

add the following piece of code:

 

 

 

curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);

curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);

curl_setopt($ch, CURLOPT_PROXY, "64.202.165.130:3128");

 

Thank you! I will include that in the next update.


-Dave

Share this post


Link to post
Share on other sites

I've installed the newest version of the fedex module, and followed all the directions. the shipping module will not display the rates at all.

 

I've entered my fedex id correctly, but the "Your Fedex Meter ID NONE " has not picked up a meter id number yet.

 

I had turned on debug mode, and it displays at the shipping confirmation page that

" No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down "

 

It does state the following above the error above

" Federal Express (Total items: 1 pcs. Total weight: 0.5 lbs) " but it is not showing any rates, etc.

 

I previously had the FedEx module and it was working perfectly, until this morning. So I upgraded to the newest shipping module version, and this is the information which it is displaying now and not pulling up any rates.

Edited by itsdame1

Share this post


Link to post
Share on other sites

also, should the meter id in the backend show up automatically once you save your changes, or after a certain amount of time, or did the fedex api change again, or do you think their system is getting overhauled with orders for the holiday season?

 

also just an update, in the readme file, you told the users to

 

Change from:

p.manufacturers_id

 

Change to:

p.manufacturers_id , p.products_ship_sep

 

directly after the there is a p.manufacturers_id from

 

does that from need to be deleted or does that need to stay in place where it is at?

Edited by itsdame1

Share this post


Link to post
Share on other sites
also just an update, in the readme file, you told the users to

 

Change from:

p.manufacturers_id

 

Change to:

p.manufacturers_id , p.products_ship_sep

 

directly after the there is a p.manufacturers_id from

 

does that from need to be deleted or does that need to stay in place where it is at?

 

The directions call for two instances of that to be changed, with a "find near" cue for each one. I would not delete anything not in the instructions.

 

Your meter should automatically pick up a number from fedex. My install is working fine.

When you first updated, did you completely uninstall the module and then reinstall so the new setting are visible?

Did you run the sql update first?

Check your code and make sure you updated all your files...

 

Sorry to ask basic questions but its good to double check.

 

As for:

No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down

 

Maybe fedex was down :).. not sure. My entry in the cURL PAth setting is NONE. What was your before the update?


-Dave

Share this post


Link to post
Share on other sites
I previously had the FedEx module and it was working perfectly, until this morning. So I upgraded to the newest shipping module version, and this is the information which it is displaying now and not pulling up any rates.

 

So it quit working before you updated? might want to call fedex or something. mayby they cut off your account or some randomness...


-Dave

Share this post


Link to post
Share on other sites
So it quit working before you updated? might want to call fedex or something. mayby they cut off your account or some randomness...

 

I had an older version of the module. I just updated to the newest version today.

Share this post


Link to post
Share on other sites
The directions call for two instances of that to be changed, with a "find near" cue for each one. I would not delete anything not in the instructions.

 

Your meter should automatically pick up a number from fedex. My install is working fine.

When you first updated, did you completely uninstall the module and then reinstall so the new setting are visible?

Did you run the sql update first?

Check your code and make sure you updated all your files...

 

Sorry to ask basic questions but its good to double check.

 

As for:

No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down

 

Maybe fedex was down :).. not sure. My entry in the cURL PAth setting is NONE. What was your before the update?

 

 

Yeah, the meter # still hasnt updated yet. I did completely uninstall the previous and reinstall with this new version. The sql update I did run first before anything to the correct root directory requested in the installation proceedures.

 

I checked all my files to double check I did make the apprioate changes to them.

 

The enter to the curl path is set at cURL Path /usr/bin/curl which is the directory to the my server which I had to have in last time I had the older version of the fedex module. I took out the curl directory and it still states

"No response to CURL from Fedex server, check CURL availability, or maybe timeout was set too low, or maybe the Fedex site is down"

Share this post


Link to post
Share on other sites
So it quit working before you updated? might want to call fedex or something. mayby they cut off your account or some randomness...

 

 

just called fedex right now, and they say the account is still active and no changes have been made to it. Talking on the phone right now with the WEB API dept. for Fedex to see why I'm not getting a meter id. If I don't get anywhere, I'm going to install the shipping module for the 3rd time.

Share this post


Link to post
Share on other sites
just called fedex right now, and they say the account is still active and no changes have been made to it. Talking on the phone right now with the WEB API dept. for Fedex to see why I'm not getting a meter id. If I don't get anywhere, I'm going to install the shipping module for the 3rd time.

 

 

on the phone with the fedex guy and he says everything works fine on fedex's end, but it is not returning the data from fedex to the server... this is what the debug menu looks like from the top. ive replaced the account number and the meter number that the fedex guy gave me below

 

Data sent to Fedex for Rating: 0,"25"10,"mynumber"498,"myoldmeternumber"8,"NV"9,"89509"117,"US"17,"36053"16,""50,"US"75,"LBS"1116,"I"1401,"3.0"1529,"1"1415,"9995.99"68,"USD"440,"Y"1273,"01"1333,"5"1529,"2"99,""

Data returned from Fedex for Rating:

Edited by itsdame1

Share this post


Link to post
Share on other sites

if it stopped working before the update, then either FedEx or your host made some sort of change. I would explore those two venues before hacking up the code.


-Dave

Share this post


Link to post
Share on other sites
if it stopped working before the update, then either FedEx or your host made some sort of change. I would explore those two venues before hacking up the code.

 

 

well, i hacked up the code. and boom; it works now. All I did was input a server for fedex over the phone for the second time, saved it, and uploaded, and boom; it works. I think the fedex guy on his side did something, because the id number actually gave me the new meter id directly after that. Well thank you for helping out and getting back to me with haste man. Thanks again!

 

also the fedex guy said for the holiday season, to set your timeout seconds to around 45 to 55 because of all the seasonally requests. and to change it back in like Jan;Feb 2007.

Edited by itsdame1

Share this post


Link to post
Share on other sites

Hey all, I'm thinking of installing this module... it looks quite impressive, thanks to everyone that has contributed to it's development.

 

I currently have an existing module installed that allows me to attach weight to attributes ( http://www.oscommerce.com/community/contributions,1622/ ). It's working great.

 

I have two questions:

  1. Has anyone used this FedEx mod along with the "Add Weight To Product Attributes" mod? If so, how did it work out?
  2. I see Roaddocter added the ability to set a "Ship Seperately" indicator for products, does that functionality only work with the FedEx shipping option or for any option selected?

That's a bunch guys!

 

Tyler

Share this post


Link to post
Share on other sites

Has anyone used this FedEx mod along with the "Add Weight To Product Attributes" mod? If so, how did it work out?

I have not tested that, but there is no reason I can think of why it should not carry through properly. The mod uses all the standard fedex2.04/osc processes and only deviates slightly when the ship seperately tag is used.

 

I see Roaddocter added the ability to set a "Ship Seperately" indicator for products, does that functionality only work with the FedEx shipping option or for any option selected?

 

As far as I know it is a FedEx 2.06 specific function, but the ship seperate tag could probably be adapted into other mods with some coding effort.


-Dave

Share this post


Link to post
Share on other sites

I attempted to get this mod to work, but I get the following Error message. This is displayed in the admin console, where you wold "Install" and configure this mod. BTW- I'm running OSC 2.2 MS2

 

Warning: main(/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php): failed to open stream: No such file or directory in /home/islandst/public_html/shop/admin/modules.php on line 128

 

Warning: main(/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/shop/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/shop/admin/modules.php on line 128

 

I checked my installation, I assume it's something I did (or did not) do.

Share this post


Link to post
Share on other sites
I attempted to get this mod to work, but I get the following Error message. This is displayed in the admin console, where you wold "Install" and configure this mod. BTW- I'm running OSC 2.2 MS2

 

Warning: main(/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php): failed to open stream: No such file or directory in /home/islandst/public_html/shop/admin/modules.php on line 128

 

Warning: main(/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php): failed to open stream: No such file or directory in /home/xxxxxx/public_html/shop/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/xxxxxx/public_html/shop/includes/languages/english/modules/shipping/fedex1.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/shop/admin/modules.php on line 128

 

I checked my installation, I assume it's something I did (or did not) do.

 

I'm so stupid. I had the fedex1.php files in the wrong place :huh: All seems to work as it should.

Edited by nbnet

Share this post


Link to post
Share on other sites
I'm so stupid. I had the fedex1.php files in the wrong place :huh: All seems to work as it should.

 

hehe, I hate when that happens :P

-enjoy


-Dave

Share this post


Link to post
Share on other sites
Hi,

 

I have installed FedEx direct 2.06 and I am getting this error

 

" Fatal error: Call to undefined function: curl_init() in /home/shopnatu/public_html/catalog-usa/includes/modules/shipping/fedex1.php on line 454 "

 

Is it conflicting with something else?

 

Any help would be appreciated,

 

Thanks,

 

 

CL

First make sure you have curl installed and enabled

Then make sure the Set cURL Path field has the correct location of where cURL is installed on your server.


-Dave

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×