Never mind the previous question--I just checked and we're already using that Shipstation interface. It does not provide Fedex shipping rate quotes.
Numinix updated this plug-in on Nov 29, 2022 (v1.9.0)! Now it supports zc 1.5.8 officially.
https://www.numinix.com/zen-cart-plu...vices-shipping
Changelog:
Code:Version notes - Updating rates. - Supporting ZC v1.5.8 Added ZC1.5.8/includes/languages/english/modules/shipping/lang.fedexwebservices.php ZC1.5.8/includes/library/fedex-common.php5 ZC1.5.8/includes/modules/shipping/fedexwebservices.php ZC1.5.8/includes/modules/shipping/fedexwebservices/wsdl/AddressValidationService_v4.wsdl ZC1.5.8/includes/modules/shipping/fedexwebservices/wsdl/RateService_v31.wsdl docs/fedex_web_services_shipping/images/american-express.png docs/fedex_web_services_shipping/images/discover.png docs/fedex_web_services_shipping/images/maestro.png docs/fedex_web_services_shipping/images/numinix-emblem.png docs/fedex_web_services_shipping/images/paypal.png docs/fedex_web_services_shipping/images/visa.png includes/modules/shipping/fedexwebservices/wsdl/RateService_v31.wsdl Modified docs/fedex_web_services_shipping/css/sh_style.css docs/fedex_web_services_shipping/css/stylesheet.css docs/fedex_web_services_shipping/readme.html includes/languages/english/modules/shipping/fedexwebservices.php includes/modules/shipping/fedexwebservices.php Removed includes/modules/shipping/fedexwebservices/wsdl/RateService_v20.wsdl
Last edited by njcyx; 1 Dec 2022 at 09:27 PM.
I just tried v1.9.0 on my 1.57d test site (php7.4), it seems working fine but Fedex priority international doesn't display any more. I tried several quote to Canada, in previous v1.8.1, fedex priority can be display properly. But in v1.9.0, it is gone.
Setting "Enable International Priority" is confirmed to be true.
Anyone has the same issue?
I did some tests and I narrowed down the issue from the new pricing file RateService_v31.wsdl. FedEx could change something in this pricing file...
If you do want to use 1.9.0, one walk around solution is to use the previous v20 pricing file instead. Here are the steps:
1. Put the previous pricing file back /includes/modules/shipping/fedexwebservices/wsdl/RateService_v20.wsdl
2. Edit \includes\modules\shipping\fedexwebservices.php
1) Find
$path_to_wsdl = DIR_WS_MODULES . 'shipping/fedexwebservices/wsdl/RateService_v31.wsdl';
Change it to
$path_to_wsdl = DIR_WS_MODULES . 'shipping/fedexwebservices/wsdl/RateService_v20.wsdl';
And 2) Find
$request['TransactionDetail'] = array('CustomerTransactionId' => ' *** Rate Request using PHP ***');
$request['Version'] = array('ServiceId' => 'crs', 'Major' => '31', 'Intermediate' => '0', 'Minor' => '0');
Change them to
$request['TransactionDetail'] = array('CustomerTransactionId' => ' *** Rate Request v20 using PHP ***');
$request['Version'] = array('ServiceId' => 'crs', 'Major' => '20', 'Intermediate' => '0', 'Minor' => '0');
Other code remains unchanged. I just tried it on my end and it worked...
I keep receiving the following intermittent warning from Fedex plug-in, v1.8.1
Request URI: /index.php?main_page=checkout_one,
#1 fedexwebservices->do_request() called at [/public_html/includes/modules/shipping/fedexwebservices.php:514]
#2 fedexwebservices->quote() called at [/public_html/includes/classes/shipping.php:174]
#3 shipping->quote() called at [/public_html/includes/modules/pages/checkout_one/header_php.php:222]
#4 require(/public_html/includes/modules/pages/checkout_one/header_php.php) called at [/public_html/index.php:35]
--> PHP Warning: Invalid argument supplied for foreach() in /public_html/includes/modules/shipping/fedexwebservices.php on line 767.
The code near line 767 is the following:
// check if it's saturday delivery
$saturday = false;
if (MODULE_SHIPPING_FEDEX_WEB_SERVICES_SATURDAY == 'true') {
foreach($rateReply->RatedShipmentDetails as $ShipmentRateDetail) {
foreach($ShipmentRateDetail->ShipmentRateDetail->Surcharges as $surcharge) {
if ($surcharge->SurchargeType == 'SATURDAY_DELIVERY') $saturday = true;
}
}
}
https://github.com/njcyx/fedexwebservices.git
I just updated my FedEx mod. It is based on Numinix v1.9.0 with some changes:
1. Resolve a variety of warning/error caused by php 8.0 or higher. I just got a chance to try and unfortunately, the files from Numinix v1.9.0 still caused me some warning due to php 8.0. So I made several changes to resolve them.
2. (Temp solution) Resolve the bug which will not display FedEx intl priority. My mod uses RateService_v20.wsdl instead of RateService_v31.wsdl (as I mentioned in the previous posts)
3. Resolve occasional warning, Invalid argument supplied for foreach() (as I mentioned in the previous posts)
At least right now, Fedex seems not to be giving out production keys (Meter numbers). They want people to convert to their RESTful API.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
This was a brief blip, they are giving out meter numbers again.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Bookmarks