Page 2 of 13 FirstFirst 123412 ... LastLast
Results 11 to 20 of 123
  1. #11
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Quote Originally Posted by njcyx View Post
    Hi @carlwhat

    Sorry, I spoken too early again.

    I only used "Display Log Files" function in zc admin page to view the log files, and I cannot find it there. After I used FTP to view the /logs folder, I can find the UPS log files there. Format is upsoauth-2023xxxx.log.

    Can you get a UPS shipping quote in the "estimate shipping" page in the shopping cart?

    Hi @lat9,

    -Here is my input regarding the negotiated rates. Our UPS account has a negotiated rates. I tried all your provided Customer Classification Code options, here is what I found:

    For 00, 05 and 06, they display the same rate (negotiated rate). But for 01, 04 and 53, I have three different rates. Here is the compare result:

    00<53<04<01

    Not sure why there are four different rates under my UPS account.

    - I have one more input for the pickup method. Here are five options available in this plug-in:

    Daily Pickup, Customer Counter, One Time Pickup, On Call Air Pickup, Letter Center and Air Service Center

    Daily Pickup, Customer Counter, One Time Pickup: no rate changes.

    On Call Air Pickup: $13 is added on every tiers.

    Letter Center and Air Service Center: Ground and 3 day select options were gone. No price difference.
    For the "Display Log Files" to display these logs, you'll need to add the upsoauth- prefix to Configuration :: Logging :: Display Logs: Included File Prefixes.

    I can't speak to the vagaries of the different UPS rates based on the Customer Classification Code, but I've found the 04 (Retail) rates return the same as those published on the ups.com "Quote" tool. You just need to choose the classification code that 'works' for what you want to charge your customers.

    I, too, saw that On Call Air Pickup adds $13 for each order. If that's the means that your store uses to get the packages in UPS' hands, then that's what they charge.

    Ditto on the Package Types; I'll surmise that certain package types aren't supported for some of the UPS shipping methods.

    P.S. For negotiated rates, be sure to use 0.0.1 or later.

  2. #12
    Join Date
    Apr 2019
    Posts
    245
    Plugin Contributions
    0

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Hi @lat9,

    Thanks for your information.

    I have one more question. Is it normal that UPS quote is not showing under the estimate shipping section in the shopping cart?

  3. #13
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,694
    Plugin Contributions
    9

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Quote Originally Posted by njcyx View Post
    Hi @lat9,

    Thanks for your information.

    I have one more question. Is it normal that UPS quote is not showing under the estimate shipping section in the shopping cart?
    that is not normal...

    there should be a log as to why it is not showing up.

    on 1 of my test sites running the bootstrap template, it shows up just fine...

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #14
    Join Date
    Apr 2019
    Posts
    245
    Plugin Contributions
    0

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Hi @carlwhat,

    Thanks! I took a look at the log file and now I know the reason why it doesn't show up on my end now.

    #1: In the estimate shipping quote page, if I only entered the zip code, but not choose any US states (Please Select), I can get the USPS and FedEx shipping quote.

    #2: If I entered the zip code and choose a proper US state, I can get USPS, UPS and FedEx quote.

    #3: If I entered the zip code but choose a wrong US state, I can get USPS and FedEx quote.

    In other word, I need to select the correct state in the estimate shipping quote page, otherwise there will be no UPS quote.

  5. #15
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,703
    Plugin Contributions
    123

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    You really have to enter all three for the system to work properly. You can get lucky by entering partial data, but the system expects all three.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  6. #16
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Quote Originally Posted by njcyx View Post
    Hi @lat9,

    Thanks for your information.

    I have one more question. Is it normal that UPS quote is not showing under the estimate shipping section in the shopping cart?
    For this UPS shipping module, no UPS quote will be shown if no such quote is returned. That can happen if your configuration settings (like the origin elements) or the state/zipcode aren't recognized by UPS.

    Note, too, that if you're requesting Negotiated-rate quotes from UPS that UPS expects country, state and zip to be entered. If you're in a state (like Florida) that allows one zip-code to cross multiple counties (!), you might need to enter the city as well to get a quote returned.

  7. #17
    Join Date
    Apr 2019
    Posts
    245
    Plugin Contributions
    0

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Hi @swguy and @lat9, thanks for your information.

  8. #18
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    The first (v1.0.0) 'official' release of the UPS RESTful/OAuth shipping module is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2374

  9. #19
    Join Date
    Apr 2019
    Posts
    245
    Plugin Contributions
    0

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    I received a warning today. Plug-in version v1.0.0. Zc 1.5.7d. PHP 7.4

    [26-Jun-2023 14:39:21 America/New_York] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShipping
    #1 upsoauth->getConfiguredUpsQuotes() called at [/includes/modules/shipping/upsoauth.php:383]
    #2 upsoauth->quote() called at [/includes/classes/shipping.php:174]
    #3 shipping->quote() called at [/includes/classes/ajax/zcAjaxOnePageCheckout.php:163]
    #4 zcAjaxOnePageCheckout->updateShipping() called at [/ajax.php:85]
    --> PHP Warning: Invalid argument supplied for foreach() in /includes/modules/shipping/upsoauth.php on line 642.

    Line 642 is the following:

    foreach ($all_ups_quotes->RateResponse->RatedShipment as $next_shipment) {

    I added one line above this section and it seems working fine:

    if (is_iterable($all_ups_quotes->RateResponse->RatedShipment)) {
    foreach ($all_ups_quotes->RateResponse->RatedShipment as $next_shipment) {
    ...
    }
    }

  10. #20
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: UPS Shipping using RESTful/OAuth API [Support Thread]

    Quote Originally Posted by njcyx View Post
    I received a warning today. Plug-in version v1.0.0. Zc 1.5.7d. PHP 7.4

    [26-Jun-2023 14:39:21 America/New_York] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShipping
    #1 upsoauth->getConfiguredUpsQuotes() called at [/includes/modules/shipping/upsoauth.php:383]
    #2 upsoauth->quote() called at [/includes/classes/shipping.php:174]
    #3 shipping->quote() called at [/includes/classes/ajax/zcAjaxOnePageCheckout.php:163]
    #4 zcAjaxOnePageCheckout->updateShipping() called at [/ajax.php:85]
    --> PHP Warning: Invalid argument supplied for foreach() in /includes/modules/shipping/upsoauth.php on line 642.

    Line 642 is the following:

    foreach ($all_ups_quotes->RateResponse->RatedShipment as $next_shipment) {

    I added one line above this section and it seems working fine:

    if (is_iterable($all_ups_quotes->RateResponse->RatedShipment)) {
    foreach ($all_ups_quotes->RateResponse->RatedShipment as $next_shipment) {
    ...
    }
    }
    I've created a tracking issue on the shipping module's GitHub repository (https://github.com/lat9/upsoauth/issues/7). Any chance that you've got a upsoauth*.log file from that errant transaction?

 

 
Page 2 of 13 FirstFirst 123412 ... LastLast

Similar Threads

  1. v156 Authorize.net API with Card on File transactions support thread...
    By carlwhat in forum Addon Payment Modules
    Replies: 130
    Last Post: 24 Apr 2024, 03:51 PM
  2. v155 UPS XML: Support Thread
    By lat9 in forum Addon Shipping Modules
    Replies: 245
    Last Post: 24 Nov 2023, 10:07 PM
  3. eWAY Payment Gateway - Rapid 3.0 API [Support Thread]
    By maclean_cherry in forum Addon Payment Modules
    Replies: 40
    Last Post: 27 Nov 2020, 06:53 AM
  4. v156 Authorize.net API with Card on File transactions support thread...
    By carlwhat in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 27 Apr 2020, 08:46 PM
  5. v151 Ty UPS WorldShip Support Thread
    By colosports in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Jun 2014, 12:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR