Jump to content



Latest News: (loading..)

* * * * * 1 votes

FedEx - Web Services v9


  • Please log in to reply
513 replies to this topic

#141   rdub

rdub
  • Members
  • 132 posts
  • Real Name:Bill Triplett

Posted 13 October 2011 - 07:22 PM

I have installed this module and it seems to work..on the surface. There doesn't seem to be an option for weight and/or dimensions. Therefore, the rate I'm getting is incorrect. How do I get this to include this info?

#142   rdub

rdub
  • Members
  • 132 posts
  • Real Name:Bill Triplett

Posted 13 October 2011 - 10:38 PM

I also notice the fee doesn't change when I add items to the shopping cart.

#143   flixmaster

flixmaster
  • Members
  • 7 posts
  • Real Name:Flixmaster
  • Gender:Male

Posted 17 October 2011 - 05:42 AM

Can you reverse the sort of returned rates?  Currency they are low to high.

Also

Can it display transit times?

#144   rdub

rdub
  • Members
  • 132 posts
  • Real Name:Bill Triplett

Posted 17 October 2011 - 08:35 PM

I have the module installed in version 2.3 of oscommerce. On the surface it seems to be working. However, the rates are not correct based on the account  Also, it doesn't pass the correct package count to fedex web services. The shopping cart shows the correct number of items but the shipping module isn't picking up the correct number.

#145   bramvh

bramvh
  • Members
  • 5 posts
  • Real Name:bramvh vanh

Posted 20 October 2011 - 11:37 PM

Hi,

if a customer use special characters in his address , he gets this error when he want to the shipping page:
Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: string 'pok\xf3...' is not a valid utf-8 string in /home/bram/public_html/catalog/includes/modules/shipping/fedexwebservices.php:184 Stack trace: #0 /home/bram/public_html/catalog/includes/modules/shipping/fedexwebservices.php(184): SoapClient->__call('getRates', Array) #1 /home/bram/public_html/catalog/includes/modules/shipping/fedexwebservices.php(184): SoapClient->getRates(Array) #2 /home/bram/public_html/catalog/includes/classes/shipping.php(124): fedexwebservices->quote('') #3 /home/bram/public_html/catalog/checkout_shipping.php(192): shipping->quote() #4 {main} thrown in /home/bram/public_html/catalog/includes/modules/shipping/fedexwebservices.php on line 184

anybody can help me?
Thanks in advance.

Bram

#146   rdub

rdub
  • Members
  • 132 posts
  • Real Name:Bill Triplett

Posted 26 October 2011 - 03:53 PM

How do I include package dimensions? I just don't see it in this module and the correct rate is dependent on that info.

#147   PrakritiShrestha

PrakritiShrestha
  • Members
  • 4 posts
  • Real Name:prakriti

Posted 04 November 2011 - 10:47 AM

Can anyone help me ????
I am using non soap (HTTP POST method) code to get rate (for shipping) from fedex. But could not get the output from fedex.
Do I have to configure the new certificate file to my Xaamp.As I came to know from fedex.com(https://www.fedex.com/wpor/web/jsp/drclinks.jsp?links=wss/index.html)
that SSl certificate has been updated.

#148   willtor

willtor
  • Members
  • 16 posts
  • Real Name:William

Posted 07 November 2011 - 11:58 AM

Hi Guys. Thank you for this great contribution.  

It works very well in general.  However, if you include any accented character in the shipping address, é è ñ á ó for exemple, it triggers a 500 Server error.
Many foreign addresses include accented characters and it is impossible for the foreign customer to get a shipping quote. Am I an isolated case or is this a know issue?

Thank you.

#149   jdfitch

jdfitch
  • Members
  • 73 posts
  • Real Name:JD Fitch
  • Location:College Station, TX

Posted 09 November 2011 - 09:00 PM

View Postwilltor, on 07 November 2011 - 11:58 AM, said:


It works very well in general.  However, if you include any accented character in the shipping address, é è ñ á ó for exemple, it triggers a 500 Server error.
Many foreign addresses include accented characters and it is impossible for the foreign customer to get a shipping quote. Am I an isolated case or is this a know issue?

I just ran into the same issue with a customer from Brazil  used an é in his shipping address and instead of a 500 error the shipping page just came up blank.
We either need a fix for this, or a filter to replace accented characters.

Also I have not had a chance to work on it, but I think we would also need to consider the Ship Seperatley addon from the original FedEx Real Time Quotes.
http://addons.oscommerce.com/info/1462  update V2.06 26 Nov 2006.
We ship a lot of bulky packages and this addon has really saved our butts with shipping calculations.
If you choose not to decide you still have made a choice, I will choose a purpose clear, I will choose Free Will. --Neal Peart - Rush

#150   dsolutions

dsolutions
  • Members
  • 63 posts
  • Real Name:Evan
  • Gender:Male
  • Location:Texas

Posted 22 November 2011 - 06:25 PM

Does anyone know if this version supports the display of transit time?  It worked in Version 2.04, but it does not seem to display transit time in this version.

Thanks

#151   jdfitch

jdfitch
  • Members
  • 73 posts
  • Real Name:JD Fitch
  • Location:College Station, TX

Posted 28 November 2011 - 08:26 PM

Also something that came up today.
In the original FedEx real time quotes there was a solution provided to stop the shippng address from including a PO Box.  As FedEx does not deliver to PO boxes.
the code was inserted just below the Country
Just below line 32
  $this->country = STORE_ORIGIN_COUNTRY;
    }

became:
    $this->country = STORE_ORIGIN_COUNTRY;
  }
    if (eregi("^P(.+)O(.+)BOX",$order->delivery['street_address']) ||eregi("^PO BOX",$order->delivery['street_address']) || eregi("^P(.+)O(.+)BOX",$order->delivery['suburb']) || eregi("^[A-Z]PO",$order->delivery['street_address']) || eregi("^[A-Z]PO",$order->delivery['suburb'])) {
    $this->quotes = array('module' => $this->title,
  'error' => '<font size=+2 color=red><b>Federal Express cannot ship to Post Office Boxes.<b></font>'); }

I have tried just adding this code, but it does not show the error text, in fact it has no effect at all.
Any thoughts?
If you choose not to decide you still have made a choice, I will choose a purpose clear, I will choose Free Will. --Neal Peart - Rush

#152   jdfitch

jdfitch
  • Members
  • 73 posts
  • Real Name:JD Fitch
  • Location:College Station, TX

Posted 28 November 2011 - 08:52 PM

Another strange thing.  After line 110:
    // customer details
    $street_address = $order->delivery['street_address'];
    $street_address2 = $order->delivery['suburb'];
    $city = $order->delivery['city'];
This code is wrong.  We added the second address line to OSCommerce a long time ago so it should be something like:
    // customer details
    $street_address = $order->delivery['street_address'];
    $street_address2 = $order->delivery['street_address_2'];
    $suburb = $order->delivery['suburb'];
    $city = $order->delivery['city'];


and then after line 380
    return array('MODULE_SHIPPING_FEDEX_WEB_SERVICES_STATUS',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_KEY',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_PWD',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_ACT_NUM',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_METER_NUM',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_WEIGHT',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_ADDRESS_1',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_ADDRESS_2',
would become:
    return array('MODULE_SHIPPING_FEDEX_WEB_SERVICES_STATUS',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_KEY',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_PWD',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_ACT_NUM',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_METER_NUM',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_WEIGHT',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_ADDRESS_1',
'MODULE_SHIPPING_FEDEX_WEB_SERVICES_ADDRESS_2',
    'MODULE_SHIPPING_FEDEX_WEB_SERVICES_SUBURB

Again any thoughts?
I am just becomeing familiar with this module so any help would be appreciated,
If you choose not to decide you still have made a choice, I will choose a purpose clear, I will choose Free Will. --Neal Peart - Rush

#153   bramvh

bramvh
  • Members
  • 5 posts
  • Real Name:bramvh vanh

Posted 02 December 2011 - 08:34 AM

View Postwilltor, on 07 November 2011 - 11:58 AM, said:

Hi Guys. Thank you for this great contribution.  

It works very well in general.  However, if you include any accented character in the shipping address, é è ñ á ó for exemple, it triggers a 500 Server error.
Many foreign addresses include accented characters and it is impossible for the foreign customer to get a shipping quote. Am I an isolated case or is this a know issue?

Thank you.


Hi, i have the same problem:

Hi,

if a customer use special characters in his address , he gets this error when he want to the shipping page:
Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: string 'pok\xf3...' is not a valid utf-8 string in /home/bram/public_html/catalog/includes/modules/shipping/fedexwebservices.php:184 Stack trace: #0 /home/bram/public_html/catalog/includes/modules/shipping/fedexwebservices.php(184): SoapClient->__call('getRates', Array) #1 /home/bram/public_html/catalog/includes/modules/shipping/fedexwebservices.php(184): SoapClient->getRates(Array) #2 /home/bram/public_html/catalog/includes/classes/shipping.php(124): fedexwebservices->quote('') #3 /home/bram/public_html/catalog/checkout_shipping.php(192): shipping->quote() #4 {main} thrown in /home/bram/public_html/catalog/includes/modules/shipping/fedexwebservices.php on line 184

anybody can help me?
Thanks in advance.

Bram

#154   stickypod

stickypod
  • Members
  • 85 posts
  • Real Name:Sticky Pod
  • Location:Englewood, Colorado

Posted 07 December 2011 - 10:11 PM

I've installed and it works great.  We need to fix the sorting and add transit times.  I'll do my best.  Thanks for a great solution.  By the way, this contribution will be mandatory by Feb. 2012
Anyone can buy a camera... it's what you do with it that counts!
Sticky Pod
www.stickypod.com

#155   ckpepper02

ckpepper02
  • Members
  • 27 posts
  • Real Name:Chris
  • Gender:Male
  • Location:USA

Posted 09 December 2011 - 10:23 PM

Anyone getting this error?

Quote

Fatal error: Cannot redeclare cmp() (previously declared in /includes/modules/shipping/fedexwebservices.php:225) in /includes/modules/shipping/fedexwebservices.php on line 225

I'm using Paypal Express as the payment module, I go through and confirm my paypal information and this comes up after clicking continue.

#156   ckpepper02

ckpepper02
  • Members
  • 27 posts
  • Real Name:Chris
  • Gender:Male
  • Location:USA

Posted 10 December 2011 - 03:56 PM

View Postckpepper02, on 09 December 2011 - 10:23 PM, said:

Anyone getting this error?



I'm using Paypal Express as the payment module, I go through and confirm my paypal information and this comes up after clicking continue.

Ok looks like my problem above is limited to using Paypal Express module. When the user is sent to paypal to log in, then they are sent back to the checkout, the error occurs. Any ideas?

#157   ckpepper02

ckpepper02
  • Members
  • 27 posts
  • Real Name:Chris
  • Gender:Male
  • Location:USA

Posted 12 December 2011 - 03:54 PM

Tried renaming the function in case its used somewhere else and I get the same error with the new function name. Please someone help! This issue is keeping me from finally launching the website!

#158   greasemonkey

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

Posted 12 December 2011 - 10:06 PM

Has anyone been able to get this mod working with Fedex Automatic Labels?

I'm gonna start preparing (I know fedex will require webservices after Feb 2012) for the shutdown of of the old system.... however I know ship_fedex.php requires fedexdc.php in several places.

#159   jdfitch

jdfitch
  • Members
  • 73 posts
  • Real Name:JD Fitch
  • Location:College Station, TX

Posted 12 December 2011 - 11:03 PM

I have been using my FedEx automated labels all along,
We updated the the webservices module about a month ago, all I did was turn off the FedEx Realtime Quotes shipping module in the admin>modules>shipping.
I did not make any changes to it or unistall it.  Just set enable to FALSE.
Our Automated labels is working fine.
I think the only reason you needed Realtime Quotes to begin with was to get a fedex meter ID
If you choose not to decide you still have made a choice, I will choose a purpose clear, I will choose Free Will. --Neal Peart - Rush

#160   greasemonkey

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

Posted 13 December 2011 - 12:46 AM

Great to know... thank you very much jdfitch!

BTW, love the Rush quote... Huge Neal Peart/Rush fan (comes with being Canadian).