Jump to content



Photo
* * * * * 2 votes

FedEx - Web Services v9


  • Please log in to reply
618 replies to this topic

#601   dr_lucas

dr_lucas
  • Members
  • 297 posts
  • Real Name:Michaela
  • Gender:Female

Posted 26 April 2014 - 14:20

Cool. Let me know how it works after you get and use the new credentials.
If my post has helped you in any way, and since I am doing this free of charge, please show your appreciation by clicking the "Like This" button at the bottom right corner of my helpful post. Clicking is free of charge too. ;-)
This is a nice way of thanking and motivating any other person who voluntarily helped you in the forum, not just me...

My contributions:

FedEx - Web Services v9
FAQ System
Who's Online Enhancement
Order Editor
MoneyBookers IPN
Ship in Cart (MS2)
Admin Products Paging
Margin Report v1.00
2Checkout INS / IPN (Instant Notification System) for MS2.2
Visitor Web Stats
Time Zone Offset - Adjust to match your location
User Tracking with Admin 1.0
Category Meta Tags

#602 ONLINE   Gyakutsuki

Gyakutsuki
  • Members
  • 254 posts
  • Real Name:Loic Richard
  • Gender:Male
  • Location:Montreal

Posted 26 April 2014 - 17:30

Ok it's better now but not again perfect

there the information :
0.00 oups
FedEx (Total items: 1 pcs. Total weight: 2.20 kgs.) [
Fedex Express Saver (Estimated Delivery Date: Tuesday, April 29th 2014)-------- 0.00CAD --------
First Overnight (Estimated Delivery Date: Tuesday, April 29th 2014) -------- 0.00CAD --------
Fedex 2 Day (Estimated Delivery Date: Tuesday, April 29th 2014) -------- 0.00CAD --------
Priority Overnight (Estimated Delivery Date: Tuesday, April 29th 2014) -------- 0.00CAD --------
Fedex Ground (1 day) -------- 16.31CAD

Edited by Gyakutsuki, 26 April 2014 - 17:40.

-----------------------------------------
Regards

Loïc

#603   dr_lucas

dr_lucas
  • Members
  • 297 posts
  • Real Name:Michaela
  • Gender:Female

Posted 26 April 2014 - 17:37

Note, if you change the wsdl address from test to production server and vice versa, it would also be best if you put 2 wsdl files in separate folders and point to each separately, depends on the status of your site (production or test), this is to avoid possible caching problems of the wsdl which may still continue using the production or test servers despite the editing of the wsdl file.
for example:
for test point to /catalog/includes/wsdl/test/rateService_V9.wsdl
and for production point to /catalog/includes/wsdl/production/rateService_V9.wsdl

Regarding the actual SOAP response you got, if you want me to debug it, I will need to see the full exact request, please send it to me untouched (as is) via PM, including the full credentials.

Edited by dr_lucas, 26 April 2014 - 17:45.

If my post has helped you in any way, and since I am doing this free of charge, please show your appreciation by clicking the "Like This" button at the bottom right corner of my helpful post. Clicking is free of charge too. ;-)
This is a nice way of thanking and motivating any other person who voluntarily helped you in the forum, not just me...

My contributions:

FedEx - Web Services v9
FAQ System
Who's Online Enhancement
Order Editor
MoneyBookers IPN
Ship in Cart (MS2)
Admin Products Paging
Margin Report v1.00
2Checkout INS / IPN (Instant Notification System) for MS2.2
Visitor Web Stats
Time Zone Offset - Adjust to match your location
User Tracking with Admin 1.0
Category Meta Tags

#604 ONLINE   greasemonkey

greasemonkey
  • Members
  • 387 posts
  • Real Name:Scott
  • Gender:Male

Posted 26 April 2014 - 17:38

@Gyakutsuki check your fedex module set up... I see you have your province set as CA and it should be QC.

<ns1:StateOrProvinceCode>CA</ns1:StateOrProvinceCode>



State or Province name
QC

