• Resolved alpeshkumar.mca

    (@alpeshkumarmca)


    Shipping not showing, Below is log as your reference. Can you please check and help me where is issue.

    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 => 'yes',
            23 => 'yes',
            1 => 'yes',
            33 => 'yes',
            18 => 'yes',
            47 => 'yes',
            48 => 'yes',
            49 => 'yes',
            50 => 'yes',
            '0A' => 'yes',
            '0B' => 'yes',
            '0C' => 'yes',
            '0D' => 'yes',
            12 => 'yes',
            15 => 'yes',
            19 => 'yes',
            '0E' => 'yes',
            61 => 'yes',
            53 => 'yes',
            78 => 'yes',
            4 => 'yes',
            6 => 'yes',
            7 => 'yes',
          ),
          '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' => '11510',
          'userId' => 'knicksfantv',
          'commercialRate' => 'yes',
          'groupByWeight' => 'no',
          't_express_mail' => 'Priority Mail Express',
          't_priority_mail' => 'Priority Mail',
          't_first_class' => 'First-Class Mail',
          't_standard_post' => 'USPS Retail Ground',
          't_media_mail' => 'Media Mail',
          't_library_mail' => 'Library Mail',
        ),
        'settings' => 
        array (
          'enabled' => 'yes',
          'sender' => '11510',
          'user_id' => 'knicksfantv',
          'commercial_rate' => 'yes',
          'group_by_weight' => 'no',
          'express_mail' => '',
          't_express_mail' => 'Priority Mail Express',
          'express_mail_3' => 'yes',
          'express_mail_2' => 'yes',
          'express_mail_23' => 'yes',
          'priority_mail' => '',
          't_priority_mail' => 'Priority Mail',
          'priority_mail_1' => 'yes',
          'priority_mail_33' => 'yes',
          'priority_mail_18' => 'yes',
          'priority_mail_47' => 'yes',
          'priority_mail_48' => 'yes',
          'priority_mail_49' => 'yes',
          'priority_mail_50' => 'yes',
          'first_class' => '',
          't_first_class' => 'First-Class Mail',
          'first_class_0A' => 'yes',
          'first_class_0B' => 'yes',
          'first_class_0C' => 'yes',
          'first_class_0D' => 'yes',
          'first_class_12' => 'yes',
          'first_class_15' => 'yes',
          'first_class_19' => 'yes',
          'first_class_0E' => 'yes',
          'first_class_61' => 'yes',
          'first_class_53' => 'yes',
          'first_class_78' => 'yes',
          'standard_post' => '',
          't_standard_post' => 'USPS Retail Ground',
          'standard_post_4' => 'yes',
          'media_mail' => '',
          't_media_mail' => 'Media Mail',
          'media_mail_6' => 'yes',
          'library_mail' => '',
          't_library_mail' => 'Library Mail',
          'library_mail_7' => 'yes',
        ),
      ),
      'package' => 
      array (
        'contents' => 
        array (
          'ac97819bc9bb98fe814ea35b118a477d' => 
          array (
            'key' => 'ac97819bc9bb98fe814ea35b118a477d',
            'product_id' => 7569,
            'variation_id' => 7755,
            'variation' => 
            array (
              'attribute_pa_color' => 'blue',
            ),
            'quantity' => 1,
            'data_hash' => 'f0ab3fc9ee7843699c0cc1d62bb88f82',
            'line_tax_data' => 
            array (
              'subtotal' => 
              array (
                1 => 2.5,
              ),
              'total' => 
              array (
                1 => 2.5,
              ),
            ),
            'line_subtotal' => 25.0,
            'line_subtotal_tax' => 2.5,
            'line_total' => 25.0,
            'line_tax' => 2.5,
            'product' => 
            array (
              'name' => 'KFTV Snap - Blue',
              'slug' => 'kftv-snap-blue',
              'price' => '25',
              'regular_price' => '25',
              'sale_price' => '',
              'weight' => '0.100 lbs',
              'weight_lbs' => 0.1000000000000000055511151231257827021181583404541015625,
              'dimensions' => '100 x 200 x 100 cm',
              'dimensions_in' => '39.37 x 78.74 x 39.37',
            ),
          ),
          'c77f299e040579693bf88b56b40566b8' => 
          array (
            'key' => 'c77f299e040579693bf88b56b40566b8',
            'product_id' => 7569,
            'variation_id' => 7754,
            'variation' => 
            array (
              'attribute_pa_color' => 'black',
            ),
            'quantity' => 1,
            'data_hash' => '8ebe40e554c18ebfc44954a0df960f82',
            'line_tax_data' => 
            array (
              'subtotal' => 
              array (
                1 => 2.5,
              ),
              'total' => 
              array (
                1 => 2.5,
              ),
            ),
            'line_subtotal' => 25.0,
            'line_subtotal_tax' => 2.5,
            'line_total' => 25.0,
            'line_tax' => 2.5,
            'product' => 
            array (
              'name' => 'KFTV Snap - Black',
              'slug' => 'kftv-snap-black',
              'price' => '25',
              'regular_price' => '25',
              'sale_price' => '',
              'weight' => '0.100 lbs',
              'weight_lbs' => 0.1000000000000000055511151231257827021181583404541015625,
              'dimensions' => '100 x 200 x 100 cm',
              'dimensions_in' => '39.37 x 78.74 x 39.37',
            ),
          ),
        ),
        'contents_cost' => 50.0,
        'applied_coupons' => 
        array (
        ),
        'user' => 
        array (
          'ID' => 1,
        ),
        'destination' => 
        array (
          'country' => 'US',
          'state' => 'CA',
          'postcode' => '10001',
          'city' => 'New York',
          'address' => 'Test',
          'address_1' => 'Test',
          'address_2' => '',
        ),
        'cart_subtotal' => '50',
        'rates' => 
        array (
        ),
      ),
      'requests' => 
      array (
        'ONLINE' => 'API=RateV4&XML=
    <RateV4Request USERID="knicksfantv">
        <Revision>2</Revision>
        <Package ID="ac97819bc9bb98fe814ea35b118a477d:1:78.74:39.37:39.37:0.1">
            <Service>ONLINE</Service>
            <ZipOrigination>11510</ZipOrigination>
            <ZipDestination>10001</ZipDestination>
            <Pounds>0</Pounds>
            <Ounces>1.60</Ounces>
            <Container>RECTANGULAR</Container>
            <Size>LARGE</Size>
            <Width>39.37</Width>
            <Length>78.74</Length>
            <Height>39.37</Height>
            <Girth>157</Girth>
            <Machinable>true</Machinable>
            <ShipDate>20-Apr-2022</ShipDate>
        </Package>
        <Package ID="c77f299e040579693bf88b56b40566b8:1:78.74:39.37:39.37:0.1">
            <Service>ONLINE</Service>
            <ZipOrigination>11510</ZipOrigination>
            <ZipDestination>10001</ZipDestination>
            <Pounds>0</Pounds>
            <Ounces>1.60</Ounces>
            <Container>RECTANGULAR</Container>
            <Size>LARGE</Size>
            <Width>39.37</Width>
            <Length>78.74</Length>
            <Height>39.37</Height>
            <Girth>157</Girth>
            <Machinable>true</Machinable>
            <ShipDate>20-Apr-2022</ShipDate>
        </Package>
    </RateV4Request>
    ',
        'STANDARD POST' => 'API=RateV4&XML=
    <RateV4Request USERID="knicksfantv">
        <Revision>2</Revision>
        <Package ID="ac97819bc9bb98fe814ea35b118a477d:1:78.74:39.37:39.37:0.1">
            <Service>STANDARD POST</Service>
            <ZipOrigination>11510</ZipOrigination>
            <ZipDestination>10001</ZipDestination>
            <Pounds>0</Pounds>
            <Ounces>1.60</Ounces>
            <Container>RECTANGULAR</Container>
            <Size>LARGE</Size>
            <Width>39.37</Width>
            <Length>78.74</Length>
            <Height>39.37</Height>
            <Girth>157</Girth>
            <GroundOnly>true</GroundOnly>
            <Machinable>true</Machinable>
            <ShipDate>20-Apr-2022</ShipDate>
        </Package>
        <Package ID="c77f299e040579693bf88b56b40566b8:1:78.74:39.37:39.37:0.1">
            <Service>STANDARD POST</Service>
            <ZipOrigination>11510</ZipOrigination>
            <ZipDestination>10001</ZipDestination>
            <Pounds>0</Pounds>
            <Ounces>1.60</Ounces>
            <Container>RECTANGULAR</Container>
            <Size>LARGE</Size>
            <Width>39.37</Width>
            <Length>78.74</Length>
            <Height>39.37</Height>
            <Girth>157</Girth>
            <GroundOnly>true</GroundOnly>
            <Machinable>true</Machinable>
            <ShipDate>20-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' => '*',
              'content-type' => 'text/xml',
              'date' => 'Tue, 19 Apr 2022 11:16:09 GMT',
              'host' => '127.0.0.1:2048',
              'ns-client-ip' => '152.199.98.208',
              'ntcoent-length' => '208',
              'referer' => 'https://secure.shippingapis.com/ShippingAPI.dll',
              'server' => 'ECAcc (dna/62D0)',
              'strict-transport-security' => 'max-age=31536000 ; includeSubDomains',
              'true-client-ip' => '50.87.248.26',
              'user-agent' => 'WordPress/5.9.3; https://knicksfantv.com',
              'via' => '1.1 ApplicationError_XML_Firewall',
              'x-archived-client-ip' => '56.0.33.9',
              'x-backside-transport' => 'OK OK',
              'x-client-ip' => '56.0.33.9,56.0.33.9',
              'x-ec-pop' => 'dna',
              'x-ec-session-id' => '1458962738885002563312415848212132171832',
              'x-ec-uuid' => '1458962738885002563312415848212132171832',
              'x-forwarded-for' => '50.87.248.26',
              'x-forwarded-proto' => 'https',
              'x-frame-options' => 'SAMEORIGIN',
              'x-global-transaction-id' => 'e41d6174625e99f9945c923f',
              'x-host' => 'secure.shippingapis.com',
              'x-ruleset-version' => '1.0',
              'content-length' => '183',
            ),
          )),
          'body' => '<?xml version="1.0" encoding="UTF-8"?>
    <Error>
        <Number>80040B1A</Number>
        <Description>Authorization failure.  Perhaps username and/or password is incorrect.</Description>
        <Source>USPSCOM::DoAuth</Source>
    </Error>
    ',
          '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' => '*',
              'content-type' => 'text/xml',
              'date' => 'Tue, 19 Apr 2022 11:16:09 GMT',
              'host' => '127.0.0.1:2048',
              'ns-client-ip' => '152.199.99.149',
              'ntcoent-length' => '208',
              'referer' => 'https://secure.shippingapis.com/ShippingAPI.dll',
              'server' => 'ECAcc (dna/6395)',
              'strict-transport-security' => 'max-age=31536000 ; includeSubDomains',
              'true-client-ip' => '50.87.248.26',
              'user-agent' => 'WordPress/5.9.3; https://knicksfantv.com',
              'via' => '1.1 ApplicationError_XML_Firewall',
              'x-archived-client-ip' => '56.0.33.9',
              'x-backside-transport' => 'OK OK',
              'x-client-ip' => '56.0.33.9,56.0.33.9',
              'x-ec-pop' => 'dna',
              'x-ec-session-id' => '71295676491058452223419899283183654659',
              'x-ec-uuid' => '71295676491058452223419899283183654659',
              'x-forwarded-for' => '50.87.248.26',
              'x-forwarded-proto' => 'https',
              'x-frame-options' => 'SAMEORIGIN',
              'x-global-transaction-id' => '8ac205fb625e99f933eb2cef',
              'x-host' => 'secure.shippingapis.com',
              'x-ruleset-version' => '1.0',
              'content-length' => '183',
            ),
          )),
          'body' => '<?xml version="1.0" encoding="UTF-8"?>
    <Error>
        <Number>80040B1A</Number>
        <Description>Authorization failure.  Perhaps username and/or password is incorrect.</Description>
        <Source>USPSCOM::DoAuth</Source>
    </Error>
    ',
          'response' => 
          array (
            'code' => 200,
            'message' => 'OK',
          ),
          'cookies' => 
          array (
          ),
          'filename' => NULL,
        ),
      ),
      'unitedResponse' => '<?xml version="1.0" encoding="UTF-8"?>
    <Error>
        <Number>80040B1A</Number>
        <Description>Authorization failure.  Perhaps username and/or password is incorrect.</Description>
        <Source>USPSCOM::DoAuth</Source>
    </Error>
    ',
      'shownRates' => 
      array (
      ),
      'eliminatedRates' => 
      array (
      ),
    )
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dan

    (@dangoodman)

    Thank you for the details.

    The error is:
    Authorization failure. Perhaps username and/or password is incorrect.

    The issue is that knicksfantv is not a valid USPS API ID. You would have to register another ID for USPS API. Or, just leave the User ID field empty.

    Thread Starter alpeshkumar.mca

    (@alpeshkumarmca)

    @dangoodman

    it’s noted. Thanks for the quick update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘There are no shipping options available.’ is closed to new replies.