@swguy thanks for doing that.
@cloud9 @njcyx Were you able to figure out the international shipping errors? I am experiencing the same thing.
Store details:
Version = 1.5.8a (new install from scratch)
PHP = 8.0.30
Fedex Rest API 1.0
Fedex Rest API settings
Shipping from address is located in - Canada.
Ship From address is residential - False
Ship To address is residential - True
Pickup type - 3
Enable Express Saver - False
Enable Standard Overnight - False
Enable First Overnight - True
Enable Priority Overnight - False
Enable 2 Day - True
Enable International Priority - False
Enable International Economy - True
Enable Ground - True
Enable Saturday Delivery - False
International Ground Handling Fee - Doesn't matter
International Express Handling Fee - Doesn't matter
No tax class
Signature Option -1
Insurance -1
FedEx Rates - Account
Show Estimated Transit Time - True
Shipping zone - None
Sort Order - 0
I am running into the same problem. I'm located in Canada, the Fedex REST API is able to give shipping costs for addresses I use within Canada. However, no international shipping quotes are able to be given including to the US and/or Australia. I believe the reason is listed below.
Code:
2023-10-01 23:39:18: Rate Response: Array
(
[transactionId] => //redacted//
[errors] => Array
(
[0] => Array
(
code => RATE.CUSTOMCLEARANCEDETAIL.INVALID
[message] => Customs clearance detail cannot be null.
)
)
)
The logs state this.
Code:
// I removed the full paths for security. //
[01-Oct-2023 23:34:09 UTC] Request URI: /index.php?cmd=modules&set=shipping&module=fedexrest&action=edit, IP address: XXX.XXX.XXX.XXXX, Language id 1
#1 fedexrest->setTypes() called at /includes/modules/shipping/fedexrest.php:142]
#2 fedexrest->__construct() called at /modules.php:187]
#3 require(/modules.php) called at [/index.php:11]
--> PHP Warning: Trying to access array offset on value of type null in /includes/modules/shipping/fedexrest.php on line 188.
The error line in log above does seem to jump around for the line item, not sure why but that's what the logs states.
I believe there is either some fields missing from the fedex Rest API 1.0 shipping module to handle required international customs fields that is in the API. That is why it's giving the error about custom clearance detail = null. I'm assuming because the fedex rest api shipping module isn't passing that through it's being flagged.
I may be wrong, but is there any way to test this and if so, update the fedex rest api shipping module? I'm really hoping to use fedex to ship the store's packages. Thanks.
Bookmarks