Forums / Addon Shipping Modules / USPS module suddenly not giving quotes?

USPS module suddenly not giving quotes?

Views: 7,200

Results 41 to 46 of 46
13 Feb 2014, 9:39 PM
#41
hunteryz avatar

hunteryz

Inactive

Join Date:
Oct 2013
Location:
120 Wilshire Blvd,Brentwood,NY,11717
Posts:
94
Plugin Contributions:
0

USPS module suddenly not giving quotes?

bislewl:

You need to apply the TimeZone Patch.

Here is the time zone patch, all set up.
https://github.com/numinix/TimeZone_Patch

Thank you, the problem resolved.

No one is Perfect, But Zen Cart is the Best!
https://yzenith.com

13 Feb 2014, 10:16 PM
#42
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS module suddenly not giving quotes?

Now that this is working, you should delete the logs in /cache as you should not find any more there. If you do, then you need to fix things ...

Meanwhile, you can also turn off the Debug Log in the USPS shipping module as you do not need those either ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Feb 2014, 10:38 PM
#43
hunteryz avatar

hunteryz

Inactive

Join Date:
Oct 2013
Location:
120 Wilshire Blvd,Brentwood,NY,11717
Posts:
94
Plugin Contributions:
0

Re: USPS module suddenly not giving quotes?

Ajeh:

Now that this is working, you should delete the logs in /cache as you should not find any more there. If you do, then you need to fix things ...

Meanwhile, you can also turn off the Debug Log in the USPS shipping module as you do not need those either ...

***Ok, I turnoff the log and clean up them,
there are some log still there, but not error i think, it seems like quote history retails, paste below

Feb 13 2014 21:52:44 --
USPS build: 2014-01-26

Server: production
Quote Request Rate Type: Online
USPS Options (weight, time): Display weight, Display transit time
USPS Domestic Transit Time Calculation Mode: CUSTOM

Cart Weight: 50.4
Maximum: 70 Tare Rates: Small/Medium: 0:0 Large: 0:0
Handling method: Order Handling fee Domestic: $0.80 Handling fee International: $0.00
Decimals: 3
Total Weight: 50.4 Pounds: 50 Ounces: 7
Domestic Length: 8.625 Width: 5.375 Height: 1.625
International Length: 9.50 Width: 1.0 Height: 5.50

ZipOrigination: 11717
ZipDestination: 55106
Order Total: $178.20

RESPONSE FROM USPS:

==================================

<?xml version="1.0" encoding="UTF-8"?> <RateV4Response>

<Package ID="0"><ZipOrigination>11717</ZipOrigination><ZipDestination>55106</ZipDestination><Pounds>50</Pounds><Ounces>7</Ounces><Container>VARIABLE</Container><Size>REGULAR</Size><Zone>6</Zone>
<Postage CLASSID="1"><MailService>Priority Mail 2-DayTM</MailService>
<Rate>84.20</Rate><CommercialRate>71.28</CommercialRate>
<SpecialServices><SpecialService>
<ServiceID>9</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>true</Available><AvailableOnline>false</AvailableOnline><Price>1.30</Price><PriceOnline>0</PriceOnline></SpecialService><SpecialService>
<ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>true</Available><AvailableOnline>true</AvailableOnline><Price>2.10</Price><PriceOnline>2.10</PriceOnline><DeclaredValueRequired>true</DeclaredValueRequired><DueSenderRequired>false</DueSenderRequired></SpecialService><SpecialService>
<ServiceID>5</ServiceID><ServiceName>Registered MailTM</ServiceName><Available>true</Available><AvailableOnline>false</AvailableOnline><Price>11.95</Price><PriceOnline>0</PriceOnline><DeclaredValueRequired>true</DeclaredValueRequired><DueSenderRequired>false</DueSenderRequired></SpecialService><SpecialService>
<ServiceID>4</ServiceID><ServiceName>Registered without Insurance</ServiceName><Available>true</Available><AvailableOnline>false</AvailableOnline><Price>11.95</Price><PriceOnline>0</PriceOnline></SpecialService><SpecialService>
<ServiceID>0</ServiceID><ServiceName>Certified MailRM</ServiceName><Available>true</Available><AvailableOnline>false</AvailableOnline><Price>3.30</Price><PriceOnline>0</PriceOnline></SpecialService><SpecialService>
<ServiceID>13</ServiceID><ServiceName>USPS TrackingTM</ServiceName><Available>true</Available><AvailableOnline>true</AvailableOnline><Price>0.00</Price><PriceOnline>0.00</PriceOnline></SpecialService><SpecialService>
<ServiceID>7</ServiceID><ServiceName>Return Receipt for Merchandise</ServiceName><Available>true</Available><AvailableOnline>false</AvailableOnline><Price>4.40</Price><PriceOnline>0</PriceOnline></SpecialService><SpecialService>
<ServiceID>15</ServiceID><ServiceName>Signature ConfirmationTM</ServiceName><Available>true</Available><AvailableOnline>true</AvailableOnline><Price>2.90</Price><PriceOnline>2.35</PriceOnline></SpecialService><SpecialService>
<ServiceID>19</ServiceID><ServiceName>Adult Signature Required</ServiceName><Available>false</Available><AvailableOnline>true</AvailableOnline><Price>0</Price><PriceOnline>5.20</PriceOnline></SpecialService><SpecialService>
<ServiceID>20</ServiceID><ServiceName>Adult Signature Restricted Delivery</ServiceName><Available>false</Available><AvailableOnline>true</AvailableOnline><Price>0</Price><PriceOnline>5.45</PriceOnline></SpecialService><SpecialService>
<ServiceID>6</ServiceID><ServiceName>Collect on Delivery</ServiceName><Available>true</Available><AvailableOnline>false</AvailableOnline><Price>6.95</Price><PriceOnline>0</PriceOnline><DeclaredValueRequired>true</DeclaredValueRequired><DueSenderRequired>true</DueSenderRequired></SpecialService></SpecialServices></Postage>
</Package></RateV4Response>