#605 ONLINE   Gyakutsuki

Gyakutsuki
  • Members
  • 254 posts
  • Real Name:Loic Richard
  • Gender:Male
  • Location:Montreal

Posted 26 April 2014 - 17:44

Request
<ns1:StateOrProvinceCode>QC</ns1:StateOrProvinceCode>


Response

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlso...Body><RateReply xmlns="http://fedex.com/ws/...de><Message>The origin state/province code has been changed. </Message><LocalizedMessage>The origin state/province code has been changed. </LocalizedMessage></Notifications><Notifications><Severity>NOTE</Severity><Source>crs</Source><Code>820</Code><Message>The destination state/province code has been changed. </Message><LocalizedMessage>The destination state/province code has been changed. </LocalizedMessage></Notifications><Notifications><Severity>NOTE</Severity><Source>crs</Source><Code>977</Code><Message>The shipdate has been changed for commitment purposes.
</Message><LocalizedMessage>The shipdate has been changed for commitment purposes.
-----------------------------------------
Regards

Loïc

#606   dr_lucas

dr_lucas
  • Members
  • 297 posts
  • Real Name:Michaela
  • Gender:Female

Posted 26 April 2014 - 17:48

What you wrote is just a line from a request.
To debug, I must see and test your FULL exact request, otherwise there isn't much I can do.
For security reasons, please send it via PM, unedited.
If my post has helped you in any way, and since I am doing this free of charge, please show your appreciation by clicking the "Like This" button at the bottom right corner of my helpful post. Clicking is free of charge too. ;-)
This is a nice way of thanking and motivating any other person who voluntarily helped you in the forum, not just me...

My contributions:

FedEx - Web Services v9
FAQ System
Who's Online Enhancement
Order Editor
MoneyBookers IPN
Ship in Cart (MS2)
Admin Products Paging
Margin Report v1.00
2Checkout INS / IPN (Instant Notification System) for MS2.2
Visitor Web Stats
Time Zone Offset - Adjust to match your location
User Tracking with Admin 1.0
Category Meta Tags

#607   dr_lucas

dr_lucas
  • Members
  • 297 posts
  • Real Name:Michaela
  • Gender:Female

Posted 26 April 2014 - 18:27

@Gyakutsuki
The request and response you sent me via PM do seem to work as intended. What is the issue?
If my post has helped you in any way, and since I am doing this free of charge, please show your appreciation by clicking the "Like This" button at the bottom right corner of my helpful post. Clicking is free of charge too. ;-)
This is a nice way of thanking and motivating any other person who voluntarily helped you in the forum, not just me...

My contributions:

FedEx - Web Services v9
FAQ System
Who's Online Enhancement
Order Editor
MoneyBookers IPN
Ship in Cart (MS2)
Admin Products Paging
Margin Report v1.00
2Checkout INS / IPN (Instant Notification System) for MS2.2
Visitor Web Stats
Time Zone Offset - Adjust to match your location
User Tracking with Admin 1.0
Category Meta Tags

#608 ONLINE   Gyakutsuki

Gyakutsuki
  • Members
  • 254 posts
  • Real Name:Loic Richard
  • Gender:Male
  • Location:Montreal

Posted 26 April 2014 - 22:51

the issue is that :

FedEx (Total items: 1 pcs. Total weight: 2.20 kgs.) [
Fedex Express Saver (Estimated Delivery Date: Tuesday, April 29th 2014)-------- 0.00CAD --------
First Overnight (Estimated Delivery Date: Tuesday, April 29th 2014) -------- 0.00CAD --------
Fedex 2 Day (Estimated Delivery Date: Tuesday, April 29th 2014) -------- 0.00CAD --------
Priority Overnight (Estimated Delivery Date: Tuesday, April 29th 2014) -------- 0.00CAD --------
Fedex Ground (1 day) -------- 16.31CAD
-----------------------------------------
Regards

Loïc

#609   dr_lucas

dr_lucas
  • Members
  • 297 posts
  • Real Name:Michaela
  • Gender:Female

Posted 27 April 2014 - 00:33

What are your fedex module's settings, 1 by 1, except for the 4 credentials settings (ie. except for FedEx Web Services Key, FedEx Web Services Password etc.)?
If my post has helped you in any way, and since I am doing this free of charge, please show your appreciation by clicking the "Like This" button at the bottom right corner of my helpful post. Clicking is free of charge too. ;-)
This is a nice way of thanking and motivating any other person who voluntarily helped you in the forum, not just me...

