No I had not. It works now! Thank you!
Printable View
No I had not. It works now! Thank you!
That's a way that site owners/developers can program any overrides they want for the UPS handling by this shipping method. I do need to provide some additional documentation (on GitHub). Essentially, you'd use the /includes/modules/shipping/upsoauth/UpsOAuthApi.php as the parent class and provide any method-overrides needed there.
In most cases, the as-provided processing should be good enough!
v1.3.2 of the UPS RESTful/OAuth shipping module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374
This release contains the correction for GitHub issue #25 (PHP 8.3 error on initial install).
v1.3.3 of UPS RESTful is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374
This release contains changes associated with the following GitHub issues:
#26: Correct PHP Warning on shopping-cart page.
#27: Correct PHP Fatal error on installation for sites running on PHP 5.6.
Correct. Surepost/ground saver is not enabled by default. You need to contact your sales/account agent to enable it. I'm not sure if the API require the same thing or not.
We haven't used surepost yet since it is not a "UPS" only shipping method. There is a "chance" that it will be delivered by USPS instead of UPS, which is bad. It is not like Fedex ground economy, which is only shipped through Fedex, not USPS.
v1.3.4 of the shipping-module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374
This release contains changes associated with these GitHub issues:
#29: Correct 'casing' of getAllUPSQuotes method, changed to getAllUpsQuotes.
#30: Correct API-class override not overriding when changed.
Actually, I'm not sure if surepost is enabled in my account. We haven't signed anything from our UPS agent yet regarding surepost.
Regarding the log, I just tried it on my end. In the log file generated from UPS plug-in, I can only find the shipping methods enabled in the plug-in. For example, I'm only enabled UPS ground and UPS 3day in the plug-in. In the log file, I can only find titles as "UPS Ground" and "UPS 3 Day Select". No 2 day, no nextday air, no surepost...
The old UPS API had a way to look up tracking numbers based on the order ID that a shipper used:
$tracking = new Ups\Tracking($accessKey, $userId, $password);
$tracking->setShipperNumber($my_shipper_number);
$shipment = $tracking->trackByReference($order_id);
Have you seen anything like this in your travels with the new API? It seems like they expect you to have the tracking number.
(The use case is shipping packages using UPS Worldship and then wanting to pull the tracking numbers into Zen Cart.)