• Resolved slofurno

    (@slofurno)


    Greetings! I’m am new to setting up an e-commerce site. I have spent hours trying to set up my shipping. I can’t get any USPS options to show for anything over 12”. I tried to read the error code, but it didn’t make sense to me as it stated my dimensions had to be over “0”. Here is the debug info:

    array (
      'settings' => 
      array (
        'props' => 
        array (
          'endpoint' => 'https://secure.shippingapis.com/ShippingAPI.dll',
          'defaultUserId' => '891000005749',
          'domestic' => 
          array (
            0 => 'US',
            1 => 'PR',
            2 => 'VI',
            3 => 'MH',
            4 => 'FM',
          ),
          'services' => 
          array (
            'EXPRESS_MAIL' => 
            array (
              'name' => 'Priority Mail Express',
              'services' => 
              array (
                3 => 'Priority Mail Express',
                2 => 'Priority Mail Express, Hold for Pickup',
                23 => 'Priority Mail Express, Sunday/Holiday',
              ),
            ),
            'PRIORITY_MAIL' => 
            array (
              'name' => 'Priority Mail',
              'services' => 
              array (
                1 => 'Priority Mail',
                33 => 'Priority Mail, Hold For Pickup',
                18 => 'Priority Mail Keys and IDs',
                47 => 'Priority Mail Regional Rate Box A',
                48 => 'Priority Mail Regional Rate Box A, Hold For Pickup',
                49 => 'Priority Mail Regional Rate Box B',
                50 => 'Priority Mail Regional Rate Box B, Hold For Pickup',
              ),
            ),
            'FIRST_CLASS' => 
            array (
              'name' => 'First-Class Mail',
              'services' => 
              array (
                '0A' => 'First-Class Mail Postcards',
                '0B' => 'First-Class Mail Letter',
                '0C' => 'First-Class Mail Large Envelope',
                '0D' => 'First-Class Mail Parcel',
                12 => 'First-Class Postcard Stamped',
                15 => 'First-Class Large Postcards',
                19 => 'First-Class Keys and IDs',
                '0E' => 'First-Class Package Service – Retail',
                61 => 'First-Class Package Service',
                53 => 'First-Class Package Service, Hold For Pickup',
                78 => 'First-Class Mail Metered Letter',
              ),
            ),
            'STANDARD_POST' => 
            array (
              'name' => 'USPS Retail Ground',
              'services' => 
              array (
                4 => 'USPS Retail Ground',
              ),
            ),
            'MEDIA_MAIL' => 
            array (
              'name' => 'Media Mail',
              'services' => 
              array (
                6 => 'Media Mail',
              ),
            ),
            'LIBRARY_MAIL' => 
            array (
              'name' => 'Library Mail',
              'services' => 
              array (
                7 => 'Library Mail',
              ),
            ),
          ),
          'subservicesEnabled' => 
          array (
            3 => 'yes',
            2 => 'no',
            23 => 'no',
            1 => 'yes',
            33 => 'no',
            18 => 'no',
            47 => 'yes',
            48 => 'no',
            49 => 'yes',
            50 => 'no',
            '0A' => 'no',
            '0B' => 'no',
            '0C' => 'no',
            '0D' => 'yes',
            12 => 'no',
            15 => 'no',
            19 => 'no',
            '0E' => 'yes',
            61 => 'no',
            53 => 'no',
            78 => 'no',
            4 => 'yes',
            6 => 'no',
            7 => 'no',
          ),
          'supports' => 
          array (
            0 => 'settings',
          ),
          'id' => 'usps_simple',
          'method_title' => 'USPS Simple',
          'method_description' => 'The <strong>USPS Simple</strong> plugin calculates rates for domestic shipping dynamically using USPS API during checkout.',
          'enabled' => 'yes',
          'title' => 'USPS Simple',
          'rates' => 
          array (
          ),
          'tax_status' => 'taxable',
          'fee' => NULL,
          'minimum_fee' => NULL,
          'instance_id' => 0,
          'instance_form_fields' => 
          array (
          ),
          'instance_settings' => 
          array (
          ),
          'availability' => NULL,
          'countries' => 
          array (
          ),
          'plugin_id' => 'woocommerce_',
          'errors' => 
          array (
          ),
          'data' => 
          array (
          ),
          'serviceDescription' => 'This controls the title which the customer sees during checkout.',
          'sender' => '14580',
          'userId' => '387FURGE1285',
          'commercialRate' => 'no',
          'groupByWeight' => 'yes',
          't_express_mail' => 'Priority Mail Express (USPS Simple)',
          't_priority_mail' => 'Priority Mail (USPS Simple)',
          't_first_class' => 'First-Class Mail (USPS Simple)',
          't_standard_post' => 'USPS Retail Ground (USPS Simple)',
          't_media_mail' => 'Media Mail (USPS Simple)',
          't_library_mail' => 'Library Mail (USPS Simple)',
        ),
        'settings' => 
        array (
          'enabled' => 'yes',
          'sender' => '14580',
          'user_id' => '387FURGE1285',
          'commercial_rate' => 'no',
          'group_by_weight' => 'yes',
          'express_mail' => '',
          't_express_mail' => '',
          'express_mail_3' => 'yes',
          'express_mail_2' => 'no',
          'express_mail_23' => 'no',
          'priority_mail' => '',
          't_priority_mail' => '',
          'priority_mail_1' => 'yes',
          'priority_mail_33' => 'no',
          'priority_mail_18' => 'no',
          'priority_mail_47' => 'yes',
          'priority_mail_48' => 'no',
          'priority_mail_49' => 'yes',
          'priority_mail_50' => 'no',
          'first_class' => '',
          't_first_class' => '',
          'first_class_0A' => 'no',
          'first_class_0B' => 'no',
          'first_class_0C' => 'no',
          'first_class_0D' => 'yes',
          'first_class_12' => 'no',
          'first_class_15' => 'no',
          'first_class_19' => 'no',
          'first_class_0E' => 'yes',
          'first_class_61' => 'no',
          'first_class_53' => 'no',
          'first_class_78' => 'no',
          'standard_post' => '',
          't_standard_post' => '',
          'standard_post_4' => 'yes',
          'media_mail' => '',
          't_media_mail' => '',
          'media_mail_6' => 'no',
          'library_mail' => '',
          't_library_mail' => '',
          'library_mail_7' => 'no',
        ),
      ),
      'package' => 
      array (
        'contents' => 
        array (
          '242c100dc94f871b6d7215b868a875f8' => 
          array (
            'key' => '242c100dc94f871b6d7215b868a875f8',
            'product_id' => 1284,
            'variation_id' => 0,
            'variation' => 
            array (
            ),
            'quantity' => 1,
            'data_hash' => 'b5c1d5ca8bae6d4896cf1807cdf763f0',
            'line_tax_data' => 
            array (
              'subtotal' => 
              array (
                1 => 1.2,
              ),
              'total' => 
              array (
                1 => 1.2,
              ),
            ),
            'line_subtotal' => 15.0,
            'line_subtotal_tax' => 1.2,
            'line_total' => 15.0,
            'line_tax' => 1.2,
            'product' => 
            array (
              'name' => 'Pet Nest',
              'slug' => 'pet-nest',
              'price' => '15',
              'regular_price' => '15',
              'sale_price' => '',
              'weight' => '8.5 oz',
              'weight_lbs' => 0.531248934865,
              'dimensions' => '23 x 16 x  in',
              'dimensions_in' => '23 x 16 x ',
            ),
          ),
          '0829424ffa0d3a2547b6c9622c77de03' => 
          array (
            'key' => '0829424ffa0d3a2547b6c9622c77de03',
            'product_id' => 1289,
            'variation_id' => 0,
            'variation' => 
            array (
            ),
            'quantity' => 1,
            'data_hash' => 'b5c1d5ca8bae6d4896cf1807cdf763f0',
            'line_tax_data' => 
            array (
              'subtotal' => 
              array (
                1 => 1.2,
              ),
              'total' => 
              array (
                1 => 1.2,
              ),
            ),
            'line_subtotal' => 15.0,
            'line_subtotal_tax' => 1.2,
            'line_total' => 15.0,
            'line_tax' => 1.2,
            'product' => 
            array (
              'name' => 'Pet Nest',
              'slug' => 'pet-nest-4',
              'price' => '15',
              'regular_price' => '15',
              'sale_price' => '',
              'weight' => '8.5 oz',
              'weight_lbs' => 0.531248934865,
              'dimensions' => '20 x 20 x  in',
              'dimensions_in' => '20 x 20 x ',
            ),
          ),
        ),
        'contents_cost' => 30.0,
        'applied_coupons' => 
        array (
        ),
        'user' => 
        array (
          'ID' => 1,
        ),
        'destination' => 
        array (
          'country' => 'US',
          'state' => 'NY',
          'postcode' => '14618',
          'city' => 'Rochester',
          'address' => '',
          'address_1' => '',
          'address_2' => '',
        ),
        'cart_subtotal' => '30',
        'rates' => 
        array (
          'local_pickup:3' => 
          WC_Shipping_Rate::__set_state(array(
             'data' => 
            array (
              'id' => 'local_pickup:3',
              'method_id' => 'local_pickup',
              'instance_id' => 3,
              'label' => 'Local - Rochester, NY Area Delivery/Pickup',
              'cost' => '0.00',
              'taxes' => 
              array (
              ),
            ),
             'meta_data' => 
            array (
              'Items' => 'Pet Nest × 1, Pet Nest × 1',
            ),
          )),
        ),
      ),
      'requests' => 
      array (
        'ONLINE' => 'API=RateV4&XML=
    <RateV4Request USERID="387FURGE1285">
        <Revision>2</Revision>
        <Package ID="242c100dc94f871b6d7215b868a875f8:1:23:16::0.531248934865">
            <Service>ONLINE</Service>
            <ZipOrigination>14580</ZipOrigination>
            <ZipDestination>14618</ZipDestination>
            <Pounds>0</Pounds>
            <Ounces>8.50</Ounces>
            <Container>RECTANGULAR</Container>
            <Size>LARGE</Size>
            <Width>16</Width>
            <Length>23</Length>
            <Height>0</Height>
            <Girth>32</Girth>
            <Machinable>true</Machinable>
            <ShipDate>14-Apr-2022</ShipDate>
        </Package>
        <Package ID="0829424ffa0d3a2547b6c9622c77de03:1:20:20::0.531248934865">
            <Service>ONLINE</Service>
            <ZipOrigination>14580</ZipOrigination>
            <ZipDestination>14618</ZipDestination>
            <Pounds>0</Pounds>
            <Ounces>8.50</Ounces>
            <Container>RECTANGULAR</Container>
            <Size>LARGE</Size>
            <Width>20</Width>
            <Length>20</Length>
            <Height>0</Height>
            <Girth>40</Girth>
            <Machinable>true</Machinable>
            <ShipDate>14-Apr-2022</ShipDate>
        </Package>
    </RateV4Request>
    ',
        'STANDARD POST' => 'API=RateV4&XML=
    <RateV4Request USERID="387FURGE1285">
        <Revision>2</Revision>
        <Package ID="242c100dc94f871b6d7215b868a875f8:1:23:16::0.531248934865">
            <Service>STANDARD POST</Service>
            <ZipOrigination>14580</ZipOrigination>
            <ZipDestination>14618</ZipDestination>
            <Pounds>0</Pounds>
            <Ounces>8.50</Ounces>
            <Container>RECTANGULAR</Container>
            <Size>LARGE</Size>
            <Width>16</Width>
            <Length>23</Length>
            <Height>0</Height>
            <Girth>32</Girth>
            <GroundOnly>true</GroundOnly>
            <Machinable>true</Machinable>
            <ShipDate>14-Apr-2022</ShipDate>
        </Package>
        <Package ID="0829424ffa0d3a2547b6c9622c77de03:1:20:20::0.531248934865">
            <Service>STANDARD POST</Service>
            <ZipOrigination>14580</ZipOrigination>
            <ZipDestination>14618</ZipDestination>
            <Pounds>0</Pounds>
            <Ounces>8.50</Ounces>
            <Container>RECTANGULAR</Container>
            <Size>LARGE</Size>
            <Width>20</Width>
            <Length>20</Length>
            <Height>0</Height>
            <Girth>40</Girth>
            <GroundOnly>true</GroundOnly>
            <Machinable>true</Machinable>
            <ShipDate>14-Apr-2022</ShipDate>
        </Package>
    </RateV4Request>
    ',
      ),
      'responses' => 
      array (
        'ONLINE' => 
        array (
          'headers' => 
          Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
             'data' => 
            array (
              'content-encoding' => 'gzip',
              'access-control-allow-origin' => '*',
              'cache-control' => 'private',
              'content-type' => 'text/xml',
              'date' => 'Wed, 13 Apr 2022 02:42:27 GMT',
              'ntcoent-length' => '610',
              'server' => 'Microsoft-IIS/10.0',
              'strict-transport-security' => 'max-age=31536000 ; includeSubDomains',
              'x-aspnet-version' => '4.0.30319',
              'x-backside-transport' => 'OK OK',
              'x-frame-options' => 'SAMEORIGIN',
              'x-global-transaction-id' => '8ac205fb625638b41fc1990f',
              'x-powered-by' => 'ASP.NET',
              'x-ruleset-version' => '1.0',
              'content-length' => '306',
            ),
          )),
          'body' => '<?xml version="1.0" encoding="UTF-8"?>
    <RateV4Response>
        <Package ID="242c100dc94f871b6d7215b868a875f8:1:23:16::0.531248934865">
            <Error>
                <Number>-2147219385</Number>
                <Source>DomPostageLibrary;RateV4.ProcessRequest</Source>
                <Description>All dimensions must be greater than 0</Description>
                <HelpFile/>
                <HelpContext/>
            </Error>
        </Package>
        <Package ID="0829424ffa0d3a2547b6c9622c77de03:1:20:20::0.531248934865">
            <Error>
                <Number>-2147219385</Number>
                <Source>DomPostageLibrary;RateV4.ProcessRequest</Source>
                <Description>All dimensions must be greater than 0</Description>
                <HelpFile/>
                <HelpContext/>
            </Error>
        </Package>
    </RateV4Response>
    ',
          'response' => 
          array (
            'code' => 200,
            'message' => 'OK',
          ),
          'cookies' => 
          array (
          ),
          'filename' => NULL,
        ),
        'STANDARD POST' => 
        array (
          'headers' => 
          Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
             'data' => 
            array (
              'content-encoding' => 'gzip',
              'access-control-allow-origin' => '*',
              'cache-control' => 'private',
              'content-type' => 'text/xml',
              'date' => 'Wed, 13 Apr 2022 02:42:19 GMT',
              'ntcoent-length' => '610',
              'server' => 'Microsoft-IIS/10.0',
              'strict-transport-security' => 'max-age=31536000 ; includeSubDomains',
              'x-aspnet-version' => '4.0.30319',
              'x-backside-transport' => 'OK OK',
              'x-frame-options' => 'SAMEORIGIN',
              'x-global-transaction-id' => 'e41d6174625638b58b9fe25f',
              'x-powered-by' => 'ASP.NET',
              'x-ruleset-version' => '1.0',
              'content-length' => '306',
            ),
          )),
          'body' => '<?xml version="1.0" encoding="UTF-8"?>
    <RateV4Response>
        <Package ID="242c100dc94f871b6d7215b868a875f8:1:23:16::0.531248934865">
            <Error>
                <Number>-2147219385</Number>
                <Source>DomPostageLibrary;RateV4.ProcessRequest</Source>
                <Description>All dimensions must be greater than 0</Description>
                <HelpFile/>
                <HelpContext/>
            </Error>
        </Package>
        <Package ID="0829424ffa0d3a2547b6c9622c77de03:1:20:20::0.531248934865">
            <Error>
                <Number>-2147219385</Number>
                <Source>DomPostageLibrary;RateV4.ProcessRequest</Source>
                <Description>All dimensions must be greater than 0</Description>
                <HelpFile/>
                <HelpContext/>
            </Error>
        </Package>
    </RateV4Response>
    ',
          'response' => 
          array (
            'code' => 200,
            'message' => 'OK',
          ),
          'cookies' => 
          array (
          ),
          'filename' => NULL,
        ),
      ),
      'unitedResponse' => '<?xml version="1.0" encoding="UTF-8"?>
    <RateV4Response>
        <Package ID="242c100dc94f871b6d7215b868a875f8:1:23:16::0.531248934865">
            <Error>
                <Number>-2147219385</Number>
                <Source>DomPostageLibrary;RateV4.ProcessRequest</Source>
                <Description>All dimensions must be greater than 0</Description>
                <HelpFile/>
                <HelpContext/>
            </Error>
        </Package>
        <Package ID="0829424ffa0d3a2547b6c9622c77de03:1:20:20::0.531248934865">
            <Error>
                <Number>-2147219385</Number>
                <Source>DomPostageLibrary;RateV4.ProcessRequest</Source>
                <Description>All dimensions must be greater than 0</Description>
                <HelpFile/>
                <HelpContext/>
            </Error>
        </Package>
    </RateV4Response>
    ',
      'shownRates' => 
      array (
      ),
      'eliminatedRates' => 
      array (
      ),
    )

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • It looks like you have the height on your item set to 0. All of the dimensions for your products need to be greater than 0 (Length, Width, Height).

    Thread Starter slofurno

    (@slofurno)

    I was wondering about that. I will input those dimensions. TY!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No USPS Shipping Options Showing for items over 12”’ is closed to new replies.