All shipping is restricted to USPS Priority Mail. The one that works works correctly.
I have included the debug information for one product below.
`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 => ‘no’,
2 => ‘no’,
23 => ‘no’,
1 => ‘yes’,
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’,
‘0E’ => ‘no’,
61 => ‘no’,
53 => ‘no’,
78 => ‘no’,
4 => ‘no’,
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’ => ‘64730’,
‘userId’ => ‘832SACRE2205’,
‘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 Retail Ground (USPS Simple)’,
‘t_media_mail’ => ‘Media Mail (USPS Simple)’,
‘t_library_mail’ => ‘Library Mail (USPS Simple)’,
),
‘settings’ =>
array (
‘enabled’ => ‘yes’,
‘sender’ => ‘64730’,
‘user_id’ => ‘832SACRE2205’,
‘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’ => ‘yes’,
‘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_0E’ => ‘no’,
‘first_class_61’ => ‘no’,
‘first_class_53’ => ‘no’,
‘first_class_78’ => ‘no’,
‘standard_post’ => ”,
‘t_standard_post’ => ”,
‘standard_post_4’ => ‘no’,
‘media_mail’ => ”,
‘t_media_mail’ => ”,
‘media_mail_6’ => ‘no’,
‘library_mail’ => ”,
‘t_library_mail’ => ”,
‘library_mail_7’ => ‘no’,
),
),
‘package’ =>
array (
‘contents’ =>
array (
‘c4fa7aecedac73641320d24d5bf3bf38’ =>
array (
‘key’ => ‘c4fa7aecedac73641320d24d5bf3bf38’,
‘product_id’ => 3613,
‘variation_id’ => 0,
‘variation’ =>
array (
),
‘quantity’ => 1,
‘data_hash’ => ‘b5c1d5ca8bae6d4896cf1807cdf763f0’,
‘line_tax_data’ =>
array (
‘subtotal’ =>
array (
),
‘total’ =>
array (
),
),
‘line_subtotal’ => 35.0,
‘line_subtotal_tax’ => 0,
‘line_total’ => 35.0,
‘line_tax’ => 0,
‘product’ =>
array (
‘name’ => ‘Sacred Well Elemental Coins’,
‘slug’ => ‘sacred-well-elemental-coins’,
‘price’ => ’35’,
‘regular_price’ => ’35’,
‘sale_price’ => ”,
‘weight’ => ‘.25 kg’,
‘weight_lbs’ => 0.55115499999999995051069845430902205407619476318359375,
‘dimensions’ => ’20 x 5 x 0.6 cm’,
‘dimensions_in’ => ‘7.874 x 1.9685 x 0.23622’,
),
),
),
‘contents_cost’ => 35.0,
‘applied_coupons’ =>
array (
),
‘user’ =>
array (
‘ID’ => 1,
),
‘destination’ =>
array (
‘country’ => ‘US’,
‘state’ => ‘IL’,
‘postcode’ => ‘62454’,
‘city’ => ‘Robinson’,
‘address’ => ‘305 S King St.’,
‘address_1’ => ‘305 S King St.’,
‘address_2’ => ”,
),
‘cart_subtotal’ => ’35’,
‘rates’ =>
array (
),
),
‘requests’ =>
array (
‘ONLINE’ => ‘API=RateV4&XML=
<RateV4Request USERID=”832SACRE2205″>
<Revision>2</Revision>
<Package ID=”c4fa7aecedac73641320d24d5bf3bf38:1:7.874:1.9685:0.23622:0.551155″>
<Service>ONLINE</Service>
<ZipOrigination>64730</ZipOrigination>
<ZipDestination>62454</ZipDestination>
<Pounds>0</Pounds>
<Ounces>8.82</Ounces>
<Container/>
<Size>REGULAR</Size>
<Width>1.9685</Width>
<Length>7.874</Length>
<Height>0.23622</Height>
<Girth>4</Girth>
<Machinable>true</Machinable>
<ShipDate>19-Jul-2022</ShipDate>
</Package>
</RateV4Request>
‘,
‘STANDARD POST’ => ‘API=RateV4&XML=
<RateV4Request USERID=”832SACRE2205″>
<Revision>2</Revision>
<Package ID=”c4fa7aecedac73641320d24d5bf3bf38:1:7.874:1.9685:0.23622:0.551155″>
<Service>STANDARD POST</Service>
<ZipOrigination>64730</ZipOrigination>
<ZipDestination>62454</ZipDestination>
<Pounds>0</Pounds>
<Ounces>8.82</Ounces>
<Container/>
<Size>REGULAR</Size>
<Width>1.9685</Width>
<Length>7.874</Length>
<Height>0.23622</Height>
<Girth>4</Girth>
<GroundOnly>true</GroundOnly>
<Machinable>true</Machinable>
<ShipDate>19-Jul-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’ => ‘Mon, 18 Jul 2022 16:59:28 GMT’,
‘ntcoent-length’ => ‘363’,
‘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’ => ‘e41d617462d5917c4796569f’,
‘x-powered-by’ => ‘ASP.NET’,
‘x-ruleset-version’ => ‘1.0’,
‘content-length’ => ‘284’,
),
)),
‘body’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
<RateV4Response>
<Package ID=”c4fa7aecedac73641320d24d5bf3bf38:1:7.874:1.9685:0.23622:0.551155″>
<Error>
<Number>-2147219385</Number>
<Source>DomPostageLibrary;RateV4.ProcessRequest</Source>
<Description>The entered cubic feet value 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’ => ‘Mon, 18 Jul 2022 16:59:20 GMT’,
‘ntcoent-length’ => ‘2976’,
‘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’ => ‘ce7aa45262d5917d9602342f’,
‘x-powered-by’ => ‘ASP.NET’,
‘x-ruleset-version’ => ‘1.0’,
‘content-length’ => ‘669’,
),
)),
‘body’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
<RateV4Response>
<Package ID=”c4fa7aecedac73641320d24d5bf3bf38:1:7.874:1.9685:0.23622:0.551155″>
<ZipOrigination>64730</ZipOrigination>
<ZipDestination>62454</ZipDestination>
<Pounds>0</Pounds>
<Ounces>8.82</Ounces>
<Container>VARIABLE</Container>
<Machinable>TRUE</Machinable>
<Zone>4</Zone>
<Postage CLASSID=”4″>
<MailService>USPS Retail Ground<sup>®</sup></MailService>
<Rate>9.25</Rate>
<SpecialServices>
<SpecialService>
<ServiceID>104</ServiceID>
<ServiceName>Certificate of Mailing (Form 3817)</ServiceName>
<Available>true</Available>
<Price>1.75</Price>
</SpecialService>
<SpecialService>
<ServiceID>103</ServiceID>
<ServiceName>Collect on Delivery</ServiceName>
<Available>true</Available>
<Price>9.20</Price>
<DeclaredValueRequired>true</DeclaredValueRequired>
<DueSenderRequired>false</DueSenderRequired>
</SpecialService>
<SpecialService>
<ServiceID>175</ServiceID>
<ServiceName>Collect on Delivery Restricted Delivery</ServiceName>
<Available>true</Available>
<Price>15.45</Price>
<DeclaredValueRequired>true</DeclaredValueRequired>
<DueSenderRequired>false</DueSenderRequired>
</SpecialService>
<SpecialService>
<ServiceID>100</ServiceID>
<ServiceName>Insurance</ServiceName>
<Available>true</Available>
<Price>2.60</Price>
<DeclaredValueRequired>true</DeclaredValueRequired>
<DueSenderRequired>false</DueSenderRequired>
</SpecialService>
<SpecialService>
<ServiceID>177</ServiceID>
<ServiceName>Insurance Restricted Delivery</ServiceName>
<Available>true</Available>
<Price>17.25</Price>
<DeclaredValueRequired>true</DeclaredValueRequired>
<DueSenderRequired>false</DueSenderRequired>
</SpecialService>
<SpecialService>
<ServiceID>108</ServiceID>
<ServiceName>Signature Confirmation<sup>™</sup></ServiceName>
<Available>true</Available>
<Price>3.65</Price>
</SpecialService>
<SpecialService>
<ServiceID>173</ServiceID>
<ServiceName>Signature Confirmation<sup>™</sup> Restricted Delivery</ServiceName>
<Available>true</Available>
<Price>9.90</Price>
</SpecialService>
<SpecialService>
<ServiceID>156</ServiceID>
<ServiceName>Signature Confirmation<sup>™</sup> Electronic</ServiceName>
<Available>true</Available>
<Price>3.10</Price>
</SpecialService>
<SpecialService>
<ServiceID>174</ServiceID>
<ServiceName>Signature Confirmation<sup>™</sup> Electronic Restricted Delivery</ServiceName>
<Available>true</Available>
<Price>9.35</Price>
</SpecialService>
<SpecialService>
<ServiceID>106</ServiceID>
<ServiceName>USPS Tracking<sup>®</sup></ServiceName>
<Available>true</Available>
<Price>0.00</Price>
</SpecialService>
<SpecialService>
<ServiceID>155</ServiceID>
<ServiceName>USPS Tracking<sup>®</sup> Electronic</ServiceName>
<Available>true</Available>
<Price>0.00</Price>
</SpecialService>
</SpecialServices>
</Postage>
</Package>
</RateV4Response>
‘,
‘response’ =>
array (
‘code’ => 200,
‘message’ => ‘OK’,
),
‘cookies’ =>
array (
),
‘filename’ => NULL,
),
),
‘unitedResponse’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
<RateV4Response>
<Package ID=”c4fa7aecedac73641320d24d5bf3bf38:1:7.874:1.9685:0.23622:0.551155″>
<Error>
<Number>-2147219385</Number>
<Source>DomPostageLibrary;RateV4.ProcessRequest</Source>
<Description>The entered cubic feet value must be greater than 0</Description>
<HelpFile/>
<HelpContext/>
</Error>
<Postage CLASSID=”4″>
<MailService>USPS Retail Ground<sup>?</sup></MailService>
<Rate>9.25</Rate>
</Postage>
</Package>
</RateV4Response>
‘,
‘shownRates’ =>
array (
),
‘eliminatedRates’ =>
array (
),
)`
In a sample order for the same product, our Shipping Debug shows that the product does not fit in the appropriate size category although it clearly does: https://i.ibb.co/VxkvLKq/Screen-Shot-2019-08-26-at-3-56-32-PM.png.
Any idea why this is happening?
Thanks!
Luke
If I add one 15oz product to the cart, the shipping estimate shows options I’m expecting, both first class and Priority Mail. However, if I update the cart to two 15 Oz products (or simply start w/adding two 15oz products), the shipping options still show first class shipping as well as priority mail. However, the first class shipping cost has now doubled because of the two 15 Oz items.
In the setting Woocommerce > Settings > Shipping > Shipping Zones > USA > Packaging, I have this option selected “Pack items together, in as few packages as possible.”
What I would like to do in this situation, is have the cart and check out pages show only Priority Mail as an option because both items will be packaged together in one mailer or one box and with 2 (or more) 15oz items, it’s over the limit for first class. In other words, not two different first class shipments as an option.
How do I do this?
]]>I check-marked the following 4:
First Class Mail Parcel
Priority Mail
First Class Mail International Large Envelope
Priority Mail International
I also selected to “offer the customer all returned rates”… but when I try to checkout, it only offers the Priority option, whether I checkout as a U.S. or international member.
Any help? I would like it to show a First Class and a Priority price to a customer, so they can make their selection. Any help on this?
https://www.ads-software.com/plugins/woo-usps-shipping-method/
]]>The only option I have selected is for Priority Mail. I have used my User ID as well as the default ID and the same thing happens. I have tried selecting and unselecting options and cannot get this to work. What am I doing wrong?
https://www.ads-software.com/plugins/woo-usps-simple-shipping/
]]>I have USPS set as shipping and only Priority Mail options checked. I have put in my USPS API username and not the login username.
The weight is set on the products.
When I go to checkout, it gives me all the four Priority Mail options to pick of listing the correct Priority Mail that should be chosen for by the weight of the product.
Is it my setting or am I not connecting to the usps server.
Thank you
Kimberly
https://www.ads-software.com/plugins/wordpress-ecommerce/
]]>https://www.ads-software.com/plugins/eshop/
]]>