Page 8 of 12 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 113
  1. #71
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,491
    Plugin Contributions
    11

    Default Re: USPS Shipping (RESTful) (USPSr)

    Here's the list, but I don't see how any of them could mess with the shipping estimator.
    Attached Images Attached Images  

  2. #72
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Re: USPS Shipping (RESTful) (USPSr)

    Quote Originally Posted by dbltoe View Post
    Here's the list, but I don't see how any of them could mess with the shipping estimator.
    And can yu let me know what settings you have selected for the module? Just copy/paste the view from the Shipping Module screen. (The view before you use the edit button)

  3. #73
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,491
    Plugin Contributions
    11

    Default Re: USPS Shipping (RESTful) (USPSr)

    *************

    no good
    Last edited by dbltoe; 8 Mar 2025 at 11:43 PM.

  4. #74
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,491
    Plugin Contributions
    11

    Default Re: USPS Shipping (RESTful) (USPSr)

    That's a funky copy, but maybe it will help.

  5. #75
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Re: USPS Shipping (RESTful) (USPSr)

    Send me a screen cap of the configuration screen. I don't need the API Key and Secret. Just need to see how it is all configured.

  6. #76
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Double posting of estimated delivery date or delivery time.

    Quote Originally Posted by retched View Post
    I still have to look into an odd issue with the date of delivery and days count being plastered twice. (I cannot replicate this, but am looking out for it. If you encounter this, please tell me what options you used (shipping methods, etc.) right away so I can try to replicate it.)

    Okay an update here: a fix for this is available, but it's kind of hacky.


    In uspsr.php (if encapsulated, "\zc_plugins\USPSRestful\v1.1.2\catalog\includes\modules\shipping\". Unencapsulated "\includes\modules\shipping\")

    Around line 942, find this:

    PHP Code:
    $quote['title'] .= " [" MODULE_SHIPPING_USPSR_TEXT_ESTIMATED_DELIVERY " " $est_delivery "]"
    Replace the above with:

    PHP Code:
    if (strpos($quote['title'], MODULE_SHIPPING_USPSR_TEXT_ESTIMATED_DELIVERY) === FALSE$quote['title'] .= " [" MODULE_SHIPPING_USPSR_TEXT_ESTIMATED_DELIVERY " " $est_delivery "]"
    Around line 947, find this:

    PHP Code:
    $quote['title'] .= " [" MODULE_SHIPPING_USPSR_TEXT_ESTIMATED " " zen_uspsr_estimate_days($standard['serviceStandard']) .  "]"
    Replace the above with:

    PHP Code:
    if (strpos($quote['title'], MODULE_SHIPPING_USPSR_TEXT_ESTIMATED) === FALSE$quote['title'] .= " [" MODULE_SHIPPING_USPSR_TEXT_ESTIMATED " " zen_uspsr_estimate_days($standard['serviceStandard']) .  "]"

    ---

    In essence, the module will check to see if there is already a copy of the string "est. delivery" or "est." as necessary. If there is not, include it. If there is, skip and do not. For some reason, the module will run itself twice and doing so caused it to add the estimate delivery time twice as well. I'll do an investigation into the code to see what could potentially cause this. But for right now, this should do.

    This will be included in 1.1.3 to be released next month alongside any other fixes or improvements.

  7. #77
    Join Date
    Jul 2011
    Posts
    157
    Plugin Contributions
    4

    Default Re: Double posting of estimated delivery date or delivery time.

    Finally back from my travels so I can check this new module out, but I didn't get too far with it, and could use some help.
    I've downloaded ver 1.1.2 Non-Encapsulated from the git repository. Copies the files where it needs to be, but it doesn't seem to work with my setup.

    Once clicking on the "install" button in the admin page, it returned to the shipping module page with the module sort order/status as yellow, and no other dialogs.
    Clicking on another module, then clicking on USPSr again gives me an Edit button, doesn't it doesn't actually allow me to edit anything, as the column will remain blank.

    Top of the menu screen shows these errors:

    USPSr Error: No services selected for USPSr module.
    USPSr Error: You didn't enter an API Key and Secret. Please follow the instructions and log in to the developers dashboard to obtain your Consumer Secret and Consumer Key

    Nothing I can see in the logs in the zen-cart logs directory.
    This is my current configuration:
    ZC Version 1.55f
    PHP 7.1
    MariaDB 1.44
    original USPS module is installed.

    Aside from the DB , Im kinda stuck in this ZC and Php version due to a number of abandonware that is in used in my production shopping cart.
    Last edited by chibipaw; 14 Mar 2025 at 01:49 PM.

  8. #78
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Re: Double posting of estimated delivery date or delivery time.

    Quote Originally Posted by chibipaw View Post
    Finally back from my travels so I can check this new module out, but I didn't get too far with it, and could use some help.
    I've downloaded ver 1.1.2 Non-Encapsulated from the git repository. Copies the files where it needs to be, but it doesn't seem to work with my setup.

    Once clicking on the "install" button in the admin page, it returned to the shipping module page with the module sort order/status as yellow, and no other dialogs.
    Clicking on another module, then clicking on USPSr again gives me an Edit button, doesn't it doesn't actually allow me to edit anything, as the column will remain blank.

    Top of the menu screen shows these errors:

    USPSr Error: No services selected for USPSr module.
    USPSr Error: You didn't enter an API Key and Secret. Please follow the instructions and log in to the developers dashboard to obtain your Consumer Secret and Consumer Key

    Nothing I can see in the logs in the zen-cart logs directory.
    This is my current configuration:
    ZC Version 1.55f
    PHP 7.1
    MariaDB 1.44
    original USPS module is installed.

    Aside from the DB , Im kinda stuck in this ZC and Php version due to a number of abandonware that is in used in my production shopping cart.
    If you're getting a half resolved page like that, that means there was an error. Can you check your logs directory and see if one generated?

  9. #79
    Join Date
    Jul 2011
    Posts
    157
    Plugin Contributions
    4

    Default Re: Double posting of estimated delivery date or delivery time.

    Quote Originally Posted by retched View Post
    If you're getting a half resolved page like that, that means there was an error. Can you check your logs directory and see if one generated?
    I did, and I didn't see anything in there at all, thats the puzzling part.

  10. #80
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    683
    Plugin Contributions
    8

    Default Re: Double posting of estimated delivery date or delivery time.

    Quote Originally Posted by chibipaw View Post
    I did, and I didn't see anything in there at all, thats the puzzling part.
    I'm 90% sure I found those errors. Working on it now.

    Evidently some of the functions I used, weren't always used in ZC. Fix coming shortly.

 

 
Page 8 of 12 FirstFirst ... 678910 ... LastLast

Similar Threads

  1. PayPal RESTful API Payment Module
    By lat9 in forum PayPal RESTful support
    Replies: 282
    Last Post: 12 Jun 2025, 08:11 PM
  2. v158 UPS Shipping using RESTful/OAuth API [Support Thread]
    By lat9 in forum Addon Shipping Modules
    Replies: 159
    Last Post: 26 May 2025, 12:31 PM
  3. v155 USPS Shipping Module - We are unable to find a USPS shipping quote suitable....
    By jtovar in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 6 May 2019, 11:07 PM
  4. v155 V1.5.5D USPS Shipping module, I just noticed, no USPS retail Ground Displaying
    By WiccanWitch420 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 31 Mar 2018, 04:34 PM
  5. v139h Is the USPS shipping module required to ship with USPS?
    By yeahwhatever in forum Addon Shipping Modules
    Replies: 3
    Last Post: 14 Feb 2012, 12:58 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