1st Class Package Service Quote Won’t Show
-
No matter what we try, Woo Commerce only shows 2 quotes instead of the 4 I have turned on. Here are my settings:
1. Flat rate boxes & envelopes (disabled) 2. Shipping rates (retail) 3. Parcel packing (Weight based) 4. Checked Rates: a. 1st Class Package Service b. Retail Ground c. Priority Mail d. Priority Mail Express
It returns the 1st class package rate, but won’t display it. Here’s the debug info:
The following quotes were returned by USPS: 0-first-class-mail-large-envelope - First-Class Mail? Large Envelope 0-first-class-mail-postcards - First-Class Mail? Postcards 0-first-class-mail-stamped-letter - First-Class Mail? Stamped Letter 0-first-class-package-service-retail - First-Class Package Service - Retail? 1 - Priority Mail 2-Day? 2 - Priority Mail Express 1-Day? Hold For Pickup 3 - Priority Mail Express 1-Day? 6 - Media Mail Parcel 7 - Library Mail Parcel 13 - Priority Mail Express 1-Day? Flat Rate Envelope 15 - First-Class Mail? Large Postcards 16 - Priority Mail 2-Day? Flat Rate Envelope 17 - Priority Mail 2-Day? Medium Flat Rate Box 22 - Priority Mail 2-Day? Large Flat Rate Box 27 - Priority Mail Express 1-Day? Flat Rate Envelope Hold For Pickup 28 - Priority Mail 2-Day? Small Flat Rate Box 29 - Priority Mail 2-Day? Padded Flat Rate Envelope 30 - Priority Mail Express 1-Day? Legal Flat Rate Envelope 31 - Priority Mail Express 1-Day? Legal Flat Rate Envelope Hold For Pickup 38 - Priority Mail 2-Day? Gift Card Flat Rate Envelope 40 - Priority Mail 2-Day? Window Flat Rate Envelope 42 - Priority Mail 2-Day? Small Flat Rate Envelope 44 - Priority Mail 2-Day? Legal Flat Rate Envelope 62 - Priority Mail Express 1-Day? Padded Flat Rate Envelope 63 - Priority Mail Express 1-Day? Padded Flat Rate Envelope Hold For Pickup 78 - First-Class Mail? Metered Letter If any of these do not display, they may not be enabled in USPS settings (or exceed size restrictions).
My guess is that the WooCommerce code has the name of the service wrong: “0-first-class-package-service-retail – First-Class Package Service – Retail” is how it’s returned, which seems different than the formatting of displayed quotes. Here’s the USPS response:
<?xml version="1.0" encoding="UTF-8"?> <RateV4Response> <Package ID="regular_0:1:0:0:0:0:::"> <ZipOrigination>14139</ZipOrigination> <ZipDestination>14209</ZipDestination> <Pounds>0</Pounds> <Ounces>1.00</Ounces> <Machinable>TRUE</Machinable> <Zone>1</Zone> <Postage CLASSID="3"> <MailService>Priority Mail Express 1-Day<sup>?</sup></MailService> <Rate>26.60</Rate> <CommitmentDate>2021-10-20</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="2"> <MailService>Priority Mail Express 1-Day<sup>?</sup> Hold For Pickup</MailService> <Rate>26.60</Rate> <CommitmentDate>2021-10-20</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="13"> <MailService>Priority Mail Express 1-Day<sup>?</sup> Flat Rate Envelope</MailService> <Rate>27.10</Rate> <CommitmentDate>2021-10-20</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="27"> <MailService>Priority Mail Express 1-Day<sup>?</sup> Flat Rate Envelope Hold For Pickup</MailService> <Rate>27.10</Rate> <CommitmentDate>2021-10-20</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="30"> <MailService>Priority Mail Express 1-Day<sup>?</sup> Legal Flat Rate Envelope</MailService> <Rate>27.25</Rate> <CommitmentDate>2021-10-20</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="31"> <MailService>Priority Mail Express 1-Day<sup>?</sup> Legal Flat Rate Envelope Hold For Pickup</MailService> <Rate>27.25</Rate> <CommitmentDate>2021-10-20</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="62"> <MailService>Priority Mail Express 1-Day<sup>?</sup> Padded Flat Rate Envelope</MailService> <Rate>27.70</Rate> <CommitmentDate>2021-10-20</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="63"> <MailService>Priority Mail Express 1-Day<sup>?</sup> Padded Flat Rate Envelope Hold For Pickup</MailService> <Rate>27.70</Rate> <CommitmentDate>2021-10-20</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="1"> <MailService>Priority Mail 2-Day<sup>?</sup></MailService> <Rate>7.95</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="22"> <MailService>Priority Mail 2-Day<sup>?</sup> Large Flat Rate Box</MailService> <Rate>22.65</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="17"> <MailService>Priority Mail 2-Day<sup>?</sup> Medium Flat Rate Box</MailService> <Rate>16.25</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="28"> <MailService>Priority Mail 2-Day<sup>?</sup> Small Flat Rate Box</MailService> <Rate>9.20</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="16"> <MailService>Priority Mail 2-Day<sup>?</sup> Flat Rate Envelope</MailService> <Rate>8.70</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="44"> <MailService>Priority Mail 2-Day<sup>?</sup> Legal Flat Rate Envelope</MailService> <Rate>9.00</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="29"> <MailService>Priority Mail 2-Day<sup>?</sup> Padded Flat Rate Envelope</MailService> <Rate>9.30</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="38"> <MailService>Priority Mail 2-Day<sup>?</sup> Gift Card Flat Rate Envelope</MailService> <Rate>8.70</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="42"> <MailService>Priority Mail 2-Day<sup>?</sup> Small Flat Rate Envelope</MailService> <Rate>8.70</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="40"> <MailService>Priority Mail 2-Day<sup>?</sup> Window Flat Rate Envelope</MailService> <Rate>8.70</Rate> <CommitmentDate>2021-10-22</CommitmentDate> <CommitmentName>2-Day</CommitmentName> </Postage> <Postage CLASSID="0"> <MailService>First-Class Mail<sup>?</sup> Stamped Letter</MailService> <Rate>0.58</Rate> </Postage> <Postage CLASSID="78"> <MailService>First-Class Mail<sup>?</sup> Metered Letter</MailService> <Rate>0.53</Rate> </Postage> <Postage CLASSID="0"> <MailService>First-Class Package Service - Retail<sup>?</sup></MailService> <Rate>4.30</Rate> </Postage> <Postage CLASSID="0"> <MailService>First-Class Mail<sup>?</sup> Large Envelope</MailService> <Rate>1.16</Rate> </Postage> <Postage CLASSID="0"> <MailService>First-Class Mail<sup>?</sup> Postcards</MailService> <Rate>0.40</Rate> </Postage> <Postage CLASSID="15"> <MailService>First-Class Mail<sup>?</sup> Large Postcards</MailService> <Rate>0.58</Rate> </Postage> <Postage CLASSID="6"> <MailService>Media Mail Parcel</MailService> <Rate>3.19</Rate> </Postage> <Postage CLASSID="7"> <MailService>Library Mail Parcel</MailService> <Rate>3.03</Rate> </Postage> </Package> </RateV4Response>
As you see, the $4.30 quote is returned form USPS. WooCommerce just ignores it. Thanks in advance for your help.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘1st Class Package Service Quote Won’t Show’ is closed to new replies.