Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Fedex Shipping on 1.6
 
WebShopApps
Guru
 
Avatar
Total Posts:  460
Joined:  2008-05-30
London, UK
 

Magento have changed their Fedex implementation in 1.6. I’ve written a blog article on the impact of this.

Rgds

Karen

 
Magento Community Magento Community
Magento Community
Magento Community
 
j0ney3
Jr. Member
 
Total Posts:  25
Joined:  2010-02-24
 

Anyone have any success using Fedex in the admin section?  I’m getting : Insufficient information to create shipping label(s) with nothing being written to either sys or except logs…

EDIT:  Ok, looks like there’s more fields in Shipping Settings now, I filled those out and am now getting Authentication Failed, even though the same credentials are WORKING on the front end of the site, interesting

 
Magento Community Magento Community
Magento Community
Magento Community
 
j0ney3
Jr. Member
 
Total Posts:  25
Joined:  2010-02-24
 
j0ney3 - 25 August 2011 12:45 PM

Anyone have any success using Fedex in the admin section?  I’m getting : Insufficient information to create shipping label(s) with nothing being written to either sys or except logs…

EDIT:  Ok, looks like there’s more fields in Shipping Settings now, I filled those out and am now getting Authentication Failed, even though the same credentials are WORKING on the front end of the site, interesting

Ok, here’s the new deal in case anyone is lost like me.  In order to print FedEx labels, we now need to get certification, call FedEx, they’ll have you go into sandbox mode and print a few, then you should be good to go live.

 
Magento Community Magento Community
Magento Community
Magento Community
 
pciccone
Jr. Member
 
Total Posts:  7
Joined:  2011-08-18
 

Have you been successful getting a label from 1.6 in sandbox mode? We have the web services development meter info, but are always getting errors. I am curious to know, so we know if it’s “us” or “the code”.

FedEx web services team is telling me there may be a problem with the sandbox mode with the hard-coded URL. While in sandbox mode and testing with a development ID the error back from FedEx is always “Recipient Postal-State Mismatch” no matter what address used anywhere in the US. Upon speaking with them they feel that the sandbox/development URL may be set incorrectly in the software.

They gave me: https://gatewaybeta.fedex.com:443/web-services
and for production: https://gateway.fedex.com:443/web-services

They are thinking that the error produced each and every time about a bogus city/zip code is really due to the software sending the request to the wrong URL. What is even more confusing is their own e-mail giving out the web services URL shows what is in the Magento code: https://ws.fedex.com/web-services and https://wsbeta.fedex.com/web-services - a direct contradiction to the online telephone support.

What also has me confused is the release notes for 1.6 final indicate that the gateway URL that was removed was “fixed” but in the final 1.6 the URL still does not exist, replaced only by a “Sandbox Yes/No” prompt. I understand this to be by design, but then the release notes are wrong.

I have attached below a debug output, using a development ID, showing the always-returned error about the city/zip code. I am stuck as of now as FedEx feels the gateway is wrong so they won’t continue further in troubleshooting until it’s at least addressed and changed to what “they feel” is correct.

