LaughingHorse Posted June 9, 2015 Author Share Posted June 9, 2015 The USPS is really screwed up anyway Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 9, 2015 Share Posted June 9, 2015 Standard Post (formerly Parcel Post) is limited to Zones 5-8. Shipping to Zones 1-4 is limited to certain things and must be declared in the rate request.I recently worked with a store owner who shipped model rocket engines. The rate request had to say "surface-only" or USPS would not include Standard Post for Zone 4 or closer.Weird that you got something - unless the destination zip code changed as well as the weight. Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted June 9, 2015 Author Share Posted June 9, 2015 I ticked "Parcel Post"andFirst Class - ParcelSome of our items are required to be shipped by ground (aerosol cans).I did do a further test and added two of the same item bringing the basket weight to: 1.120LbAt that point, all that was available through USPS was Priority and Priority ExpressPriority is showing @ 8.05 lowest UPS is showing at 14.12 but UPS is still showing up on top.I'm also still not getting any FedEx showing up as a shipping option Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 9, 2015 Share Posted June 9, 2015 I think the shipper names are sorted alphabetically: Fedex, UPS, then USPS. That's why UPS is on top.I didn't say the rates were sorted least to most expensive, I said the least expensive is pre-selected in the drop-down.I have no answer to why Fedex is not listed. And you have not said whether there is any log entries in the admin System Log, System Error Log table that references Fedex. Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted June 9, 2015 Author Share Posted June 9, 2015 For the Fedex Module I have real info in:Account NumberAccount NumberAccount PasswordAccount KeyMeter NumberPackaging WeightI have enabled:2 DayFirst OvernightGround Home DeliveryPriority OvernightStandard OvernightBut none of those options show up Where do I find: System Log and the System Error Log tableUnder the section"Advanced" my options are: Maintenance Request Log Staff Access Log Error Log PHP Info Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 9, 2015 Share Posted June 9, 2015 Ah! The "Error Log", then the "System Error Log" tab. Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted June 9, 2015 Author Share Posted June 9, 2015 I did not clear it, but it is showing blank Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 9, 2015 Share Posted June 9, 2015 Interesting.Is there anything in the admin Error Log related to the Fedex shipping module? Maybe something about a SOAP client?Two final things to check:1. In the Fedex settings page, make sure there is nothing in the Allowed Zones and Disabled Zones tabs.2. (I know it's stupid, but) If the Fedex module is enabled, disable it, then re-enable it.If the request is actually going out (and if you have absolute control over your server, you can install a network card traffic monitor and see if traffic is leaving and arriving for and from fedex), we may need to place some additional diagnostic code to catch the SOAP request and reply from Fedex. Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted June 10, 2015 Author Share Posted June 10, 2015 I just deleted the Fedex module and reinstalled it. It still is not showing up.I will try a couple of other ideas and then let you know. I want to verify something with Fedex tomorrow Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 10, 2015 Share Posted June 10, 2015 A module's settings, including the enabled/disabled status, is stored in the database.Deleting a module's folder and re-installing it does nothing to affect the data in the database. Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted June 10, 2015 Author Share Posted June 10, 2015 I disabled FedEx, saved that choice, and then re Enabled it, but FedEx still did not show up. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 10, 2015 Share Posted June 10, 2015 I will still assume that the Fedex module is enabled and an attempt to get a response from Fedex is actually happening.First, some background. Many versions ago of the stock (included in CC5) Fedex module, CubeCart would issue a trigger_error() statement when something went wrong., However, that statement also included the error level - E_USER_WARNING. This may have changed briefly to E_USER_ERROR. However, the downloadable module available for CC6 does not specify the error level. The default error level of PHP's trigger_error() function is E_USER_NOTICE.In the file /classes/debug.class.php, the errorLogger() function looks for the error level name. In some cases, the error is not to be logged.E_USER_NOTICE: No logE_USER_WARNING: No logE_USER_ERROR: Yes logSo, we have a programming situation where we need to have Fedex errors logged, but the logging of the unspecified error level (thus, default E_USER_NOTICE) does not happen.Let's make an edit to the Debug class so that any and all errors get logged. We can change it back if necessary. Near line 438:Find: if ($log) { $this->_writeErrorLog($error); } Change to: if (true || $log) { $this->_writeErrorLog($error); } Now let's see if there is a reference to Fedex in the System Error log. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 10, 2015 Share Posted June 10, 2015 (edited) Ok, found what we were looking for.You can undo the edit made to the debug file. And you can delete all that error logging in your posts above. No one needs to see that.[Notice] .../cube/modules/shipping/FedEx/shipping.class.php:221 - FedEx Error: Authentication FailedFor some reason, Fedex does not like your user, pass, meter_number, or whatever else.Please review the credentials you may have received in an email from Fedex, and/or contact Fedex about what you should be using. Edited June 10, 2015 by Dirty Butter I deleted all the error logging Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted June 10, 2015 Author Share Posted June 10, 2015 Thank You! I'll be contacting Fedex about this. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted June 11, 2015 Share Posted June 11, 2015 (edited) Quote from bsmither on page 1:Also, we may want to think about having CubeCart remove the 2-Day and 1-Day phrases. This is an estimate only provided by USPS on how many days USPS will have the package in transit. There are clueless customers out there who will think that you, the store owner, are promising one or two day delivery from the date the order is placed. This is referencing CC Version 6.05. References may vary.To remove the USPS delivery time, you need to edit the following file:/modules/shipping/USPS/shipping.class.phpSearch near line 144 for:$response = $request->send();Add after:// START Delivery Time Removal $response = str_replace("1-Day", '', $response); $response = str_replace("2-Days", '', $response); $response = str_replace("3-Days", '', $response); $response = str_replace("4-Days", '', $response); $response = str_replace("5-Days", '', $response); $response = str_replace("6-Days", '', $response); $response = str_replace("7-Days", '', $response); // END Delivery Time Removal Before:if ($response) { Edited June 11, 2015 by [email protected] Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted June 11, 2015 Author Share Posted June 11, 2015 Honestly, I think if the word "Estimated" is added before the time there is no problem. That is what the USPS says on their website.Perhaps something in Languages to change nomenclature? And be able to add the word "Estimated"? Quote Link to comment Share on other sites More sharing options...
[email protected] Posted June 11, 2015 Share Posted June 11, 2015 (edited) Honestly, I think if the word "Estimated" is added before the time there is no problem. That is what the USPS says on their website.Perhaps something in Languages to change nomenclature? And be able to add the word "Estimated"?There is nothing in the language files to edit since the $response variable is pulled from USPS. Therefore, you would need to change the code mentioned above to:// START Delivery Time Textual Change $response = str_replace("1-Day", 'Estimated 1-Day', $response); $response = str_replace("2-Days", 'Estimated 2-Days', $response); $response = str_replace("3-Days", 'Estimated 3-Days', $response); $response = str_replace("4-Days", 'Estimated 4-Days', $response); $response = str_replace("5-Days", 'Estimated 5-Days', $response); $response = str_replace("6-Days", 'Estimated 6-Days', $response); $response = str_replace("7-Days", 'Estimated 7-Days', $response); // END Delivery Time Textual ChangeChange the wording to whatever you want it to be. Edited June 11, 2015 by [email protected] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.