Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem with Fedex Modules


m.lorenzo76

Recommended Posts

Hi, I'am a problem with fedex module: this is the reponse of fedex:

Data sent to Fedex for Rating: 0,"25"10,"370031681"498,"9973594"8,"NONE"9,"43100"117,"IT"17,"10001"16,"NY"50,"US"75,"KGS"1116,"C"1401,"14.0"1529,"1"1415,"13.00"68,"USD"440,"Y"1273,"01"1333,"1"1529,"2"99,""

Data returned from Fedex for Rating: 0,"125"557,"01"558,"F03C"559,"Invalid sender country"1133,"0"99,""

 

My origin country is ITALY, I dont undestend wath is the roblem, the setting are correct.. Can you help me?

 

Thank you so much! greetins from italy

Link to comment
Share on other sites

Assuming you have your country set correctly in both the FedEx module AND the osc basic configuration

 

then look to fedex1.php for the following

 

	  if (MODULE_SHIPPING_FEDEX1_SERVER == 'production') {
	$this->server = 'gateway.fedex.com/GatewayDC';
  } else {
	$this->server = 'gatewaybeta.fedex.com/GatewayDC';
  }

 

and contact your local italy fedex tech support for a proper italy gateway

 

that might be it

-Dave

Link to comment
Share on other sites

Assuming you have your country set correctly in both the FedEx module AND the osc basic configuration

 

then look to fedex1.php for the following

 

	  if (MODULE_SHIPPING_FEDEX1_SERVER == 'production') {
	$this->server = 'gateway.fedex.com/GatewayDC';
  } else {
	$this->server = 'gatewaybeta.fedex.com/GatewayDC';
  }

 

and contact your local italy fedex tech support for a proper italy gateway

 

that might be it

 

 

Thank you very much, this is the aswer of italian tech support:

 

Lorenzo,

 

The osCommerce module is specifically written for US based shipping, you will need to speak with the osCommerce community to find out what you need to change in order to use it for Italy based shipping. The gateway is the same for the whole of the world, but I would imaging because the module is US based its passing US information which is conflicting with your Italian account location.

 

Please speak with the members of the community about this issue and work with them, unfortunately FedEx cannot assist you with code written by third party companies.

 

Regards

 

**

 

Dear customer,

 

Your Fedex account xxxxxxxxxxxx is in Production, not defined on the test server. The senders’ country must be given with the code, not the full country name. For Italy the country code is IT. I think this will solve your problem.

 

If not, pls. come back to us.

 

Best regards.

 

All option in my adimin are right, but I have'nt solve my problem!

 

 

PS

 

Happy new year!!

Link to comment
Share on other sites

Have you set up the shop county and zone in the admin panel?

 

Which field in the data sent to fedex is the sender country and what does it contain?

 

Were you trying to sent to NY in the US?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Have you set up the shop county and zone in the admin panel?

 

Which field in the data sent to fedex is the sender country and what does it contain?

 

Were you trying to sent to NY in the US?

 

This is data returned by fedex:

 

0,"25"10,"370031681"498,"9973594"8,"NONE"9,"43100"117,"IT"17,"91405"50,"FR"75,"KGS"1116,"C"1401,"24.0"1529,"1"1415,"101.00"68,"USD"440,"Y"1273,"01"1333,"1"1529,"2"99,""

Data returned from Fedex for Rating: 0,"125"557,"01"558,"F03C"559,"Invalid sender country"1133,"0"99,""

 

This is my admin panel:

 

My Store

 

Store Name valparma

Store Owner Lorenzo Manini

E-Mail Address [email protected]

E-Mail From osCommerce <root@localhost>

Country Italy

Zone

Expected Sort Order desc

Expected Sort Field date_expected

Switch To Default Language Currency false

Send Extra Order Emails To

Use Search-Engine Safe URLs (still in development) false

Display Cart After Adding Product true

Allow Guest To Tell A Friend false

Default Search Operator and

Store Address and Phone VALPARMA STORE VIA COSTA PARMA IT 000000000

Show Category Counts true

Tax Decimal Places 0

Display Prices with Tax false

 

Shipping / Packaging

 

Country of Origin Italy

Postal Code 43100

Enter the Maximum Package Weight you will ship 50

Package Tare weight. 3

Larger packages - percentage increase. 10

Dimensions Support With product dimensions

Unit Weight KGS

Unit Length CM

 

Enable Fedex Shipping

Do you want to offer Fedex shipping?

 

True

 

Your Fedex Account Number

Enter the fedex Account Number assigned to you, required

 

xxxxxxxxxxxxx

 

Your Fedex Meter ID

Enter the Fedex MeterID assigned to you, set to NONE to obtain a new meter number

 

xxxxxxxxxxxx

 

cURL Path

Enter the path to the cURL program, normally, leave this set to NONE to execute cURL using PHP

 

NONE

 

Debug Mode

Turn on Debug

 

True

 

 

Weight Units

Weight Units:

 

KGS

 

Which server to use

You must have an account with Fedex

 

 

production

 

First line of street address

Enter the first line of your ship from street address, required

 

VIA LANFRANCO 2/1D

 

Second line of street address

Enter the second line of your ship from street address, leave set to NONE if you do not need to specify a second line

 

NONE

 

City name

Enter the city name for the ship from street address, required

 

PARMA

 

State or Province name

Enter the 2 letter state or province name for the ship from street address, required for Canada and US

 

NONE

 

Postal code

Enter the postal code for the ship from street address, required

 

43100

 

Phone number

Enter a contact phone number for your company, required

 