My contributions:

FedEx - Web Services v9
FAQ System
Who's Online Enhancement
Order Editor
MoneyBookers IPN
Ship in Cart (MS2)
Admin Products Paging
Margin Report v1.00
2Checkout INS / IPN (Instant Notification System) for MS2.2
Visitor Web Stats
Time Zone Offset - Adjust to match your location
User Tracking with Admin 1.0
Category Meta Tags

#610 ONLINE   Gyakutsuki

Gyakutsuki
  • Members
  • 254 posts
  • Real Name:Loic Richard
  • Gender:Male
  • Location:Montreal

Posted 27 April 2014 - 00:39

in fedex configuration module all settings are true not Enable Saturday Delivery off , FedEx Rates (list), Enable Ready to Ship false, and
Drop off type on 1.
-----------------------------------------
Regards

Loïc

#611   dr_lucas

dr_lucas
  • Members
  • 297 posts
  • Real Name:Michaela
  • Gender:Female

Posted 27 April 2014 - 00:43

You are missing a few. Please take a moment to write and post the full list 1 by 1.
If my post has helped you in any way, and since I am doing this free of charge, please show your appreciation by clicking the "Like This" button at the bottom right corner of my helpful post. Clicking is free of charge too. ;-)
This is a nice way of thanking and motivating any other person who voluntarily helped you in the forum, not just me...

My contributions:

FedEx - Web Services v9
FAQ System
Who's Online Enhancement
Order Editor
MoneyBookers IPN
Ship in Cart (MS2)
Admin Products Paging
Margin Report v1.00
2Checkout INS / IPN (Instant Notification System) for MS2.2
Visitor Web Stats
Time Zone Offset - Adjust to match your location
User Tracking with Admin 1.0
Category Meta Tags

#612   dr_lucas

dr_lucas
  • Members
  • 297 posts
  • Real Name:Michaela
  • Gender:Female

Posted 27 April 2014 - 00:50

Most importantly, what do you have set under Currency Exchange Rates Conversion?
And what happens when you try "ACCOUNT" instead of "LIST" rates?

Edited by dr_lucas, 27 April 2014 - 00:51.

If my post has helped you in any way, and since I am doing this free of charge, please show your appreciation by clicking the "Like This" button at the bottom right corner of my helpful post. Clicking is free of charge too. ;-)
This is a nice way of thanking and motivating any other person who voluntarily helped you in the forum, not just me...

My contributions:

FedEx - Web Services v9
FAQ System
Who's Online Enhancement
Order Editor
MoneyBookers IPN
Ship in Cart (MS2)
Admin Products Paging
Margin Report v1.00
2Checkout INS / IPN (Instant Notification System) for MS2.2
Visitor Web Stats
Time Zone Offset - Adjust to match your location
User Tracking with Admin 1.0
Category Meta Tags

#613   dr_lucas

dr_lucas
  • Members
  • 297 posts
  • Real Name:Michaela
  • Gender:Female

Posted 27 April 2014 - 01:23

in your catalog/includes/modules/shipping/fedexwebservices.php

Try this:

Find:
              if($ShipmentRateDetail->ShipmentRateDetail->RateType=='PAYOR_LIST_PACKAGE')
//     if($ShipmentRateDetail->ShipmentRateDetail->RateType==('PAYOR_LIST_PACKAGE' || 'PAYOR_LIST_SHIPMENT')) // try this if having international quoting errors

Change to:

