Page 21 of 21 FirstFirst ... 11192021
Results 201 to 207 of 207
  1. #201
    Join Date
    Apr 2019
    Posts
    355
    Plugin Contributions
    0

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

    Quote Originally Posted by lat9 View Post
    Yep, that was previously reported. I've got a correction staged here for the 1.4.1 release: https://github.com/lat9/upsoauth/issues/56
    Thank you. It works perfectly.

  2. #202
    Join Date
    Apr 2019
    Posts
    355
    Plugin Contributions
    0

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

    UPSrest v1.4.0. zen cart 2.1.0

    Not sure if anyone reported it before. I can get a valid UPS quote in the checkout page (OPC). But I cannot get a shipping quote in "Estimated Shipping" in the shopping cart page. I have entered the state and zipcode. In the past / previous API, it could display a UPS rate. Now it only shows "UPS (image for) UPS No shipping is available to XXXXX XX United States, please re-enter."

  3. #203
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,965
    Plugin Contributions
    96

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

    Quote Originally Posted by njcyx View Post
    UPSrest v1.4.0. zen cart 2.1.0

    Not sure if anyone reported it before. I can get a valid UPS quote in the checkout page (OPC). But I cannot get a shipping quote in "Estimated Shipping" in the shopping cart page. I have entered the state and zipcode. In the past / previous API, it could display a UPS rate. Now it only shows "UPS (image for) UPS No shipping is available to XXXXX XX United States, please re-enter."
    The state/zipcode combination needs to be valid, i.e. you can't enter a Florida Zipcode for California. The details of why no shipping is available will be in a ups trace-log if the shipping module's debug is enabled.

  4. #204
    Join Date
    Apr 2019
    Posts
    355
    Plugin Contributions
    0

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

    Quote Originally Posted by lat9 View Post
    The state/zipcode combination needs to be valid, i.e. you can't enter a Florida Zipcode for California. The details of why no shipping is available will be in a ups trace-log if the shipping module's debug is enabled.
    I did some tests and I found out the result is very random. Under the "Estimated Shipping" tool, sometimes I can get a quote but sometimes I cannot. Yes, the state and zipcode I used are matched/valid.

    Assuming my store is located in TX 75201 (which I set in the plug-in, not sure if it is related). Here are some data points:

    For the following combinations, I can get a quote:
    WI 53105
    HI 96769
    GA 30303
    FL 32819
    MN 56181
    CA 92595

    For the following combinations, I cannot get a quote:
    VA 22630
    GA 30097
    FL 32128
    MN 55987
    CA 90275

    In the log file, if I cannot get a quote, here is the response
    Code:
        "response": {
            "errors": [
                {
                    "code": "111542",
                    "message": "Invalid Destination."
                }
            ]

  5. #205
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,965
    Plugin Contributions
    96

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

    I'm guessing (keyword) that the fail-to-quote on some of those state/zip combinations is that UPS now requires a City to further determine whether an address is valid to quote.

    I ran a test with a zipcode near me in Florida (34957) that spans a couple of counties (fun for sales tax). On the shipping estimator, I was met with the same message/UPS return code. When I signed in with a full-up address that included a city "Jensen Beach", quotes were supplied.

    I'm not sure at this time how to "deal with" that, other than possibly modifying the message to indicate that the customer might try signing in so that their full address is presented for the quote.

  6. #206
    Join Date
    Apr 2019
    Posts
    355
    Plugin Contributions
    0

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

    I just downgraded this plug-in back to v1.3.8 using the old API in my testing site. This issue was resolved. So it should be related to the API.

    Not sure if UPS will fix it in the nearly future.

    Yeah, this issue is not very critical, since I can get a valid quote during the checkout.

  7. #207
    Join Date
    Apr 2019
    Posts
    355
    Plugin Contributions
    0

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

    Update. I just modified UpsOAuthApi.php file to use the old API. The "Estimated Shipping" issue was resolved.

    Around line 26, change
    Code:
        const API_RATING = 'api/rating/v2409/Shoptimeintransit';    //- Gives *all* UPS shipping methods for a given From->To address.
        const API_RATING_SUBVERSION = '2409';
    to
    Code:
        const API_RATING = 'api/rating/v1/Shop';    //- Gives *all* UPS shipping methods for a given From->To address.
    //    const API_RATING_SUBVERSION = '2409';
    Around line 288, comment out this line.
    Code:
    'SubVersion' => self::API_RATING_SUBVERSION,
    The old API still works today, but not sure when it will be retired by UPS.

 

 
Page 21 of 21 FirstFirst ... 11192021

Similar Threads

  1. v156 Authorize.net API with Card on File transactions support thread...
    By carlwhat in forum Addon Payment Modules
    Replies: 198
    Last Post: 1 Jun 2026, 02:29 AM
  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

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