Results 1 to 10 of 336

Hybrid View

  1. #1
    Join Date
    May 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    I have the current zen cart version and May 14th USPS module,

    This is a USPS Domestic shipping problem:

    When an order is placed the customer is offered various USPS shipping methods to choose from, i.e. express, media, library...
    If you select media or library (haven't tried it with other options) and continue on it applies the express rate instead of the chosen one.

    I can't seem to find a post discussing this problem.

    Any thoughts

  2. #2
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    I've added other USPS methods and it doesn't matter which option is chosen by the customer, whatever option is TOP on the list presented is always the option applied in the payment screen.

    I haven't tried an International address yet.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  3. #3
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    92
    Plugin Contributions
    1

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    You are correct - I found the bug in domestic shipping - where the first option is always selected regardless of the selection on the previous page.

    I attached a bugfix version here.

    I didn't expect zencart to retrieve the quote twice.

    It seems that when the shipping selection page is loaded all quotes are retrieved.
    Once the customer makes a selection that shipping module is loaded again and asked to retrieve that specific selection again. I would understand retrieving quotes again if the address or order quantity changed. I don't understand why it's done in this scenario.

    It needlessly adds an extra few seconds to the load time.
    After displaying shipping quotes on the 'checkout_shipping' page:
    Customer -> ZenServer: submits selected shipping option
    ZenServer -> USPS-APIS: additional quote request to USPS
    USPS-APIS -> ZenServer: Quote Response
    ZenServer: Stores selected quote in customer session variable.
    ZenServer -> Customer: Send redirect header to "checkout_payment" page
    Customer -> ZenServer: Send request for "checkout_payment" page
    ZenServer -> Customer: Send "checkout_payment" page

    It's a little inefficient

    Really the shipping quotes could be stored server side in the session and cleaned up when they are no longer needed. If people are already going to the checkout they are worth more than a couple kb (max) of session storage when you can save a few seconds on a pages load time. Especially load times in a checkout process.
    Attached Files Attached Files

  4. #4
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    TNX

    That resolved the issue.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

 

 

Similar Threads

  1. Optional Shipping Insurance Module [Support Thread]
    By jettrue in forum Addon Shipping Modules
    Replies: 414
    Last Post: 20 Mar 2025, 01:39 PM
  2. Replies: 29
    Last Post: 24 Sep 2014, 09:59 PM
  3. v151 USPS Shipping RateV4-IntlRateV2
    By Christian_Wagner in forum Addon Shipping Modules
    Replies: 2
    Last Post: 17 May 2013, 04:43 PM
  4. v151 USPS Shipping Module Update - RateV4 - IntlRateV2
    By omegaman66 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 28 Oct 2012, 08:40 PM
  5. USPS RateV4, IntlRateV2 support and etc..
    By Marco B in forum Addon Shipping Modules
    Replies: 8
    Last Post: 30 May 2011, 10:55 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