//              if($ShipmentRateDetail->ShipmentRateDetail->RateType=='PAYOR_LIST_PACKAGE')
   if($ShipmentRateDetail->ShipmentRateDetail->RateType==('PAYOR_LIST_PACKAGE' || 'PAYOR_LIST_SHIPMENT')) // try this if having international quoting errors

If my post has helped you in any way, and since I am doing this free of charge, please show your appreciation by clicking the "Like This" button at the bottom right corner of my helpful post. Clicking is free of charge too. ;-)
This is a nice way of thanking and motivating any other person who voluntarily helped you in the forum, not just me...

My contributions:

FedEx - Web Services v9
FAQ System
Who's Online Enhancement
Order Editor
MoneyBookers IPN
Ship in Cart (MS2)
Admin Products Paging
Margin Report v1.00
2Checkout INS / IPN (Instant Notification System) for MS2.2
Visitor Web Stats
Time Zone Offset - Adjust to match your location
User Tracking with Admin 1.0
Category Meta Tags

#614 ONLINE   Gyakutsuki

Gyakutsuki
  • Members
  • 254 posts
  • Real Name:Loic Richard
  • Gender:Male
  • Location:Montreal

Posted 27 April 2014 - 02:33

Ok tk

I changed . If I send CA to CA, it's ok. I have only one price
If I send CA to FR : pb

If no rate is shown, the heavy weight of the item(s) in your Shopping Cart suggests a Request for Freight Quote, rather than FedEx Ground service, is recommended.FAILURE: Rating is temporarily unavailable, please try again later.
WARNING: Commit Info could not be obtained for one or more services: INTERNATIONAL_PRIORITY; INTERNATIONAL_ECONOMY; ; ; ; ; ; ; ; ; .
NOTE: The origin state/province code has been changed.
NOTE: The shipdate has been changed for commitment purposes.



Request

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlso...soap/envelope/" xmlns:ns1="http://fedex.com/ws/...ntial><ns1:Key>----------</ns1:Key><ns1:Password>----------</ns1:Password></ns1:UserCredential></ns1:WebAuthenticationDetail><ns1:ClientDetail><ns1:AccountNumber>----------</ns1:AccountNumber><ns1:MeterNumber>----------</ns1:MeterNumber></ns1:ClientDetail><ns1:TransactionDetail><ns1:CustomerTransactionId> *** Rate Request v9 using PHP ***</ns1:CustomerTransactionId></ns1:TransactionDetail><ns1:Version><ns1:ServiceId>crs</ns1:ServiceId><ns1:Major>9</ns1:Major><ns1:Intermediate>0</ns1:Intermediate><ns1:Minor>0</ns1:Minor></ns1:Version><ns1:ReturnTransitAndCommit>true</ns1:ReturnTransitAndCommit><ns1:RequestedShipment><ns1:ShipTimestamp>2014-04-27T22:25:50-04:00</ns1:ShipTimestamp><ns1:DropoffType>REGULAR_PICKUP</ns1:DropoffType><ns1:PackagingType>YOUR_PACKAGING</ns1:PackagingType><ns1:TotalInsuredValue><ns1:Currency>CAD</ns1:Currency><ns1:Amount>0</ns1:Amount></ns1:TotalInsuredValue><ns1:Shipper><ns1:Address><ns1:StreetLines>7043 A Place Saint Hubert</ns1:StreetLines><ns1:StreetLines></ns1:StreetLines><ns1:City>Montreal</ns1:City><ns1:StateOrProvinceCode>qc</ns1:StateOrProvinceCode><ns1:PostalCode>H2S 2N1</ns1:PostalCode><ns1:CountryCode>CA</ns1:CountryCode></ns1:Address></ns1:Shipper><ns1:Recipient><ns1:Address><ns1:StreetLines>Lotissement Hameau de Cais</ns1:StreetLines><ns1:StreetLines></ns1:StreetLines><ns1:PostalCode>83600</ns1:PostalCode><ns1:CountryCode>FR</ns1:CountryCode><ns1:Residential>true</ns1:Residential></ns1:Address></ns1:Recipient><ns1:ShippingChargesPayment><ns1:PaymentType>SENDER</ns1:PaymentType><ns1:Payor><ns1:AccountNumber>----------</ns1:AccountNumber><ns1:CountryCode>CA</ns1:CountryCode></ns1:Payor></ns1:ShippingChargesPayment><ns1:RateRequestTypes>LIST</ns1:RateRequestTypes><ns1:PackageCount>1</ns1:PackageCount><ns1:PackageDetail>INDIVIDUAL_PACKAGES</ns1:PackageDetail><ns1:RequestedPackageLineItems><ns1:Weight><ns1:Units>KG</ns1:Units><ns1:Value>2.2</ns1:Value></ns1:Weight></ns1:RequestedPackageLineItems></ns1:RequestedShipment></ns1:RateRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>


