• Resolved tiro0153

    (@tiro0153)


    This was working fine on Friday. Woocommerce did an update and voila, shipping with USPS is not working at all.

    No matter what address, zip code in the 48 it will give me a ‘no shipping options were found’.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dan

    (@dangoodman)

    Could you gather the debug info:
    1. Enable the WooCommerce shipping debug mode: WooCommerce -> Settings -> Shipping -> Shipping options -> Enable debug mode.
    2. Go to the cart/checkout page.
    3. Look for the ‘Found X USPS rates’ notice on the top of the page and click ‘Copy’ there.
    4. Paste the copied details here.
    5. Disable the debug mode.

    I am having the same problem. I have copied and pasted from the debug here.

    `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’,
    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 => ‘no’,
    2 => ‘no’,
    23 => ‘no’,
    1 => ‘no’,
    33 => ‘no’,
    18 => ‘no’,
    47 => ‘no’,
    48 => ‘no’,
    49 => ‘no’,
    50 => ‘no’,
    ‘0A’ => ‘no’,
    ‘0B’ => ‘no’,
    ‘0C’ => ‘no’,
    ‘0D’ => ‘no’,
    12 => ‘no’,
    15 => ‘no’,
    19 => ‘no’,
    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’ => ‘31558’,
    ‘userId’ => ‘891000005749’,
    ‘commercialRate’ => ‘no’,
    ‘groupByWeight’ => ‘no’,
    ‘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 2 – 8 Days’,
    ‘t_media_mail’ => ‘Media Mail (USPS Simple)’,
    ‘t_library_mail’ => ‘Library Mail (USPS Simple)’,
    ),
    ‘settings’ =>
    array (
    ‘enabled’ => ‘yes’,
    ‘sender’ => ‘31558’,
    ‘user_id’ => ”,
    ‘commercial_rate’ => ‘no’,
    ‘group_by_weight’ => ‘no’,
    ‘express_mail’ => ”,
    ‘t_express_mail’ => ”,
    ‘express_mail_3’ => ‘no’,
    ‘express_mail_2’ => ‘no’,
    ‘express_mail_23’ => ‘no’,
    ‘priority_mail’ => ”,
    ‘t_priority_mail’ => ”,
    ‘priority_mail_1’ => ‘no’,
    ‘priority_mail_33’ => ‘no’,
    ‘priority_mail_18’ => ‘no’,
    ‘priority_mail_47’ => ‘no’,
    ‘priority_mail_48’ => ‘no’,
    ‘priority_mail_49’ => ‘no’,
    ‘priority_mail_50’ => ‘no’,
    ‘first_class’ => ”,
    ‘t_first_class’ => ”,
    ‘first_class_0A’ => ‘no’,
    ‘first_class_0B’ => ‘no’,
    ‘first_class_0C’ => ‘no’,
    ‘first_class_0D’ => ‘no’,
    ‘first_class_12’ => ‘no’,
    ‘first_class_15’ => ‘no’,
    ‘first_class_19’ => ‘no’,
    ‘first_class_61’ => ‘no’,
    ‘first_class_53’ => ‘no’,
    ‘first_class_78’ => ‘no’,
    ‘standard_post’ => ”,
    ‘t_standard_post’ => ‘USPS 2 – 8 Days’,
    ‘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 (
    ’97a7f04cc6bccb89fa4065527f6be710′ =>
    array (
    ‘cpb-box-add-to-cart’ => ‘9073,9625,10296’,
    ‘wcpa_data’ =>
    array (
    ),
    ‘key’ => ’97a7f04cc6bccb89fa4065527f6be710′,
    ‘product_id’ => 9907,
    ‘variation_id’ => 0,
    ‘variation’ =>
    array (
    ),
    ‘quantity’ => 1,
    ‘data_hash’ => ‘790cb714c1bc1b9099914d6f15a8149b’,
    ‘cpb_custom_product_keys’ =>
    array (
    0 => ‘5df713cb0d18c4207e7e4f497d020e65’,
    1 => ‘bb4417536758634d66e0183e5cf69d32’,
    2 => ‘5803581594cc46c819edbba0276f6756’,
    ),
    ‘line_tax_data’ =>
    array (
    ‘subtotal’ =>
    array (
    ),
    ‘total’ =>
    array (
    ),
    ),
    ‘line_subtotal’ => 0.0,
    ‘line_subtotal_tax’ => 0,
    ‘line_total’ => 0.0,
    ‘line_tax’ => 0,
    ‘product’ =>
    array (
    ‘name’ => ‘Sharing is Caring’,
    ‘slug’ => ‘sharing-is-caring’,
    ‘price’ => ‘0’,
    ‘regular_price’ => ‘0.0’,
    ‘sale_price’ => ”,
    ‘weight’ => ‘1.5 lbs’,
    ‘weight_lbs’ => 1.5,
    ‘dimensions’ => ’12 x 10 x 4 in’,
    ‘dimensions_in’ => ’12 x 10 x 4′,
    ),
    ),
    ),
    ‘contents_cost’ => 15.0,
    ‘applied_coupons’ =>
    array (
    ),
    ‘user’ =>
    array (
    ‘ID’ => 1,
    ),
    ‘destination’ =>
    array (
    ‘country’ => ‘US’,
    ‘state’ => ‘FL’,
    ‘postcode’ => ‘32210’,
    ‘city’ => ‘Jacksonville’,
    ‘address’ => ”,
    ‘address_1’ => ”,
    ‘address_2’ => ”,
    ),
    ‘cart_subtotal’ => 39,
    ‘rates’ =>
    array (
    ),
    ),
    ‘requests’ =>
    array (
    ‘ONLINE’ => ‘API=RateV4&XML=
    <RateV4Request USERID=”891000005749″>
    <Revision>2</Revision>
    <Package ID=”97a7f04cc6bccb89fa4065527f6be710:1:12:10:4:1.5″>
    <Service>ONLINE</Service>
    <ZipOrigination>31558</ZipOrigination>
    <ZipDestination>32210</ZipDestination>
    <Pounds>1</Pounds>
    <Ounces>8.00</Ounces>
    <Container/>
    <Size>REGULAR</Size>
    <Width>10</Width>
    <Length>12</Length>
    <Height>4</Height>
    <Girth>28</Girth>
    <Machinable>true</Machinable>
    <ShipDate>24-Oct-2021</ShipDate>
    </Package>
    </RateV4Request>
    ‘,
    ‘STANDARD POST’ => ‘API=RateV4&XML=
    <RateV4Request USERID=”891000005749″>
    <Revision>2</Revision>
    <Package ID=”97a7f04cc6bccb89fa4065527f6be710:1:12:10:4:1.5″>
    <Service>STANDARD POST</Service>
    <ZipOrigination>31558</ZipOrigination>
    <ZipDestination>32210</ZipDestination>
    <Pounds>1</Pounds>
    <Ounces>8.00</Ounces>
    <Container/>
    <Size>REGULAR</Size>
    <Width>10</Width>
    <Length>12</Length>
    <Height>4</Height>
    <Girth>28</Girth>
    <GroundOnly>true</GroundOnly>
    <Machinable>true</Machinable>
    <ShipDate>24-Oct-2021</ShipDate>
    </Package>
    </RateV4Request>
    ‘,
    ),
    ‘responses’ =>
    array (
    ‘ONLINE’ =>
    array (
    ‘errors’ =>
    array (
    0 => ‘cURL error 28: Connection timed out after 10000 milliseconds’,
    ),
    ),
    ),
    ‘unitedResponse’ => NULL,
    ‘shownRates’ =>
    array (
    ),
    ‘eliminatedRates’ =>
    array (
    ),
    )`

    I’m having the same exact problem. I just noticed it today. The plugin has always worked flawlessly and it was just used by a customer a few days ago without any problems. Now it won’t even display any USPS shipping options available in the Cart or Checkout. I’ve disabled every other plugin and reverted to a default theme and nothing. And on top of that, with the USPS simple plugin activated, it takes about 15 seconds for the Cart page to load, and I have VPS and not shared hosting. Something is seriously wrong.

    Same problem for me… Appears to be a problem with the plugin provided USPS API user id.

    I registered for my own USPS Web Tools API account at https://www.usps.com/business/web-tools-apis/ then updated User ID in setting with the username provided by USPS. Working now.

    Justin

    Plugin Author Dan

    (@dangoodman)

    @jcgillette1, your issue is some [temporary] network problem. The error says: ‘cURL error 28: Connection timed out after 10000 milliseconds’. If you still experience the issue, please start a new thread.

    Plugin Author Dan

    (@dangoodman)

    @jahnstek, thank you for sharing your experience.

    @augustbindery, does the @jahnstek’s answer help in your case? If not, please start a new thread with the debug info provided.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘no shipping options were found’ is closed to new replies.