390521000000

 

Drop off type

Dropoff type (1 = Regular pickup, 2 = request courier, 3 = drop box, 4 = drop at BSC, 5 = drop at station)?

 

1

 

Display Transit Times

Do you want to show transit times for ground or home delivery rates?

 

True

 

 

Fedex surcharge?

Surcharge amount to add to shipping charge?

 

0

 

Show List Rates?

Show LIST Rates?

 

True

 

 

Insurance?

Insure packages over what dollar amount?

 

NONE

 

Residential surcharge?

Residential Surcharge (in addition to other surcharge) for Express packages within US, or ground packages within Canada?

 

0

 

Enable Envelope Rates?

Do you want to offer Fedex Envelope rates? All items under 1/2 LB (.23KG) will quote using the envelope rate if True.

 

 

True

 

 

Sort rates:

Sort rates top to bottom:

 

High to Low

 

 

Timeout in Seconds

Enter the maximum time in seconds you would wait for a rate request from Fedex? Leave NONE for default timeout.

 

NONE

 

Max. weight

Enter the maximum weight when module becomes disabled.

 

NONE

 

Max. quantity of ship boxes

Enter the maximum quantity of ship boxes when module becomes disabled.

 

 

Tax Class

Use the following tax class on the shipping fee.

 

--none--

 

Tier 1 Discount Weight

Enter the weight threshold for Tier 1 Ground MultiWeight Discount.

 

NONE

 

Tier 1 Discount Percent

Enter the integer number of discount percentage for Tier 1 Ground MultiWeight Discount.

 

NONE

 

Tier 2 Discount Weight

Enter the weight threshold for Tier 2 Ground MultiWeight Discount.

 

NONE

 

Tier 2 Discount Percent

Enter the integer number of discount percentage for Tier 2 Ground MultiWeight Discount.

 

 

NONE

 

 

 

Sort Order

Sort order of display.

 

 

Shipping Zone

If a zone is selected, only enable this shipping method for that zone.

--none--

Link to comment
Share on other sites

My module seems to be working correctly except for a few zip codes. The on I recently found was 06902. It breaks my shipping estimator and returns no values. The debug code I get is.

 

Data sent to Fedex for Rating: 0,"25"10,"267874964"498,"1050856"8,"CA"9,"92649"117,"US"17,"06902"16,""50,"US"75,"LBS"1116,"I"1401,"45.0"1529,"1"1415,"320.00"68,"USD"440,"Y"1273,"01"1333,"1"1529,"2"99,""

 

Data returned from Fedex for Rating: 0,"125"1376,"LBS"1377,"LBS"1092,"8"1133,"6"2399-1,"0"1273-1,"01"1274-1,"01"1090-1,"USD"1089-1,"01618"431-1,"N"1402-1,"45.0"1416-1,"170.10"1417-1,"27.06"1418-1,"45.93"1419-1,"151.23"1420-1,"0.00"1530-1,"170.10"1507-1,"35.10"1531-1,"0.00"1528-1,"205.20"1525-1,"53.97"1532-1,"0.00"194-1,"THU"195-1,"JFK"409-1,"03Jan08"1992-1,"28.92"2399-2,"0"1273-2,"01"1274-2,"03"1090-2,"USD"1089-2,"06112"431-2,"N"1402-2,"45.0"1416-2,"119.45"1417-2,"20.59"1418-2,"32.26"1419-2,"107.78"1420-2,"0.00"1530-2,"119.45"1507-2,"26.24"1531-2,"0.00"1528-2,"145.69"1525-2,"37.91"1532-2,"0.00"194-2,"FRI"195-2,"JFK"409-2,"04Jan08"1992-2,"20.31"2399-3,"0"1273-3,"01"1274-3,"05"1090-3,"USD"1089-3,"01415"431-3,"N"1402-3,"45.0"1416-3,"155.40"1417-3,"25.19"1418-3,"41.96"1419-3,"138.63"1420-3,"0.00"1530-3,"155.40"1507-3,"32.53"1531-3,"0.00"1528-3,"187.93"1525-3,"49.30"1532-3,"0.00"194-3,"THU"195-3,"JFK"409-3,"03Jan08"1992-3,"26.42"2399-4,"0"1273-4,"01"1274-4,"20"1090-4,"USD"1089-4,"07179"431-4,"N"1402-4,"45.0"1416-4,"97.25"1417-4,"17.76"1418-4,"26.26"1419-4,"88.75"1420-4,"0.00"1530-4,"97.25"1507-4,"22.35"1531-4,"0.00"1528-4,"119.60"1525-4,"30.85"1532-4,"0.00"194-4,"MON"195-4,"JFK"409-4,"07Jan08"1992-4,"16.53"2399-5,"0"1273-5,"01"1274-5,"90"1090-5,"USD"431-5,"N"1402-5,"45.0"1416-5,"33.45"1417-5,"5.11"1418-5,"4.68"1419-5,"33.88"1530-5,"33.45"1507-5,"5.36"1531-5,"0.00"1528-5,"38.81"1525-5,"4.93"3058-5,"4"1992-5,"0.00"2399-6,"0"1273-6,"01"1274-6,"92"1090-6,"USD"431-6,"N"1402-6,"45.0"1416-6,"33.45"1417-6,"5.23"1418-6,"9.37"1419-6,"29.31"1530-6,"33.45"1507-6,"5.73"1531-6,"0.00"1528-6,"39.18"1525-6,"9.87"3058-6,"4"1992-6,"3.35"99,""

 

If anyone can help I would be thankful.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...