Response

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlso...Body><RateReply xmlns="http://fedex.com/ws/...<Message>Rating is temporarily unavailable, please try again later. </Message><LocalizedMessage>Rating is temporarily unavailable, please try again later. </LocalizedMessage></Notifications><Notifications><Severity>WARNING</Severity><Source>crs</Source><Code>608</Code><Message>Commit Info could not be obtained for one or more services: INTERNATIONAL_PRIORITY; INTERNATIONAL_ECONOMY; ; ; ; ; ; ; ; ; .</Message><LocalizedMessage>Commit Info could not be obtained for one or more services: INTERNATIONAL_PRIORITY; INTERNATIONAL_ECONOMY; ; ; ; ; ; ; ; ; .</LocalizedMessage><MessageParameters><Id>SERVICE_TYPE_1</Id><Value>INTERNATIONAL_PRIORITY</Value></MessageParameters><MessageParameters><Id>SERVICE_TYPE_2</Id><Value>INTERNATIONAL_ECONOMY</Value></MessageParameters></Notifications><Notifications><Severity>NOTE</Severity><Source>crs</Source><Code>819</Code><Message>The origin state/province code has been changed. </Message><LocalizedMessage>The origin state/province code has been changed. </LocalizedMessage></Notifications><Notifications><Severity>NOTE</Severity><Source>crs</Source><Code>977</Code><Message>The shipdate has been changed for commitment purposes.
</Message><LocalizedMessage>The shipdate has been changed for commitment purposes.
</LocalizedMessage></Notifications><TransactionDetail><CustomerTransactionId> *** Rate Request v9 using PHP ***</CustomerTransactionId></TransactionDetail><Version><ServiceId>crs</ServiceId><Major>9</Major><Intermediate>0</Intermediate><Minor>0</Minor></Version></RateReply></SOAP-ENV:Body></SOAP-ENV:Envelope>
-----------------------------------------
Regards

Loïc

#615   DriWashSolutions

DriWashSolutions
  • Members
  • 236 posts
  • Real Name:John Skurka
  • Gender:Male
  • Location:Ithaca, NY

Posted 05 August 2014 - 14:47

Trying to get back on this project.  Needing to revisit my new shop, and figure out what I did back in MAR/APR timeframe.  My shop is not showing rates, but I believe it is due to the key. Last I worked on it, I had labels printing from my Zebra printer, and all was good.  The store was just not ready to go live - need to do this because I'm getting tire of all the PHP issues with RC2 when my host upgrades PHP. 


John Skurka

#616   Bobber

Bobber
  • Members
  • 13 posts
  • Real Name:Bobber
  • Gender:Male

Posted 08 August 2014 - 18:40

I am trying to add a Tare Weight to the FedEx shipping module of 2 Pounds... because generally the packaging I use adds this weight to the total for shipping.

 

In the Admin > Configuration > Shipping/Packaging

 

I am currently able to change the Maximum Package Weight... which I have set at 50 pounds.

 

I have the Package Tare Weight set at 2 LBS, but it is not being accounted for no matter what weight I enter here.

 

