Go to previous topic
Go to next topic
Last Post 6/2/2020 1:35 PM by  Will Strohl
UPS shipping off!
 15 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Author Messages





New Member






--
8/6/2018 12:07 PM
    Our UPS shipping rates (actual vs estimate) are off.

    Ground is low. 2nd day is WAY high.

    Normally, I'd get the XML that's sent to UPS and troubleshoot with them. I've turned on diagnostics mode, but it doesn't share the XML data.

    1. How can I get the raw XML sent to UPS.

    2.Does Hotcakes send the account number in the XML to UPS? I know that was an issue that NopCommerce had.

    Thanks!
    Jason





    Veteran Member






    --
    8/13/2018 1:41 PM
    The UPS account number is definitely used and sent as part of the API/integration request. Perhaps the store address and shipping address aren't the same? The store address is used as the "ship from" address by default.

    https://hotcakescommerce....ings-Store-s-Address

    If you want the store address and shipping origin address to be different, I'd suggest adding your warehouse/fulfillment center as a vendor and update your products to use that setting. You'd effectively be your own drop-shipper (ship mode).

    https://hotcakescommerce....es/210265263-Vendors

    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    New Member






    --
    8/13/2018 4:24 PM
    Thanks, Will. The address is correct in the Store Address. No need for different addresses.

    For us to troubleshoot, we need to get/send the XML that HotCakes sends to UPS. How can I get that? I didn't see it in the logs.


    [quote=Will Strohl;951]The UPS account number is definitely used and sent as part of the API/integration request. Perhaps the store address and shipping address aren't the same? The store address is used as the "ship from" address by default.

    https://hotcakescommerce....ings-Store-s-Address

    If you want the store address and shipping origin address to be different, I'd suggest adding your warehouse/fulfillment center as a vendor and update your products to use that setting. You'd effectively be your own drop-shipper (ship mode).

    https://hotcakescommerce....es/210265263-Vendors

    [/quote]






    Veteran Member






    --
    8/16/2018 1:52 PM
    Hello Jason:

    [b]Diagnostics Mode[/b]
    [i]If you are having issues with your shipping rates and need to troubleshoot them for any reason, check this setting. You shouldn't leave this checked for long term on any site. When checked, the Event Viewer in the Admin menu will be populated with information sent to and returned from UPS. This could easily fill up your event log over time, which could end up slowing down your website.[/i]

    That's an excerpt from the documentation. Do you have diagnostics mode enabled? If you do, are you not seeing the response in the Event Viewer? What about the Log4Net log files?

    https://hotcakescommerce....-Shipping-Method-UPS

    Also, it may be worth double-checking the client's rate and rate code.
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    New Member






    --
    8/16/2018 3:12 PM
    I sent the diagnostics info I got from the Admin log, but UPS states it needs the original XML that was pushed to them.

    #sigh#

    Here's what the diagnostics say. The last message is a bit concerning, if not cryptic.
    I am passing the account # and it is registered.

    Thoughts?


    Service Id: XXXX
    Display Name: UPS Ground Service
    Codes:03 Estimated Cost:10.45 ||

    Service Id: XXXX
    Display Name: UPS Second Day Air
    Service Codes:02
    Estimated Cost:22.74 ||

    End of Rates ||
    If this is all that you see, then you're not yet registered with UPS, there were no rates returned from UPS, the address was missing/invalid, or none of the returned rates match the shipping details of the line items in your order.





    Veteran Member






    --
    8/18/2018 12:57 PM
    You aren't able to see the raw XML request and response in diagnostics mode. You're only able to see the parsed version of it at this time. I've added an issue in GitHub to change this in the future.

    https://github.com/Hotcak...erce/core/issues/154

    In the meantime, you can still do this by setting up a local instance of Hotcakes (if you haven't already done so), and debugging it. Set a breakpoint at the respective lines of code to see the raw request and response.

    Request: https://github.com/Hotcak...s/UPSService.cs#L210

    Response: https://github.com/Hotcak...s/UPSService.cs#L219
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    New Member






    --
    8/20/2018 3:28 PM
    Thanks, Will. That gave me what I needed to write the XML to the Event log.

    Jason





    New Member






    --
    8/31/2018 11:46 AM
    When I compared the XML with what UPS was expecting for negotiated rates*, there were elements missing (in red below).

    Also, with this request, HotCakes needs to use the NegotiatedRates in the response. Is that happening?






    Bare Bones Rate Request
    1.0001

    Rate
    Shop


    06


    [b]01[/b] WAS SET TO 4



    <Address>
    [b] TX[/b]
    76107
    US
    </Address>
    [b] XXX[/b]


    <Address>
    [b]
    TX
    [/b] 77093
    US
    </Address>


    <Address>
    [b] TX[/b]
    76107
    US
    </Address>


    03



    02


    5
    5
    6


    3


    [b]

    [/b]







    Veteran Member






    --
    8/31/2018 4:36 PM
    Our testing hasn't revealed anything missing in the past. I'm wondering if the requirements have updated on UPS's end and we haven't found out about it yet... This is especially interesting since most stores use UPS.

    Could you please provide more details about each of the items you see missing?
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    New Member






    --
    9/4/2018 11:55 AM
    The items in bold above are missing, but needed.

    The ShipTo StateProvinceCode is from the customer Shipping address
    The ShipFrom StateProvinceCode is from the store's Shipping address


    [quote=Will Strohl;990]Our testing hasn't revealed anything missing in the past. I'm wondering if the requirements have updated on UPS's end and we haven't found out about it yet... This is especially interesting since most stores use UPS.

    Could you please provide more details about each of the items you see missing?[/quote]






    Veteran Member






    --
    9/18/2018 1:30 PM
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    New Member






    --
    9/18/2018 1:36 PM
    Thanks for adding it to the issues list.

    Jason

    [quote=Will Strohl;1010]https://github.com/Hotcak.../158[/quote]






    Veteran Member






    --
    9/18/2018 1:42 PM
    It's also slated for us to hopefully include in the next release. :)
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    Veteran Member






    --
    9/25/2018 2:24 PM
    This has been resolved in the latest release:

    https://upendoventures.co...pport-driven-updates
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    New Member






    --
    10/1/2018 10:10 AM
    Thanks, Will!

    [quote=Will Strohl;1029]This has been resolved in the latest release:

    https://upendoventures.co...ates[/quote]






    Veteran Member






    --
    6/2/2020 1:35 PM
    We just finished cooking up a fresh batch of Hotcakes for you. Enjoy! ;)

    https://dnncommunity.org/...ks-a-Major-Milestone
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes


    ---