2011-08-23T20:55:45+00:00 DEBUG (7): Array
(
[request] => <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/ship/v9"><SOAP-ENV:Body><ns1:ProcessShipmentRequest><ns1:WebAuthenticationDetail><ns1:UserCredential><ns1:Key>rBslkpP8TK0Fjpjr</ns1:Key><ns1:Password>HLWcIC2vLT4NuHPwi8up8Z721</ns1:Password></ns1:UserCredential></ns1:WebAuthenticationDetail><ns1:ClientDetail><ns1:AccountNumber>510087020</ns1:AccountNumber><ns1:MeterNumber>118545798</ns1:MeterNumber></ns1:ClientDetail><ns1:TransactionDetail><ns1:CustomerTransactionId>*** Express Domestic Shipping Request v9 using PHP ***</ns1:CustomerTransactionId></ns1:TransactionDetail><ns1:Version><ns1:ServiceId>ship</ns1:ServiceId><ns1:Major>9</ns1:Major><ns1:Intermediate>0</ns1:Intermediate><ns1:Minor>0</ns1:Minor></ns1:Version><ns1:RequestedShipment><ns1:ShipTimestamp>2011-08-23T16:55:45-04:00</ns1:ShipTimestamp><ns1:DropoffType>REGULAR_PICKUP</ns1:DropoffType><ns1:ServiceType>FEDEX_EXPRESS_SAVER</ns1:ServiceType><ns1:PackagingType>YOUR_PACKAGING</ns1:PackagingType><ns1:Shipper><ns1:Contact><ns1:PersonName>Phil Ciccone</ns1:PersonName><ns1:CompanyName>Nothin' But Deals</ns1:CompanyName><ns1:PhoneNumber>4045853546</ns1:PhoneNumber></ns1:Contact><ns1:Address><ns1:StreetLines>590 Drake Lane </ns1:StreetLines><ns1:City>Canton</ns1:City><ns1:StateOrProvinceCode>GA</ns1:StateOrProvinceCode><ns1:PostalCode>30115-4118</ns1:PostalCode><ns1:CountryCode>US</ns1:CountryCode></ns1:Address></ns1:Shipper><ns1:Recipient><ns1:Contact><ns1:PersonName>Test Customer</ns1:PersonName><ns1:CompanyName>TEST Company</ns1:CompanyName><ns1:PhoneNumber>5708176130</ns1:PhoneNumber></ns1:Contact><ns1:Address><ns1:StreetLines>3150 Bordentown Ave.</ns1:StreetLines><ns1:City>Old Bridge</ns1:City><ns1:StateOrProvinceCode>New Jersey</ns1:StateOrProvinceCode><ns1:PostalCode>08857</ns1:PostalCode><ns1:CountryCode>US</ns1:CountryCode><ns1:Residential>true</ns1:Residential></ns1:Address></ns1:Recipient><ns1:ShippingChargesPayment><ns1:PaymentType>SENDER</ns1:PaymentType><ns1:Payor><ns1:AccountNumber>510087020</ns1:AccountNumber><ns1:CountryCode>US</ns1:CountryCode></ns1:Payor></ns1:ShippingChargesPayment><ns1:LabelSpecification><ns1:LabelFormatType>COMMON2D</ns1:LabelFormatType><ns1:ImageType>PNG</ns1:ImageType><ns1:LabelStockType>PAPER_8.5X11_TOP_HALF_LABEL</ns1:LabelStockType></ns1:LabelSpecification><ns1:RateRequestTypes>ACCOUNT</ns1:RateRequestTypes><ns1:PackageCount>1</ns1:PackageCount><ns1:RequestedPackageLineItems><ns1:SequenceNumber>1</ns1:SequenceNumber><ns1:Weight><ns1:Units>LB</ns1:Units><ns1:Value>5</ns1:Value></ns1:Weight><ns1:CustomerReferences><ns1:CustomerReferenceType>CUSTOMER_REFERENCE</ns1:CustomerReferenceType><ns1:Value>Order #100000007 P1</ns1:Value></ns1:CustomerReferences><ns1:SpecialServicesRequested><ns1:SpecialServiceTypes>SIGNATURE_OPTION</ns1:SpecialServiceTypes><ns1:SignatureOptionDetail><ns1:OptionType>NO_SIGNATURE_REQUIRED</ns1:OptionType></ns1:SignatureOptionDetail></ns1:SpecialServicesRequested></ns1:RequestedPackageLineItems></ns1:RequestedShipment></ns1:ProcessShipmentRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>

[result] => Array
(
[error] => Recipient Postal-State Mismatch 
[code] => 3052 
[xml] => <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><soapenv:Body><v9:ProcessShipmentReply xmlns:v9="http://fedex.com/ws/ship/v9"><v9:HighestSeverity xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">ERROR</v9:HighestSeverity><v9:Notifications xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><v9:Severity>ERROR</v9:Severity><v9:Source>ship</v9:Source><v9:Code>3052</v9:Code><v9:Message>Recipient Postal-State Mismatch</v9:Message><v9:LocalizedMessage>Recipient Postal-State Mismatch</v9:LocalizedMessage></v9:Notifications><ns1:TransactionDetail xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/ship/v9"><ns1:CustomerTransactionId>*** Express Domestic Shipping Request v9 using PHP ***</ns1:CustomerTransactionId></ns1:TransactionDetail><ns1:Version xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/ship/v9"><ns1:ServiceId>ship</ns1:ServiceId><ns1:Major>9</ns1:Major><ns1:Intermediate>0</ns1:Intermediate><ns1:Minor>0</ns1:Minor></ns1:Version></v9:ProcessShipmentReply></soapenv:Body></soapenv:Envelope>
)

[__pid] => 29521
)
 