I also have the Larger packages - percentage increase set at 0 as I do not want an increase...

 

Anyone experiencing this same problem?

 

Does anyone have a Solutions for this Problem?



#617   veego

veego
  • Members
  • 36 posts
  • Real Name:George Cheung
  • Gender:Male

Posted 13 August 2014 - 16:10

Hi Everyone,

 

Just installed this module and come up the error as below.

 

FedEx Please enter a ZIP Code to obtain your shipping quote.
Or possibly:
If no rate is shown, the heavy weight of the item(s) in your Shopping Cart suggests a Request for Freight Quote, rather than FedEx Ground service, is recommended.

 

Just give everyone an idea how I get it fixed.

 

1) Admin page -> Configuration -> Shipping / Packaging -> Make sure the Postal code has filled in the exact info you previous filled in fedex.

 

2) Admin page -> Modules -> Shipping -> Fedex -> Fedex web services password -> this has to be correct, this is not the account logon password, it should provided by fedex right after you received the meter number.

 

3) Admin page -> Modules -> Shipping -> Fedex -> Postal code -> has to be the same to the Postal code from configuration setting AND the Postal code you filled in to fedex.

 

4) Modify the fedex file as Roaddoctor mention.

 

From...

         if($ShipmentRateDetail->ShipmentRateDetail->RateType=='PAYOR_LIST_PACKAGE')

//   if($ShipmentRateDetail->ShipmentRateDetail->RateType==('PAYOR_LIST_PACKAGE' || 'PAYOR_LIST_SHIPMENT')) // try this if having international quoting errors

 

to...

 

//             if($ShipmentRateDetail->ShipmentRateDetail->RateType=='PAYOR_LIST_PACKAGE')

     if($ShipmentRateDetail->ShipmentRateDetail->RateType==('PAYOR_LIST_PACKAGE' || 'PAYOR_LIST_SHIPMENT')) // try this if having international quoting errors

 

That all I did and finally the fedex rate returned to my site.

 

I hope above info help anyone interest this module.

 

And I have one question, my returned fedex rate does not diplay any estimated arrival time beside the shipping method. Is there anyway to made it display?!

 

Thanks.

 

 

Veego


Edited by veego, 13 August 2014 - 16:11.


#618   Roaddoctor

Roaddoctor
  • Members
  • 1,022 posts
  • Real Name:David Jennings
  • Gender:Not Telling
  • Location:Texas

Posted 14 August 2014 - 13:57

Hi Everyone,

 

 

And I have one question, my returned fedex rate does not diplay any estimated arrival time beside the shipping method. Is there anyway to made it display?!

 

Thanks.

 

 

Veego

 

The code is there to show estimated transit days for Ground services... not sure about express or freight though, I only use ground.


-Dave

#619   veego

veego
  • Members
  • 36 posts
  • Real Name:George Cheung
  • Gender:Male

Posted 15 August 2014 - 15:42

Thanks for your reply Roaddoctor,

 

Since I saw Gyakutsuki show the rate result with all estimated delivery date as below, 

I thought the estimated delivery date is Inevitable.

 

FedEx (Total items: 1 pcs. Total weight: 2.20 kgs.) [
Fedex Express Saver (Estimated Delivery Date: Tuesday, April 29th 2014)-------- 0.00CAD -------- 
First Overnight (Estimated Delivery Date: Tuesday, April 29th 2014) -------- 0.00CAD --------
Fedex 2 Day (Estimated Delivery Date: Tuesday, April 29th 2014) -------- 0.00CAD -------- 
Priority Overnight (Estimated Delivery Date: Tuesday, April 29th 2014) -------- 0.00CAD -------- 
Fedex Ground (1 day) -------- 16.31CAD 

 

And also, my store address in is HK, the rate result only display International Economy and International Priority, Is that normal?!

And I never get any rate from Ground even I set the destination to nearby area like Macau or any other fedex method even all they all set to Enable them.

 

I already upload to my site, please visit https://www.veegostore.com and please have a look.

 

Veego