==================================

USPS Country - $this->countries[$order->delivery[country][iso_code_2]]: $this->usps_countries: US

USPS DOMESTIC CHECKED: Online
Priority MailTM

==================================

SENT TO USPS:

<RateV4Request USERID="434Uniwa5072"> <Revision>2</Revision> <Package ID="0"> <Service>PRIORITY COMMERCIAL</Service> <ZipOrigination>11717</ZipOrigination> <ZipDestination>55106</ZipDestination> <Pounds>50</Pounds> <Ounces>7</Ounces> <Container>VARIABLE</Container> <Size>REGULAR</Size> <Value>178.20</Value> <Machinable>FALSE</Machinable> </Package> </RateV4Request>

============

RAW XML FROM USPS:

SimpleXMLElement Object
(
[Package] => SimpleXMLElement Object
(
[@attributes] => Array
(
[ID] => 0
)

        [ZipOrigination] => 11717
        [ZipDestination] => 55106
        [Pounds] => 50
        [Ounces] => 7
        [Container] => VARIABLE
        [Size] => REGULAR
        [Zone] => 6
        [Postage] => SimpleXMLElement Object
            (
                [@attributes] => Array
                    (
                        [CLASSID] => 1
                    )

                [MailService] => Priority Mail 2-Day<sup>™</sup>
                [Rate] => 84.20
                [CommercialRate] => 71.28
                [SpecialServices] => SimpleXMLElement Object
                    (
                        [SpecialService] => Array
                            (
                                [0] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 9
                                        [ServiceName] => Certificate of Mailing
                                        [Available] => true
                                        [AvailableOnline] => false
                                        [Price] => 1.30
                                        [PriceOnline] => 0
                                    )

                                [1] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 1
                                        [ServiceName] => Insurance
                                        [Available] => true
                                        [AvailableOnline] => true
                                        [Price] => 2.10
                                        [PriceOnline] => 2.10
                                        [DeclaredValueRequired] => true
                                        [DueSenderRequired] => false
                                    )

                                [2] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 5
                                        [ServiceName] => Registered Mail<sup>™</sup>
                                        [Available] => true
                                        [AvailableOnline] => false
                                        [Price] => 11.95
                                        [PriceOnline] => 0
                                        [DeclaredValueRequired] => true
                                        [DueSenderRequired] => false
                                    )

                                [3] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 4
                                        [ServiceName] => Registered without Insurance
                                        [Available] => true
                                        [AvailableOnline] => false
                                        [Price] => 11.95
                                        [PriceOnline] => 0
                                    )

                                [4] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 0
                                        [ServiceName] => Certified Mail<sup>®</sup>
                                        [Available] => true
                                        [AvailableOnline] => false
                                        [Price] => 3.30
                                        [PriceOnline] => 0
                                    )

                                [5] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 13
                                        [ServiceName] => USPS Tracking<sup>™</sup>
                                        [Available] => true
                                        [AvailableOnline] => true
                                        [Price] => 0.00
                                        [PriceOnline] => 0.00
                                    )

                                [6] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 7
                                        [ServiceName] => Return Receipt for Merchandise
                                        [Available] => true
                                        [AvailableOnline] => false
                                        [Price] => 4.40
                                        [PriceOnline] => 0
                                    )

                                [7] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 15
                                        [ServiceName] => Signature Confirmation<sup>™</sup>
                                        [Available] => true
                                        [AvailableOnline] => true
                                        [Price] => 2.90
                                        [PriceOnline] => 2.35
                                    )

                                [8] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 19
                                        [ServiceName] => Adult Signature Required
                                        [Available] => false
                                        [AvailableOnline] => true
                                        [Price] => 0
                                        [PriceOnline] => 5.20
                                    )

                                [9] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 20
                                        [ServiceName] => Adult Signature Restricted Delivery
                                        [Available] => false
                                        [AvailableOnline] => true
                                        [Price] => 0
                                        [PriceOnline] => 5.45
                                    )

                                [10] => SimpleXMLElement Object
                                    (
                                        [ServiceID] => 6
                                        [ServiceName] => Collect on Delivery
                                        [Available] => true
                                        [AvailableOnline] => false
                                        [Price] => 6.95
                                        [PriceOnline] => 0
                                        [DeclaredValueRequired] => true
                                        [DueSenderRequired] => true
                                    )

                            )

                    )

            )

    )

)