Magento Community Magento Community
Magento Community
Magento Community
 
j0ney3
Jr. Member
 
Total Posts:  25
Joined:  2010-02-24
 

@pciccone,

No labels from test yet.  I’ve confirmed that what you listed above, and what Magento has hardcoded (ugh) in IS CORRECT (https://wsbeta.fedex.com:443/web-services) with it’s endpoints (on the phone w/ FedEx while hitting endpoint specified in BOTH Magento and FedEx dev resources guide).  You may want to call FedEx and find out for sure that your “test” meter isn’t hooked up to someone else’s account, mine was, and caused all sorts of errors.  I’ve now got confirmed credentials for testing that are returning rates on the front end, but nothing for labels, looks to be a Magento issue validating the schema somewhere:

2011-08-26T18:52:35+00:00 ERR (3):
SoapFault exception[soapenv:Server] Schema validation failed for requestin app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php:1211
Stack trace
:
#0 [internal function]: SoapClient->__call('processShipment', Array)
#1 app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php(1211): SoapClient->processShipment(Array)
#2 app/code/core/Mage/Usa/Model/Shipping/Carrier/Abstract.php(274): Mage_Usa_Model_Shipping_Carrier_Fedex->_doShipmentRequest(Object(Mage_Shipping_Model_Shipment_Request))
#3app/code/core/Mage/Shipping/Model/Shipping.php(327): Mage_Usa_Model_Shipping_Carrier_Abstract->requestToShipment(Object(Mage_Shipping_Model_Shipment_Request))
#4 app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php(507): Mage_Shipping_Model_Shipping->requestToShipment(Object(Mage_Sales_Model_Order_Shipment))
#5 app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php(216): Mage_Adminhtml_Sales_Order_ShipmentController->_createShippingLabel(Object(Mage_Sales_Model_Order_Shipment))
#6 app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Adminhtml_Sales_Order_ShipmentController->saveAction()
#7 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('save')
#8 app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#9 app/code/core/Mage/Core/Model/App.php(347): Mage_Core_Controller_Varien_Front->dispatch()
#10 app/Mage.php(640): Mage_Core_Model_App->run(Array)
#11 index.php(80): Mage::run('', 'store')
#12 {main}

Has anyone out there had any successful end to end with labels and FedEx in either dev or production yet?

 
Magento Community Magento Community
Magento Community
Magento Community
 
j0ney3
Jr. Member
 
Total Posts:  25
Joined:  2010-02-24
 

Ok, further investigation yields:

string value 'FEDEXGROUND' is not a valid enumeration value for ServiceType

now I’ve gotta find where it’s set…

 
Magento Community Magento Community
Magento Community
Magento Community
 
j0ney3
Jr. Member
 
Total Posts:  25
Joined:  2010-02-24
 

Success!  I managed to get a test label printed, using FedEx Express, then I realized that they updated FEDEXGROUND to FEDEX_GROUND in 1.6, I was using “reorder” on a test order from before the switch, it was grabbing the OLD shipping method somehow.  It’s working now on fresh orders.

 
Magento Community Magento Community
Magento Community
Magento Community
 
WebShopApps
Guru
 
Avatar
Total Posts:  460
Joined:  2008-05-30
London, UK
 

The error below is a bug in the magento code where they are passing in the state name rather than the code, i.e. New Jersey rather than NJ.  I will submit a bug report

Rgds

Karen

pciccone - 26 August 2011 07:14 AM

Have you been successful getting a label from 1.6 in sandbox mode? We have the web services development meter info, but are always getting errors. I am curious to know, so we know if it’s “us” or “the code”.

FedEx web services team is telling me there may be a problem with the sandbox mode with the hard-coded URL. While in sandbox mode and testing with a development ID the error back from FedEx is always “Recipient Postal-State Mismatch” no matter what address used anywhere in the US. Upon speaking with them they feel that the sandbox/development URL may be set incorrectly in the software.

They gave me: https://gatewaybeta.fedex.com:443/web-services
and for production: https://gateway.fedex.com:443/web-services

They are thinking that the error produced each and every time about a bogus city/zip code is really due to the software sending the request to the wrong URL. What is even more confusing is their own e-mail giving out the web services URL shows what is in the Magento code: https://ws.fedex.com/web-services and https://wsbeta.fedex.com/web-services - a direct contradiction to the online telephone support.

What also has me confused is the release notes for 1.6 final indicate that the gateway URL that was removed was “fixed” but in the final 1.6 the URL still does not exist, replaced only by a “Sandbox Yes/No” prompt. I understand this to be by design, but then the release notes are wrong.

I have attached below a debug output, using a development ID, showing the always-returned error about the city/zip code. I am stuck as of now as FedEx feels the gateway is wrong so they won’t continue further in troubleshooting until it’s at least addressed and changed to what “they feel” is correct.

2011-08-23T20:55:45+00:00 DEBUG (7): Array
(
[request] => <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/ship/v9"><SOAP-ENV:Body><ns1:ProcessShipmentRequest><ns1:WebAuthenticationDetail><ns1:UserCredential><ns1:Key>rBslkpP8TK0Fjpjr</ns1:Key><ns1:Password>HLWcIC2vLT4NuHPwi8up8Z721</ns1:Password></ns1:UserCredential></ns1:WebAuthenticationDetail><ns1:ClientDetail><ns1:AccountNumber>510087020</ns1:AccountNumber><ns1:MeterNumber>118545798</ns1:MeterNumber></ns1:ClientDetail><ns1:TransactionDetail><ns1:CustomerTransactionId>*** Express Domestic Shipping Request v9 using PHP ***</ns1:CustomerTransactionId></ns1:TransactionDetail><ns1:Version><ns1:ServiceId>ship</ns1:ServiceId><ns1:Major>9</ns1:Major><ns1:Intermediate>0</ns1:Intermediate><ns1:Minor>0</ns1:Minor></ns1:Version><ns1:RequestedShipment><ns1:ShipTimestamp>2011-08-23T16:55:45-04:00</ns1:ShipTimestamp><ns1:DropoffType>REGULAR_PICKUP</ns1:DropoffType><ns1:ServiceType>FEDEX_EXPRESS_SAVER</ns1:ServiceType><ns1:PackagingType>YOUR_PACKAGING</ns1:PackagingType><ns1:Shipper><ns1:Contact><ns1:PersonName>Phil Ciccone</ns1:PersonName><ns1:CompanyName>Nothin' But Deals</ns1:CompanyName><ns1:PhoneNumber>4045853546</ns1:PhoneNumber></ns1:Contact><ns1:Address><ns1:StreetLines>590 Drake Lane </ns1:StreetLines><ns1:City>Canton</ns1:City><ns1:StateOrProvinceCode>GA</ns1:StateOrProvinceCode><ns1:PostalCode>30115-4118</ns1:PostalCode><ns1:CountryCode>US</ns1:CountryCode></ns1:Address></ns1:Shipper><ns1:Recipient><ns1:Contact><ns1:PersonName>Test Customer</ns1:PersonName><ns1:CompanyName>TEST Company</ns1:CompanyName><ns1:PhoneNumber>5708176130</ns1:PhoneNumber></ns1:Contact><ns1:Address><ns1:StreetLines>3150 Bordentown Ave.</ns1:StreetLines><ns1:City>Old Bridge</ns1:City><ns1:StateOrProvinceCode>New Jersey</ns1:StateOrProvinceCode><ns1:PostalCode>08857</ns1:PostalCode><ns1:CountryCode>US</ns1:CountryCode><ns1:Residential>true</ns1:Residential></ns1:Address></ns1:Recipient><ns1:ShippingChargesPayment><ns1:PaymentType>SENDER</ns1:PaymentType><ns1:Payor><ns1:AccountNumber>510087020</ns1:AccountNumber><ns1:CountryCode>US</ns1:CountryCode></ns1:Payor></ns1:ShippingChargesPayment><ns1:LabelSpecification><ns1:LabelFormatType>COMMON2D</ns1:LabelFormatType><ns1:ImageType>PNG</ns1:ImageType><ns1:LabelStockType>PAPER_8.5X11_TOP_HALF_LABEL</ns1:LabelStockType></ns1:LabelSpecification><ns1:RateRequestTypes>ACCOUNT</ns1:RateRequestTypes><ns1:PackageCount>1</ns1:PackageCount><ns1:RequestedPackageLineItems><ns1:SequenceNumber>1</ns1:SequenceNumber><ns1:Weight><ns1:Units>LB</ns1:Units><ns1:Value>5</ns1:Value></ns1:Weight><ns1:CustomerReferences><ns1:CustomerReferenceType>CUSTOMER_REFERENCE</ns1:CustomerReferenceType><ns1:Value>Order #100000007 P1</ns1:Value></ns1:CustomerReferences><ns1:SpecialServicesRequested><ns1:SpecialServiceTypes>SIGNATURE_OPTION</ns1:SpecialServiceTypes><ns1:SignatureOptionDetail><ns1:OptionType>NO_SIGNATURE_REQUIRED</ns1:OptionType></ns1:SignatureOptionDetail></ns1:SpecialServicesRequested></ns1:RequestedPackageLineItems></ns1:RequestedShipment></ns1:ProcessShipmentRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>

[result] => Array
(
[error] => Recipient Postal-State Mismatch 
[code] => 3052 
[xml] => <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><soapenv:Body><v9:ProcessShipmentReply xmlns:v9="http://fedex.com/ws/ship/v9"><v9:HighestSeverity xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">ERROR</v9:HighestSeverity><v9:Notifications xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><v9:Severity>ERROR</v9:Severity><v9:Source>ship</v9:Source><v9:Code>3052</v9:Code><v9:Message>Recipient Postal-State Mismatch</v9:Message><v9:LocalizedMessage>Recipient Postal-State Mismatch</v9:LocalizedMessage></v9:Notifications><ns1:TransactionDetail xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/ship/v9"><ns1:CustomerTransactionId>*** Express Domestic Shipping Request v9 using PHP ***</ns1:CustomerTransactionId></ns1:TransactionDetail><ns1:Version xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://fedex.com/ws/ship/v9"><ns1:ServiceId>ship</ns1:ServiceId><ns1:Major>9</ns1:Major><ns1:Intermediate>0</ns1:Intermediate><ns1:Minor>0</ns1:Minor></ns1:Version></v9:ProcessShipmentReply></soapenv:Body></soapenv:Envelope>
)

[__pid] => 29521
)
 
Magento Community Magento Community
Magento Community
Magento Community
 
pciccone
Jr. Member
 
Total Posts:  7
Joined:  2011-08-18
 

Karen, thanks so much for opening the new tracking problem and updating my bug report for the city/state issue. Do you know how we alert the dev team to change the status back from closed to open on #26300? I don’t think they will see your comment or mine since it was closed before the issues were fully uncovered.

Also, do you know if there is any support for thermal printing (Zebra, etc) via the new built-in code? Best I can tell from the debug output it’s sending 1/2 page label format via 8.5x11 paper (the same as the fedex.com website would).

 
Magento Community Magento Community
Magento Community
Magento Community
 
netdude
Jr. Member
 
Total Posts:  5
Joined:  2010-06-23
 

I know its taboo to mess with core code, but I really need this working… so the quick fix is… add:

insert at line 1070 of app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php:

$states = array('Alabama' => 'AL','Alaska' => 'AK','Arizona' => 'AZ','Arkansas' => 'AR','California' => 'CA','Colorado' => 'CO','Connecticut' => 'CT','Delaware' => 'DE','Florida' => 'FL','Georgia' => 'GA','Hawaii' => 'HI','Idaho' => 'ID','Illinois' => 'IL','Indiana' => 'IN','Iowa' => 'IA','Kansas' => 'KS','Kentucky' => 'KY','Louisiana' => 'LA','Maine' => 'ME','Maryland' => 'MD','Massachusetts' => 'MA','Michigan' => 'MI','Minnesota' => 'MN','Mississippi' => 'MS','Missouri' => 'MO','Montana' => 'MT','Nebraska' => 'NE','Nevada' => 'NV','New Hampshire' => 'NH','New Jersey' => 'NJ','New Mexico' => 'NM','New York' => 'NY','North Carolina' => 'NC','North Dakota' => 'ND','Ohio' => 'OH','Oklahoma' => 'OK','Oregon' => 'OR','Pennsylvania' => 'PA','Rhode Island' => 'RI','South Carolina' => 'SC','South Dakota' => 'SD','Tennessee' => 'TN','Texas' => 'TX','Utah' => 'UT','Vermont' => 'VT','Virginia' => 'VA','Washington' => 'WA','West Virginia' => 'WV','Wisconsin' => 'WI','Wyoming' => 'WY');
        
$stCode $states[$request->getRecipientAddressStateOrProvinceCode()];

and replace at line 1100:

'StateOrProvinceCode' => $request->getRecipientAddressStateOrProvinceCode(),
with
'StateOrProvinceCode' => $stCode,

can probably add an if statement or two to make it do this mod for only certain countries as required. I also just noticed the area to make it request a specific label format and such… I am going to make it 4x6 and dump it to PDF so I can pipe it through cups directly to a USB-to-Ethernet connected network Zebra ZP 500 Plus… smile takes too much time opening a PDF and hitting print when all that is being done is printing a PDF… smile anyone wants a copy of my Fedex.php file after its done, feel free to drop me a line and I will happily fork it over for free smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
pciccone
Jr. Member
 
Total Posts:  7
Joined:  2011-08-18
 

I wanted to thank you for posting the changed FedEx Module code to get the “bugs” worked out and the labels printing. I also have a Zebra ZP505 printer, can you tell me where you made the change to get the label formatted correctly for the thermal type printer we have? And in the end, did it work? I am not nearly as advanced as you with the need for cups / network printing - In my case, it’s just a locally attached USB printer.

I have been speaking with the very nice guys over with ShipSync, but now for the first time I am wonder if that is required anymore once the bugs are worked out. What are you thoughts for a FedEx shipper using SmartPost / Home Delivery and Ground on the same ZP500 series thermal printer?

Netdude- Also wanted to show you below the bug fix from Karen / webshopapps that might shorten your code a bit on the state problem:

'StateOrProvinceCode' => $request->getRecipientAddressStateOrProvinceCode(),

Change to:

'StateOrProvinceCode' => $request->getRecipientAddressRegionCode(),

Phil

 
Magento Community Magento Community
Magento Community
Magento Community
 
pciccone
Jr. Member
 
Total Posts:  7
Joined:  2011-08-18
 
netdude - 08 September 2011 04:48 PM

I am going to make it 4x6 and dump it to PDF

I got the labels from stock Magento 1.6 working on the Zebra thermal printers, here is the code change if interested.

At around 1119 in ‘app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php’

'LabelStockType' => 'PAPER_8.5X11_TOP_HALF_LABEL',

to

'LabelStockType' => 'PAPER_4X6',

Keep the ImageType as ‘PNG’ even though you would think ZPII would be the right choice. Once I prove this out with some tests and it passes label certification with FedEx I will open a feature request to have this added to the front-end. The next release of Magento can and should allow the user to select a thermal printer without coding changes - being they got this far.

Phil

 
Magento Community Magento Community
Magento Community
Magento Community
 
dirtbagjohn
Jr. Member
 
Total Posts:  2
Joined:  2012-01-03
 

What about getting FedEx SMARTPOST to show up as a shipping option?  I’ve look high and low and can find no information on how to get SMART POST to show up. 

any help is GREATLY appreciated!

Thank You,

 
Magento Community Magento Community
Magento Community
Magento Community
 
kernelhack
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2009-07-16
Marietta, GA
 

Greetings,

I just wanted to chime in and let everyone know that ShipSync is now open source.  Check it out here ->

http://code.google.com/p/shipsync-community

Enjoy!

Thanks,
David Kirby

 
Magento Community Magento Community
Magento Community
Magento Community
 
spjones
Jr. Member
 
Total Posts:  6
Joined:  2012-09-08
 

To Dirtbagjohn at the end of this string----we too were trying to set up SmartPost. Seems it requires a separate module. I found one offered from a company, but it was not for the US. I heard from someone that version 7 of Megento includes SmartPost as a separate option. If you have version 7, can you see if this is true. Don’t want to upgrade now if it isn’t. (we have version 6 now). By the way: FedEx web people told me that SmartPost quotes come from a separate server, so even though SmartPost shows up as a shipping option along with ground and others, it will not return quotes without a separate request. Any feedback on this would be most helpful as I really do want to add SmartPost to my offerings.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top