Re: FedEx Shipping using REST API
Another update from FedEx
Due to potential impacts from a global IT outage experienced by a third-party software vendor, FedEx has postponed the planned Test and Production Environments outages scheduled for Saturday, July 20 at 9 PM CT and for Saturday, July 27 at 8 PM CT.
We will be in touch as soon as new dates are scheduled. Thank you for your understanding.
Re: FedEx Shipping using REST API
I don't think this is the best place to post the FedEx schedule. Let's save this for issues with the software. Thanks.
Re: FedEx Shipping using REST API
Contractors who install FedEx for their customers please note:
In order to get a production API key, you require a Shipping Account to be associated with your developer account.
The creation of a shipping account must be done by an employee (not a contractor) of the firm that is doing the shipping.
To make this a bit more clear, I updated the documentation to put the shipping account creation up front. Get your client to do this, then you can do the rest.
Re: FedEx Shipping using REST API
Temporary fix for zc210 requirements (you can use this until author officially releases an update to get your plugin working)
the following file needs to be created as \includes\languages\english\modules\shipping\lang.fedexrest.php
Code:
<?php// Language file for FedEx REST API
$define = [
'MODULE_SHIPPING_FEDEX_REST_TEXT_TITLE' => 'FedEx',
'MODULE_SHIPPING_FEDEX_REST_TEXT_DESCRIPTION' => '<h2>FedEx REST API</h2><p>You will need to have registered an account with FedEx to use this module. Please see the README.md file.</p>',
// For locales other than en_US please see
// https://developer.fedex.com/api/en-mx/guides/api-reference.html#locales
'MODULE_SHIPPING_FEDEX_REST_TEXT_LOCALE' => 'en_US',
// Email if bad credentials
'MODULE_SHIPPING_FEDEXREST_EMAIL_SUBJECT' => 'The fedexrest shipping method has been automatically disabled',
'MODULE_SHIPPING_FEDEXREST_INVALID_CREDENTIALS' => 'The API Key/Secret Key combination you set were not recognized by FedEx, and so the fedexrest shipping module has been automatically disabled. Please work with your FedEx Account Rep to get working credentials.',
'MODULE_SHIPPING_FEDEXREST_SATURDAY' => ' (Saturday)',
];
return $define;
Re: FedEx Shipping using REST API
Actually, the requirement for a lang.{whatever}.php file for shipping/payment/order-total modules for zc210 is no longer active; the {whatever}.php language-file will now work just find.
It's always good to keep code up with the base, though!
Re: FedEx Shipping using REST API
Thanks for keeping a sharp eye on the release notes, @Bubbadood! The documentation has been updated to clarify this requirement, which now only applies to encapsulated plugins for modules.
Re: FedEx Shipping using REST API
Hi there Scott!
I'm starting to work with your new FedEx for REST shipping module primarily for international shipments. One issue that I'm running into is how you handle maximum weight. (under configuration > shipping/packaging)
It works as I'd expect for domestic shipping - if you exceed the maximum weight, start another box. But for international, the FedEx module is no longer an option once you exceed the maximum weight.
Also, do you honor the tare weight and "larger packages" settings? (also under configuration > shipping/packaging). How does Zen Cart determine if a package is "larger?"
Thanks for this and all your contributions to the community.
Re: FedEx Shipping using REST API
> It works as I'd expect for domestic shipping - if you exceed the maximum weight, start another box. But for international, the FedEx module is no longer an option once you exceed the maximum weight.
The FedEx module doesn't do anything with this, but FedEx itself might reject packages over a certain weight to certain destinations; you'd need to review the documentation to see what the restrictions are.
> Also, do you honor the tare weight and "larger packages" settings? (also under configuration > shipping/packaging).
These things are handled by the Zen Cart infrastructure.
> How does Zen Cart determine if a package is "larger?"
https://docs.zen-cart.com/user/shipp..._calculations/
Re: FedEx Shipping using REST API
A couple of people have reported that today, FedEx returned a bad code that caused the module to be disabled. I removed this logic for now until I have time to investigate further.
Re: FedEx Shipping using REST API
Quote:
Originally Posted by
swguy
A couple of people have reported that today, FedEx returned a bad code that caused the module to be disabled. I removed this logic for now until I have time to investigate further.
I hate to ask this, but was this fixed? I still have a disabled FedEX module even though I've entered new API credentials for both. The only thing I have is an API log that shows no response from FedEX.