FedEx - Web Services v9
#141
Posted 13 October 2011 - 07:22 PM
#142
Posted 13 October 2011 - 10:38 PM
#143
Posted 17 October 2011 - 05:42 AM
Also
Can it display transit times?
#144
Posted 17 October 2011 - 08:35 PM
#145
Posted 20 October 2011 - 11:37 PM
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
Posted 26 October 2011 - 03:53 PM
#147
Posted 04 November 2011 - 10:47 AM
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
Posted 07 November 2011 - 11:58 AM
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
Posted 09 November 2011 - 09:00 PM
willtor, 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.
#150
Posted 22 November 2011 - 06:25 PM
Thanks
#151
Posted 28 November 2011 - 08:26 PM
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?
#152
Posted 28 November 2011 - 08:52 PM
// 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,
#153
Posted 02 December 2011 - 08:34 AM
willtor, 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?
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
Posted 07 December 2011 - 10:11 PM
Sticky Pod
www.stickypod.com
#155
Posted 09 December 2011 - 10:23 PM
Quote
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
Posted 10 December 2011 - 03:56 PM
ckpepper02, on 09 December 2011 - 10:23 PM, said:
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
Posted 12 December 2011 - 03:54 PM
#158
Posted 12 December 2011 - 10:06 PM
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
Posted 12 December 2011 - 11:03 PM
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
#160
Posted 13 December 2011 - 12:46 AM
BTW, love the Rush quote... Huge Neal Peart/Rush fan (comes with being Canadian).