==================================
Domestic Services Selected:
USPS TrackingTM

==================================

Feb 13 2014 21:52:44 -- Transit Time (Domestic)
Service: Priority MailTM
CommitmentName (from USPS):
$time (calculated): 2 - 3 days
Translation: (2 - 3 days)***

No one is Perfect, But Zen Cart is the Best!
https://yzenith.com

13 Feb 2014, 10:43 PM
#44
hunteryz avatar

hunteryz

Inactive

Join Date:
Oct 2013
Location:
120 Wilshire Blvd,Brentwood,NY,11717
Posts:
94
Plugin Contributions:
0

Re: USPS module suddenly not giving quotes?

Ajeh:

Now that this is working, you should delete the logs in /cache as you should not find any more there. If you do, then you need to fix things ...

Meanwhile, you can also turn off the Debug Log in the USPS shipping module as you do not need those either ...

I make $15 donate to Zen Team, hope can buy enough coffee for you guys:smile:

No one is Perfect, But Zen Cart is the Best!
https://yzenith.com

13 Feb 2014, 10:52 PM
#45
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: USPS module suddenly not giving quotes?

We appreciate the support ...

The logs that look similar to:
SHIP_usps_Debug_02132014143147_US_44026_10lb_0oz.log

are the USPS shipping logs created when you have the setting in the USPS shipping module set to Logs ...

Unless you are testing, you should turn this setting for Debug to Off so you do not have these logs created each time a quote from USPS is attempted. Once turned off, you should delete all the .log files from /cache ...

Once you delete all of the .log files from the /cache directory, check it periodically and make sure no new .log files are created ...

If you see any new .log files, you need to read them and fix the errors that they reference ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Feb 2014, 2:11 AM
#46
hunteryz avatar

hunteryz

Inactive

Join Date:
Oct 2013
Location:
120 Wilshire Blvd,Brentwood,NY,11717
Posts:
94
Plugin Contributions:
0

Re: USPS module suddenly not giving quotes?

Ajeh:

We appreciate the support ...

The logs that look similar to:
SHIP_usps_Debug_02132014143147_US_44026_10lb_0oz.log

are the USPS shipping logs created when you have the setting in the USPS shipping module set to Logs ...

Unless you are testing, you should turn this setting for Debug to Off so you do not have these logs created each time a quote from USPS is attempted. Once turned off, you should delete all the .log files from /cache ...

Once you delete all of the .log files from the /cache directory, check it periodically and make sure no new .log files are created ...

If you see any new .log files, you need to read them and fix the errors that they reference ...

ok, understood, thank you Ajeh

No one is Perfect, But Zen Cart is the Best!
https://yzenith.com