Page 1 of 12 12311 ... LastLast
Results 1 to 10 of 120
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

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

    FWIW, I'm getting close to having a beta version of the UPS shipping module that makes use of the now-current RESTful API using OAuth authentication. Once the beta is published, I'll be asking for help in the validation of its interface as I don't have access to any non-US sites that make use of UPS shipping nor do I have access to a site that uses negotiated rates.

    The plugin's GitHub repository is https://github.com/lat9/upsoauth and instructions as to how to receive the OAuth Client ID and Client Secret can be found here: https://github.com/lat9/upsoauth/wik...-Client-Secret

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

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

    @lat9
    Thanks so much for all you do for the ZC family.
    I am reminded of a saying of my grandmother's
    You can't pour coffee from an empty pot.
    We are a vessel and, if we are not whole, we have a problem filling someone else's.
    Make sure you take the time needed for yourself.

  3. #3
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

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

    Hi @lat9,

    I'm so lucky to see this post today. Thanks for your contribution.

    I have followed your detailed guide to create my OAuth app. I'm more than happy to test this plug-in.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,695
    Plugin Contributions
    123

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

    I also have a customer who will want to use this as soon as it's ready. Thanks @lat9!
    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.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

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

    Let the games begin! I've just published (on GitHub) a pre-release v0.0.0: https://github.com/lat9/upsoauth/releases/tag/v0.0.0

    Follow the instructions in that GitHub repository's Wiki (see the first post for direct link) to retrieve your UPS OAuth credentials.

    I have not validated:
    - On Zen Cart versions prior to 1.5.8a. If you're validating on a previous Zen Cart version, please post here so that I'm aware of the versions on which it's been tested.
    - Negotiated Rates. I'm pretty sure (i.e. not sure) that there are different response fields that will come back with negotiated rates. If you have an an account with UPS that has negotiated rates, please let me know.
    - Non-US "Origins". I don't think that there will be issues, but wanted all to know.

    The majority of the documentation will remain online on the module's GitHub repository (https://github.com/lat9/upsoauth), but I'll be getting a minimal readme together for the v1.0.0 release.

    The pre-release module displays its name a United Parcel Service (OAuth), enabling you to have it enabled side-by-side with the current (and to-be-deprecated) UPS-XML version and distinguish the two module's outputs. The OAuth suffix will be removed for the v1.0.0 release.

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

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

    v0.0.1 (still beta/pre-release) now available on GitHub: https://github.com/lat9/upsoauth/releases/tag/v0.0.1

    This version now returns negotiated rates if so configured, corrects the number of parameters required to zen_get_zone_code for Zen Cart versions prior to 1.5.8 and removes use of the PHP null-coalesce operation since that operator wasn't available until PHP 7.0.

  7. #7
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

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

    Hi @lat9,

    I just tried v0.0.1 from Github, but I cannot make it work.

    Test #1: zc 1.5.7d & PHP 7.4

    After I entered my Client ID, Client Secret, UPS shipper number, I cannot get a shipping quote (no UPS section showing up). I tried to enable debug but no log files were generated. I tried both test mode and production mode, no difference.

    Test #2: zc 1.5.8 & PHP 8.0

    Same result. No quote, no debug files...

  8. #8
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

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

    Update: I spoken too early.

    In the "estimate shipping" section in the shopping cart, I cannot get a UPS quote. No UPS section is displayed.

    But if I tried to checkout, I can see the UPS quote there.

    Still no debug/log files generated, even I enable the debug option.

    zc 1.5.7d

  9. #9
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

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

    Quote Originally Posted by njcyx View Post
    Update: I spoken too early.

    In the "estimate shipping" section in the shopping cart, I cannot get a UPS quote. No UPS section is displayed.

    But if I tried to checkout, I can see the UPS quote there.

    Still no debug/log files generated, even I enable the debug option.

    zc 1.5.7d
    the debug option works.

    if you are not getting any quotes that suggests something is failing prior to the quote. in which case you should see a ZC debug log.

    if you are not seeing that log, i would talk to your hosting company. systems should generate error logs; if they do not then there is something wrong for the system config and you need to talk to your hosting company about being able to see them and track them down.

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

  10. #10
    Join Date
    Apr 2019
    Posts
    244
    Plugin Contributions
    0

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

    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.
    Last edited by njcyx; 16 Jun 2023 at 07:51 PM.

 

 
Page 1 of 12 12311 ... LastLast

Similar Threads

  1. v156 Authorize.net API with Card on File transactions support thread...
    By carlwhat in forum Addon Payment Modules
    Replies: 129
    Last Post: 4 Apr 2024, 03:54 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

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