// comment out and test - you likely do not need this line
Does this resolve it?
Latest News: (loading..)
FedEx - Web Services v9
Started by greasemonkey, May 11 2011 05:15 AM
512 replies to this topic
#501
Posted 15 April 2013 - 03:09 AM
-Dave
#502
Posted 15 April 2013 - 08:05 PM
getting this error now:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '/home/content/52/9564952/html/wp-content/plugins/wp-online-store/home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/wsdl/RateService_v9.wsdl' : failed to load external entity "/home/content/52/9564952/html/wp-content/plugins/wp-online-store/home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/wsdl/RateService_v9.wsdl" in /home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/modules/shipping/fedexwebservices.php:70 Stack trace: #0 /home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/modules/shipping/fedexwebservices.php(70): SoapClient->SoapClient('/home/content/5...', Array) #1 /home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/classes/shipping.php(158): fedexwebservices->quote('') #2 /home/content/52/9564952/html/wp-content/plugins/wp-online-store/checkout_shipping.php(180): shipping->quote() #3 /home/content/52/9564952/h in /home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/modules/shipping/fedexwebservices.php on line70
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '/home/content/52/9564952/html/wp-content/plugins/wp-online-store/home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/wsdl/RateService_v9.wsdl' : failed to load external entity "/home/content/52/9564952/html/wp-content/plugins/wp-online-store/home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/wsdl/RateService_v9.wsdl" in /home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/modules/shipping/fedexwebservices.php:70 Stack trace: #0 /home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/modules/shipping/fedexwebservices.php(70): SoapClient->SoapClient('/home/content/5...', Array) #1 /home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/classes/shipping.php(158): fedexwebservices->quote('') #2 /home/content/52/9564952/html/wp-content/plugins/wp-online-store/checkout_shipping.php(180): shipping->quote() #3 /home/content/52/9564952/h in /home/content/52/9564952/html/wp-content/plugins/wp-online-store/includes/modules/shipping/fedexwebservices.php on line70
#504
Posted 20 April 2013 - 09:37 PM
@Roaddoctor
Got everything working properly now with no errors, but it's still pulling inflated prices.
Got everything working properly now with no errors, but it's still pulling inflated prices.
#505
Posted 24 April 2013 - 02:23 PM
futterman, on 20 April 2013 - 09:37 PM, said:
Got everything working properly now with no errors, but it's still pulling inflated prices.
are you quoting ground or express rates? domestic? intl? Which rates are off? details would help
Try enabling ready to ship even if you are not using the feature
And just to check, you do have a rate agreement with fedex right?
-Dave
#506
Posted 07 May 2013 - 01:58 PM
I have been trying for the last few days to update the webservices module with the "Additional discounts by weight or item count" modification found in the old 2.07 real time quotes module... i'm at a loss, my brain now hurts,no matter what I try I cannot seem to make it work and I'v ereached my frustration point.
Would anyone here have the skillset to move this feature from the old module to the new one? it "should" not be difficult as the code essentially exists in 2.07 and just needs to be merged into Webservices, which I dont seem to be able to accomplish (arghh).... feel welcome to contact me directly if you can assist.
Dave
Would anyone here have the skillset to move this feature from the old module to the new one? it "should" not be difficult as the code essentially exists in 2.07 and just needs to be merged into Webservices, which I dont seem to be able to accomplish (arghh).... feel welcome to contact me directly if you can assist.
Dave
-Dave
#507 ONLINE
Posted Yesterday, 07:14 PM
Just posting an update March 23rd 2013... FedEx has confirmed their webservices are down... They suggested to me at 2:20 PM EST that it would take 20 minutes to fix. It is still not fixed (3:12 PM EST).
If your store is down the only way to get back up is to disable the FedEx Shipping Module from your admin (hopefully you have more than one shipping method...).
I will post again when I see its fixed.
If your store is down the only way to get back up is to disable the FedEx Shipping Module from your admin (hopefully you have more than one shipping method...).
I will post again when I see its fixed.
#508 ONLINE
Posted Yesterday, 07:20 PM
Quote
Just posting an update March 23rd 2013... FedEx has confirmed their webservices are down... They suggested to me at 2:20 PM EST that it would take 20 minutes to fix. It is still not fixed (3:12 PM EST).
If your store is down the only way to get back up is to disable the FedEx Shipping Module from your admin (hopefully you have more than one shipping method...).
I will post again when I see its fixed.
If your store is down the only way to get back up is to disable the FedEx Shipping Module from your admin (hopefully you have more than one shipping method...).
I will post again when I see its fixed.
False alarm... It's now fixed as of 3:17 PM EST... lol...
#509
Posted Yesterday, 07:27 PM
greasemonkey, on 23 May 2013 - 07:20 PM, said:
False alarm... It's now fixed as of 3:17 PM EST... lol...
Does anyone know of a mod in checkout_shipping.php that would allow the page to work properly, showing the other shipping methods when a problem occurs with web services? In other words, instead of a blank page, it just leaves Fed-Ex off if the server does not respond within a given time?
#510 ONLINE
Posted Today, 03:08 PM
@Roaddoctor - or anyone else...
Did the FedEx webservices problem yesterday crash your entire site? Or just the checkout_shipping page?
I was looking into the error... Keep in mind I'm not a coder... to see why my site crashed at checkout_shipping and didn't just give a error message.
There is code to handle errors here for zones and other things:
And also here for PO Boxes:
But nothing here (earlier in the file) for "HighestSeverity" failures & errors:
Just not sure how to include the "HighestSeverity" errors in the $message
Scott
Did the FedEx webservices problem yesterday crash your entire site? Or just the checkout_shipping page?
I was looking into the error... Keep in mind I'm not a coder... to see why my site crashed at checkout_shipping and didn't just give a error message.
There is code to handle errors here for zones and other things:
if ($this->tax_class > 0) {
$this->quotes['tax'] = tep_get_tax_rate($this->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']);
}
} else {
// $message = 'Error in processing transaction.<br /><br />';
$message = '<strong>Please enter a ZIP Code to obtain your shipping quote.</strong><br />Or possibly:<br />If no rate is shown, the heavy weight of the item(s) in your Shopping Cart suggests a <strong>Request for Freight Quote</strong>, rather than FedEx Ground service, is recommended.';
foreach ($response -> Notifications as $notification) {
if(is_array($response -> Notifications)) {
$message .= $notification->Severity;
$message .= ': ';
$message .= $notification->Message . '<br />';
} else {
$message .= $notification->Message . '<br />';
}
}
$this->quotes = array('module' => $this->title,
'error' => $message);
And also here for PO Boxes:
// po box hack by JD, improved by John W
if (preg_match('/^P\.?\s?O\.?\s+?BOX/i', $order->delivery['street_address']) || (preg_match('/^P\.?\s?O\.?\s+?BOX/i', $order->delivery['suburb']))) {
$this->quotes = array('module' => $this->title,
'error' => '<font size=+1 color=red><b>Federal Express cannot ship to Post Office Boxes.<b></font><br>Use the Change Address button above to use a FedEx accepted street address.'); }
// end po box hack by JD
But nothing here (earlier in the file) for "HighestSeverity" failures & errors:
if ($response->HighestSeverity != 'FAILURE' && $response->HighestSeverity != 'ERROR' && is_array($response->RateReplyDetails) || is_object($response->RateReplyDetails)) {
if (is_object($response->RateReplyDetails)) {
$response->RateReplyDetails = get_object_vars($response->RateReplyDetails);
}
Just not sure how to include the "HighestSeverity" errors in the $message
Scott
#511 ONLINE
Posted Today, 03:30 PM
Just looking more into this... The failure was here with the response from the fedex;
And was returned as a SoapFault....
Maybe we could hack up something like this to work?
Scott
$response = $client->getRates($request);
And was returned as a SoapFault....
Maybe we could hack up something like this to work?
if ($response->SoapFault != 'ERROR' && $response->HighestSeverity != 'FAILURE' && $response->HighestSeverity != 'ERROR' && is_array($response->RateReplyDetails) || is_object($response->RateReplyDetails)) {
if (is_object($response->RateReplyDetails)) {
$response->RateReplyDetails = get_object_vars($response->RateReplyDetails);
}
Scott
#512
Posted Today, 04:06 PM
@greasemonkey
Crashed my checkout_shipping and popup shipping. Just pages that grabbed quotes. Made it impossible to checkout. I'll play with your suggestions above. Hrmmmm, wondering how to simulate the failure for test...
Crashed my checkout_shipping and popup shipping. Just pages that grabbed quotes. Made it impossible to checkout. I'll play with your suggestions above. Hrmmmm, wondering how to simulate the failure for test...
-Dave
#513 ONLINE
Posted Today, 05:32 PM
Good question... What if you temporarily delete the wsdl file? Or maybe there's an easy way to disable soap... Although I'm not sure that would work.









