Jump to content



Photo
* * * * * 2 votes

FedEx - Web Services v9


  • Please log in to reply
613 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
  • 246 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
  • 370 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
  • 246 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
  • 246 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
  • 246 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
  • 246 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