Shipping rates not showing
-
I have enabled the debug mode, please check. Thank you
The page I need help with: [log in to see the link]
Viewing 10 replies - 1 through 10 (of 10 total)
-
Hello, could you describe the issue?
Shipping rates not showing…
Could you bring the following details:
https://www.ads-software.com/support/topic/collecting-system-details-2/?You can try visiting the page as well…
array (<br> 'error' => NULL,<br> 'rates' => <br> array (<br> ),<br> 'settings' => <br> array (<br> 'props' => <br> array (<br> 'plugin_id' => 'woocommerce_',<br> 'id' => 'usps_simple',<br> 'errors' => <br> array (<br> ),<br> 'data' => <br> array (<br> ),<br> 'supports' => <br> array (<br> 0 => 'settings',<br> ),<br> 'method_title' => 'USPS Simple',<br> 'method_description' => 'Shows live USPS domestic rates on checkout',<br> 'enabled' => 'yes',<br> 'title' => 'USPS Simple',<br> 'rates' => <br> array (<br> ),<br> 'tax_status' => 'taxable',<br> 'fee' => NULL,<br> 'minimum_fee' => NULL,<br> 'instance_id' => 0,<br> 'instance_form_fields' => <br> array (<br> ),<br> 'instance_settings' => <br> array (<br> ),<br> 'availability' => NULL,<br> 'countries' => <br> array (<br> ),<br> 'method_order' => NULL,<br> 'has_settings' => NULL,<br> 'settings_html' => NULL,<br> 'sender' => '14806',<br> 'commercialRates' => true,<br> 'groupByWeight' => false,<br> 'apiEndpoint' => 'https://secure.shippingapis.com/ShippingAPI.dll',<br> 'apiUserId' => '891000005749',<br> ),<br> 'settings' => <br> array (<br> 'enabled' => 'yes',<br> 'sender' => '',<br> 'user_id' => '',<br> 'commercial_rate' => 'yes',<br> 'group_by_weight' => 'no',<br> 'express_mail' => '',<br> 't_express_mail' => '',<br> 'express_mail_3' => 'yes',<br> 'express_mail_2' => 'yes',<br> 'express_mail_23' => 'yes',<br> 'priority_mail' => '',<br> 't_priority_mail' => '',<br> 'priority_mail_1' => 'yes',<br> 'priority_mail_33' => 'yes',<br> 'priority_mail_18' => 'yes',<br> 'priority_mail_47' => 'yes',<br> 'priority_mail_48' => 'yes',<br> 'priority_mail_49' => 'yes',<br> 'priority_mail_50' => 'yes',<br> 'first_class' => '',<br> 't_first_class' => '',<br> 'first_class_0A' => 'yes',<br> 'first_class_12' => 'yes',<br> 'first_class_15' => 'yes',<br> 'first_class_0B' => 'yes',<br> 'first_class_78' => 'yes',<br> 'first_class_0C' => 'yes',<br> 'ground_advantage' => '',<br> 't_ground_advantage' => '',<br> 'ground_advantage_default' => 'yes',<br> 'standard_post' => '',<br> 't_standard_post' => '',<br> 'standard_post_4' => 'yes',<br> 'media_mail' => '',<br> 't_media_mail' => '',<br> 'media_mail_6' => 'no',<br> 'library_mail' => '',<br> 't_library_mail' => '',<br> 'library_mail_7' => 'no',<br> ),<br> ),<br> 'package' => <br> array (<br> 'contents' => <br> array (<br> '934f7f94d4f8d69925e3210d357f3bf8' => <br> array (<br> 'key' => '934f7f94d4f8d69925e3210d357f3bf8',<br> 'product_id' => 131,<br> 'variation_id' => 6164,<br> 'variation' => <br> array (<br> 'attribute_roast' => 'Medium Roast (Costa Rica)',<br> ),<br> 'quantity' => 2,<br> 'data_hash' => '5421cd708551da492107a0cf834da33d',<br> 'line_tax_data' => <br> array (<br> 'subtotal' => <br> array (<br> ),<br> 'total' => <br> array (<br> ),<br> ),<br> 'line_subtotal' => 39.9,<br> 'line_subtotal_tax' => 0.0,<br> 'line_total' => 39.9,<br> 'line_tax' => 0.0,<br> 'product' => <br> array (<br> 'name' => 'Coffee - Medium Roast (Costa Rica)',<br> 'slug' => 'coffee-medium-roast',<br> 'price' => '19.95',<br> 'regular_price' => '19.95',<br> 'sale_price' => '',<br> 'weight' => ' kg',<br> 'weight_lbs' => 0,<br> 'dimensions' => ' x x cm',<br> 'dimensions_in' => '0 x 0 x 0',<br> ),<br> ),<br> ),<br> 'contents_cost' => 39.9,<br> 'applied_coupons' => <br> array (<br> ),<br> 'user' => <br> array (<br> 'ID' => 2,<br> ),<br> 'destination' => <br> array (<br> 'country' => 'US',<br> 'state' => 'NY',<br> 'postcode' => '',<br> 'city' => '',<br> 'address' => '',<br> 'address_1' => '',<br> 'address_2' => '',<br> ),<br> 'cart_subtotal' => '39.9',<br> 'rates' => <br> array (<br> ),<br> ),<br> 'requests' => NULL,<br> 'request' => <br> \Dgm\UspsSimple\Calc\Request::__set_state(array(<br> 'apiUserId' => '891000005749',<br> 'package' => <br> \Dgm\UspsSimple\Calc\Package::__set_state(array(<br> 'orig' => <br> \Dgm\UspsSimple\Calc\Area::__set_state(array(<br> 'countryCode' => 'US',<br> 'zipCode' => '14806',<br> )),<br> 'dest' => <br> \Dgm\UspsSimple\Calc\Area::__set_state(array(<br> 'countryCode' => 'US',<br> 'zipCode' => '',<br> )),<br> 'items' => <br> array (<br> '934f7f94d4f8d69925e3210d357f3bf8' => <br> \Dgm\UspsSimple\Calc\Item::__set_state(array(<br> 'product' => <br> \Dgm\UspsSimple\Calc\Product::__set_state(array(<br> 'weight' => 0,<br> 'dim' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 0,<br> 'width' => 0,<br> 'height' => 0,<br> )),<br> )),<br> 'quantity' => 2,<br> )),<br> ),<br> )),<br> 'services' => <br> \Dgm\UspsSimple\Model\Services::__set_state(array(<br> 'families' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'express_mail',<br> 'title' => 'Priority Mail Express',<br> 'sort' => 0,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Express',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '3',<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Express, Hold for Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '2',<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Express, Sunday/Holiday',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '23',<br> )),<br> ),<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'priority_mail',<br> 'title' => 'Priority Mail',<br> 'sort' => 1,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '1',<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail, Hold For Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '33',<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Keys and IDs',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '18',<br> )),<br> 3 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box A',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '47',<br> )),<br> 4 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box A, Hold For Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '48',<br> )),<br> 5 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box B',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '49',<br> )),<br> 6 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box B, Hold For Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '50',<br> )),<br> ),<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'first_class',<br> 'title' => 'First-Class Mail',<br> 'sort' => 2,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Postcards',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '0A',<br> 'code' => '0',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 6,<br> 'width' => 4.25,<br> 'height' => 0.016,<br> )),<br> )),<br> 'serviceNamePattern' => 'Postcards',<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Stamped Postcards',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '12',<br> 'code' => '12',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 6,<br> 'width' => 4.25,<br> 'height' => 0.016,<br> )),<br> )),<br> 'serviceNamePattern' => '',<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Large Postcards',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '15',<br> 'code' => '15',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 6,<br> 'width' => 4.25,<br> 'height' => 0.016,<br> )),<br> )),<br> 'serviceNamePattern' => '',<br> )),<br> 3 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Letter',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '0B',<br> 'code' => '0',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 11.5,<br> 'width' => 6.125,<br> 'height' => 0.25,<br> )),<br> )),<br> 'serviceNamePattern' => 'Letter',<br> )),<br> 4 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Metered Letter',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '78',<br> 'code' => '78',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 11.5,<br> 'width' => 6.125,<br> 'height' => 0.25,<br> )),<br> )),<br> 'serviceNamePattern' => '',<br> )),<br> 5 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Large Envelope',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '0C',<br> 'code' => '0',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 11.5,<br> 'width' => 6,<br> 'height' => 0.25,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 15,<br> 'width' => 12,<br> 'height' => 0.75,<br> )),<br> )),<br> 'serviceNamePattern' => 'Large Envelope',<br> )),<br> ),<br> )),<br> 3 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'ground_advantage',<br> 'title' => 'USPS Ground Advantage',<br> 'sort' => 3,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\GroundAdvantage::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'USPS Ground Advantage',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => 'default',<br> )),<br> ),<br> )),<br> 4 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'standard_post',<br> 'title' => 'USPS Retail Ground',<br> 'sort' => 4,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'USPS Retail Ground',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '4',<br> )),<br> ),<br> )),<br> ),<br> 'retailGroundEnabled' => true,<br> )),<br> 'groupByWeight' => false,<br> 'commercialRates' => true,<br> )),<br> 'responses' => NULL,<br> 'combinedResponse' => NULL,<br>)
Thank you.
The issue is that no shipping zip code was provided.
Thanks for the help so far… Added the zip code under USPS settings, please check updated status code.
array (<br> 'error' => 'API request HTTP error. Data: {<br> "service": "ONLINE",<br> "response_type": "array",<br> "response": {<br> "headers": {},<br> "body": "<?xml version=\\"1.0\\" encoding=\\"iso-8859-1\\"?>\\n<!DOCTYPE html PUBLIC \\"-//W3C//DTD XHTML 1.0 Transitional//EN\\"\\n \\"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\">\\n<html xmlns=\\"https://www.w3.org/1999/xhtml\\" xml:lang=\\"en\\" lang=\\"en\\">\\n\\t<head>\\n\\t\\t<title>504 - Gateway Timeout</title>\\n\\t</head>\\n\\t<body>\\n\\t\\t<h1>504 - Gateway Timeout</h1>\\n\\t</body>\\n</html>\\n",<br> "response": {<br> "code": 504,<br> "message": "Gateway Timeout"<br> },<br> "cookies": [],<br> "filename": null,<br> "http_response": {<br> "data": null,<br> "headers": null,<br> "status": null<br> }<br> }<br>}.',<br> 'rates' => NULL,<br> 'settings' => <br> array (<br> 'props' => <br> array (<br> 'plugin_id' => 'woocommerce_',<br> 'id' => 'usps_simple',<br> 'errors' => <br> array (<br> ),<br> 'data' => <br> array (<br> ),<br> 'supports' => <br> array (<br> 0 => 'settings',<br> ),<br> 'method_title' => 'USPS Simple',<br> 'method_description' => 'Shows live USPS domestic rates on checkout',<br> 'enabled' => 'yes',<br> 'title' => 'USPS Simple',<br> 'rates' => <br> array (<br> ),<br> 'tax_status' => 'taxable',<br> 'fee' => NULL,<br> 'minimum_fee' => NULL,<br> 'instance_id' => 0,<br> 'instance_form_fields' => <br> array (<br> ),<br> 'instance_settings' => <br> array (<br> ),<br> 'availability' => NULL,<br> 'countries' => <br> array (<br> ),<br> 'method_order' => NULL,<br> 'has_settings' => NULL,<br> 'settings_html' => NULL,<br> 'sender' => '14806',<br> 'commercialRates' => true,<br> 'groupByWeight' => false,<br> 'apiEndpoint' => 'https://secure.shippingapis.com/ShippingAPI.dll',<br> 'apiUserId' => '891000005749',<br> ),<br> 'settings' => <br> array (<br> 'enabled' => 'yes',<br> 'sender' => '14806',<br> 'user_id' => '',<br> 'commercial_rate' => 'yes',<br> 'group_by_weight' => 'no',<br> 'express_mail' => '',<br> 't_express_mail' => '',<br> 'express_mail_3' => 'yes',<br> 'express_mail_2' => 'yes',<br> 'express_mail_23' => 'yes',<br> 'priority_mail' => '',<br> 't_priority_mail' => '',<br> 'priority_mail_1' => 'yes',<br> 'priority_mail_33' => 'yes',<br> 'priority_mail_18' => 'yes',<br> 'priority_mail_47' => 'yes',<br> 'priority_mail_48' => 'yes',<br> 'priority_mail_49' => 'yes',<br> 'priority_mail_50' => 'yes',<br> 'first_class' => '',<br> 't_first_class' => '',<br> 'first_class_0A' => 'yes',<br> 'first_class_12' => 'yes',<br> 'first_class_15' => 'yes',<br> 'first_class_0B' => 'yes',<br> 'first_class_78' => 'yes',<br> 'first_class_0C' => 'yes',<br> 'ground_advantage' => '',<br> 't_ground_advantage' => '',<br> 'ground_advantage_default' => 'yes',<br> 'standard_post' => '',<br> 't_standard_post' => '',<br> 'standard_post_4' => 'yes',<br> 'media_mail' => '',<br> 't_media_mail' => '',<br> 'media_mail_6' => 'no',<br> 'library_mail' => '',<br> 't_library_mail' => '',<br> 'library_mail_7' => 'no',<br> ),<br> ),<br> 'package' => <br> array (<br> 'contents' => <br> array (<br> '934f7f94d4f8d69925e3210d357f3bf8' => <br> array (<br> 'key' => '934f7f94d4f8d69925e3210d357f3bf8',<br> 'product_id' => 131,<br> 'variation_id' => 6164,<br> 'variation' => <br> array (<br> 'attribute_roast' => 'Medium Roast (Costa Rica)',<br> ),<br> 'quantity' => 2,<br> 'data_hash' => '5421cd708551da492107a0cf834da33d',<br> 'line_tax_data' => <br> array (<br> 'subtotal' => <br> array (<br> ),<br> 'total' => <br> array (<br> ),<br> ),<br> 'line_subtotal' => 39.9,<br> 'line_subtotal_tax' => 0.0,<br> 'line_total' => 39.9,<br> 'line_tax' => 0.0,<br> 'product' => <br> array (<br> 'name' => 'Coffee - Medium Roast (Costa Rica)',<br> 'slug' => 'coffee-medium-roast',<br> 'price' => '19.95',<br> 'regular_price' => '19.95',<br> 'sale_price' => '',<br> 'weight' => ' kg',<br> 'weight_lbs' => 0,<br> 'dimensions' => ' x x cm',<br> 'dimensions_in' => '0 x 0 x 0',<br> ),<br> ),<br> '4a08f0833f17b20fb93f01432bc42984' => <br> array (<br> 'key' => '4a08f0833f17b20fb93f01432bc42984',<br> 'product_id' => 137,<br> 'variation_id' => 6180,<br> 'variation' => <br> array (<br> 'attribute_loaf' => 'Sliced',<br> ),<br> 'quantity' => 1,<br> 'data_hash' => 'ea493b4cf9edae14cb56926964daeef8',<br> 'line_tax_data' => <br> array (<br> 'subtotal' => <br> array (<br> ),<br> 'total' => <br> array (<br> ),<br> ),<br> 'line_subtotal' => 10.0,<br> 'line_subtotal_tax' => 0.0,<br> 'line_total' => 10.0,<br> 'line_tax' => 0.0,<br> 'product' => <br> array (<br> 'name' => 'Whole Cell Wheat Bread - Sliced',<br> 'slug' => 'whole-cell-wheat-bread',<br> 'price' => '10',<br> 'regular_price' => '10',<br> 'sale_price' => '',<br> 'weight' => ' kg',<br> 'weight_lbs' => 0,<br> 'dimensions' => ' x x cm',<br> 'dimensions_in' => '0 x 0 x 0',<br> ),<br> ),<br> ),<br> 'contents_cost' => 49.9,<br> 'applied_coupons' => <br> array (<br> ),<br> 'user' => <br> array (<br> 'ID' => 2,<br> ),<br> 'destination' => <br> array (<br> 'country' => 'US',<br> 'state' => 'CA',<br> 'postcode' => '93451',<br> 'city' => 'San Miguel',<br> 'address' => 'Po Box 205',<br> 'address_1' => 'Po Box 205',<br> 'address_2' => '',<br> ),<br> 'cart_subtotal' => '49.9',<br> 'rates' => <br> array (<br> ),<br> ),<br> 'requests' => <br> \Dgm\UspsSimple\Calc\Pair::__set_state(array(<br> 'online' => 'API=RateV4&XML=<br><RateV4Request USERID="891000005749"><br> <Revision>2</Revision><br> <Package ID="934f7f94d4f8d69925e3210d357f3bf8:2:0:0:0:1"><br> <Service>ONLINE</Service><br> <ZipOrigination>14806</ZipOrigination><br> <ZipDestination>93451</ZipDestination><br> <Pounds>1</Pounds><br> <Ounces>0.00</Ounces><br> <Container/><br> <Width>0</Width><br> <Length>0</Length><br> <Height>0</Height><br> <Girth>0</Girth><br> <Machinable>true</Machinable><br> <ShipDate>19-Jun-2024</ShipDate><br> </Package><br> <Package ID="4a08f0833f17b20fb93f01432bc42984:1:0:0:0:1"><br> <Service>ONLINE</Service><br> <ZipOrigination>14806</ZipOrigination><br> <ZipDestination>93451</ZipDestination><br> <Pounds>1</Pounds><br> <Ounces>0.00</Ounces><br> <Container/><br> <Width>0</Width><br> <Length>0</Length><br> <Height>0</Height><br> <Girth>0</Girth><br> <Machinable>true</Machinable><br> <ShipDate>19-Jun-2024</ShipDate><br> </Package><br></RateV4Request><br>',<br> 'standard' => 'API=RateV4&XML=<br><RateV4Request USERID="891000005749"><br> <Revision>2</Revision><br> <Package ID="934f7f94d4f8d69925e3210d357f3bf8:2:0:0:0:1"><br> <Service>STANDARD POST</Service><br> <ZipOrigination>14806</ZipOrigination><br> <ZipDestination>93451</ZipDestination><br> <Pounds>1</Pounds><br> <Ounces>0.00</Ounces><br> <Container/><br> <Width>0</Width><br> <Length>0</Length><br> <Height>0</Height><br> <Girth>0</Girth><br> <GroundOnly>true</GroundOnly><br> <Machinable>true</Machinable><br> <ShipDate>19-Jun-2024</ShipDate><br> </Package><br> <Package ID="4a08f0833f17b20fb93f01432bc42984:1:0:0:0:1"><br> <Service>STANDARD POST</Service><br> <ZipOrigination>14806</ZipOrigination><br> <ZipDestination>93451</ZipDestination><br> <Pounds>1</Pounds><br> <Ounces>0.00</Ounces><br> <Container/><br> <Width>0</Width><br> <Length>0</Length><br> <Height>0</Height><br> <Girth>0</Girth><br> <GroundOnly>true</GroundOnly><br> <Machinable>true</Machinable><br> <ShipDate>19-Jun-2024</ShipDate><br> </Package><br></RateV4Request><br>',<br> )),<br> 'request' => <br> \Dgm\UspsSimple\Calc\Request::__set_state(array(<br> 'apiUserId' => '891000005749',<br> 'package' => <br> \Dgm\UspsSimple\Calc\Package::__set_state(array(<br> 'orig' => <br> \Dgm\UspsSimple\Calc\Area::__set_state(array(<br> 'countryCode' => 'US',<br> 'zipCode' => '14806',<br> )),<br> 'dest' => <br> \Dgm\UspsSimple\Calc\Area::__set_state(array(<br> 'countryCode' => 'US',<br> 'zipCode' => '93451',<br> )),<br> 'items' => <br> array (<br> '934f7f94d4f8d69925e3210d357f3bf8' => <br> \Dgm\UspsSimple\Calc\Item::__set_state(array(<br> 'product' => <br> \Dgm\UspsSimple\Calc\Product::__set_state(array(<br> 'weight' => 0,<br> 'dim' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 0,<br> 'width' => 0,<br> 'height' => 0,<br> )),<br> )),<br> 'quantity' => 2,<br> )),<br> '4a08f0833f17b20fb93f01432bc42984' => <br> \Dgm\UspsSimple\Calc\Item::__set_state(array(<br> 'product' => <br> \Dgm\UspsSimple\Calc\Product::__set_state(array(<br> 'weight' => 0,<br> 'dim' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 0,<br> 'width' => 0,<br> 'height' => 0,<br> )),<br> )),<br> 'quantity' => 1,<br> )),<br> ),<br> )),<br> 'services' => <br> \Dgm\UspsSimple\Model\Services::__set_state(array(<br> 'families' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'express_mail',<br> 'title' => 'Priority Mail Express',<br> 'sort' => 0,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Express',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '3',<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Express, Hold for Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '2',<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Express, Sunday/Holiday',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '23',<br> )),<br> ),<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'priority_mail',<br> 'title' => 'Priority Mail',<br> 'sort' => 1,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '1',<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail, Hold For Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '33',<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Keys and IDs',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '18',<br> )),<br> 3 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box A',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '47',<br> )),<br> 4 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box A, Hold For Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '48',<br> )),<br> 5 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box B',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '49',<br> )),<br> 6 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box B, Hold For Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '50',<br> )),<br> ),<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'first_class',<br> 'title' => 'First-Class Mail',<br> 'sort' => 2,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Postcards',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '0A',<br> 'code' => '0',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 6,<br> 'width' => 4.25,<br> 'height' => 0.016,<br> )),<br> )),<br> 'serviceNamePattern' => 'Postcards',<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Stamped Postcards',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '12',<br> 'code' => '12',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 6,<br> 'width' => 4.25,<br> 'height' => 0.016,<br> )),<br> )),<br> 'serviceNamePattern' => '',<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Large Postcards',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '15',<br> 'code' => '15',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 6,<br> 'width' => 4.25,<br> 'height' => 0.016,<br> )),<br> )),<br> 'serviceNamePattern' => '',<br> )),<br> 3 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Letter',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '0B',<br> 'code' => '0',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 11.5,<br> 'width' => 6.125,<br> 'height' => 0.25,<br> )),<br> )),<br> 'serviceNamePattern' => 'Letter',<br> )),<br> 4 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Metered Letter',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '78',<br> 'code' => '78',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 11.5,<br> 'width' => 6.125,<br> 'height' => 0.25,<br> )),<br> )),<br> 'serviceNamePattern' => '',<br> )),<br> 5 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Large Envelope',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '0C',<br> 'code' => '0',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 11.5,<br> 'width' => 6,<br> 'height' => 0.25,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 15,<br> 'width' => 12,<br> 'height' => 0.75,<br> )),<br> )),<br> 'serviceNamePattern' => 'Large Envelope',<br> )),<br> ),<br> )),<br> 3 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'ground_advantage',<br> 'title' => 'USPS Ground Advantage',<br> 'sort' => 3,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\GroundAdvantage::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'USPS Ground Advantage',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => 'default',<br> )),<br> ),<br> )),<br> 4 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'standard_post',<br> 'title' => 'USPS Retail Ground',<br> 'sort' => 4,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'USPS Retail Ground',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '4',<br> )),<br> ),<br> )),<br> ),<br> 'retailGroundEnabled' => true,<br> )),<br> 'groupByWeight' => false,<br> 'commercialRates' => true,<br> )),<br> 'responses' => NULL,<br> 'combinedResponse' => NULL,<br>)
- This reply was modified 5 months ago by jdev.
The last error is 504 Gateway Timeout. It is usually a temporary error, meaning the USPS API is unavailable. Trying again should help.
No errors but the rate isnt showing…
array (<br> 'error' => NULL,<br> 'rates' => <br> array (<br> ),<br> 'settings' => <br> array (<br> 'props' => <br> array (<br> 'plugin_id' => 'woocommerce_',<br> 'id' => 'usps_simple',<br> 'errors' => <br> array (<br> ),<br> 'data' => <br> array (<br> ),<br> 'supports' => <br> array (<br> 0 => 'settings',<br> ),<br> 'method_title' => 'USPS Simple',<br> 'method_description' => 'Shows live USPS domestic rates on checkout',<br> 'enabled' => 'yes',<br> 'title' => 'USPS Simple',<br> 'rates' => <br> array (<br> ),<br> 'tax_status' => 'taxable',<br> 'fee' => NULL,<br> 'minimum_fee' => NULL,<br> 'instance_id' => 0,<br> 'instance_form_fields' => <br> array (<br> ),<br> 'instance_settings' => <br> array (<br> ),<br> 'availability' => NULL,<br> 'countries' => <br> array (<br> ),<br> 'method_order' => NULL,<br> 'has_settings' => NULL,<br> 'settings_html' => NULL,<br> 'sender' => '14806',<br> 'commercialRates' => true,<br> 'groupByWeight' => false,<br> 'apiEndpoint' => 'https://secure.shippingapis.com/ShippingAPI.dll',<br> 'apiUserId' => '891000005749',<br> ),<br> 'settings' => <br> array (<br> 'enabled' => 'yes',<br> 'sender' => '14806',<br> 'user_id' => '',<br> 'commercial_rate' => 'yes',<br> 'group_by_weight' => 'no',<br> 'express_mail' => '',<br> 't_express_mail' => '',<br> 'express_mail_3' => 'yes',<br> 'express_mail_2' => 'yes',<br> 'express_mail_23' => 'yes',<br> 'priority_mail' => '',<br> 't_priority_mail' => '',<br> 'priority_mail_1' => 'yes',<br> 'priority_mail_33' => 'yes',<br> 'priority_mail_18' => 'yes',<br> 'priority_mail_47' => 'yes',<br> 'priority_mail_48' => 'yes',<br> 'priority_mail_49' => 'yes',<br> 'priority_mail_50' => 'yes',<br> 'first_class' => '',<br> 't_first_class' => '',<br> 'first_class_0A' => 'yes',<br> 'first_class_12' => 'yes',<br> 'first_class_15' => 'yes',<br> 'first_class_0B' => 'yes',<br> 'first_class_78' => 'yes',<br> 'first_class_0C' => 'yes',<br> 'ground_advantage' => '',<br> 't_ground_advantage' => '',<br> 'ground_advantage_default' => 'yes',<br> 'standard_post' => '',<br> 't_standard_post' => '',<br> 'standard_post_4' => 'yes',<br> 'media_mail' => '',<br> 't_media_mail' => '',<br> 'media_mail_6' => 'no',<br> 'library_mail' => '',<br> 't_library_mail' => '',<br> 'library_mail_7' => 'no',<br> ),<br> ),<br> 'package' => <br> array (<br> 'contents' => <br> array (<br> '934f7f94d4f8d69925e3210d357f3bf8' => <br> array (<br> 'key' => '934f7f94d4f8d69925e3210d357f3bf8',<br> 'product_id' => 131,<br> 'variation_id' => 6164,<br> 'variation' => <br> array (<br> 'attribute_roast' => 'Medium Roast (Costa Rica)',<br> ),<br> 'quantity' => 2,<br> 'data_hash' => '5421cd708551da492107a0cf834da33d',<br> 'line_tax_data' => <br> array (<br> 'subtotal' => <br> array (<br> ),<br> 'total' => <br> array (<br> ),<br> ),<br> 'line_subtotal' => 39.9,<br> 'line_subtotal_tax' => 0.0,<br> 'line_total' => 39.9,<br> 'line_tax' => 0.0,<br> 'product' => <br> array (<br> 'name' => 'Coffee - Medium Roast (Costa Rica)',<br> 'slug' => 'coffee-medium-roast',<br> 'price' => '19.95',<br> 'regular_price' => '19.95',<br> 'sale_price' => '',<br> 'weight' => ' kg',<br> 'weight_lbs' => 0,<br> 'dimensions' => ' x x cm',<br> 'dimensions_in' => '0 x 0 x 0',<br> ),<br> ),<br> '4a08f0833f17b20fb93f01432bc42984' => <br> array (<br> 'key' => '4a08f0833f17b20fb93f01432bc42984',<br> 'product_id' => 137,<br> 'variation_id' => 6180,<br> 'variation' => <br> array (<br> 'attribute_loaf' => 'Sliced',<br> ),<br> 'quantity' => 1,<br> 'data_hash' => 'ea493b4cf9edae14cb56926964daeef8',<br> 'line_tax_data' => <br> array (<br> 'subtotal' => <br> array (<br> ),<br> 'total' => <br> array (<br> ),<br> ),<br> 'line_subtotal' => 10.0,<br> 'line_subtotal_tax' => 0.0,<br> 'line_total' => 10.0,<br> 'line_tax' => 0.0,<br> 'product' => <br> array (<br> 'name' => 'Whole Cell Wheat Bread - Sliced',<br> 'slug' => 'whole-cell-wheat-bread',<br> 'price' => '10',<br> 'regular_price' => '10',<br> 'sale_price' => '',<br> 'weight' => ' kg',<br> 'weight_lbs' => 0,<br> 'dimensions' => ' x x cm',<br> 'dimensions_in' => '0 x 0 x 0',<br> ),<br> ),<br> ),<br> 'contents_cost' => 49.9,<br> 'applied_coupons' => <br> array (<br> ),<br> 'user' => <br> array (<br> 'ID' => 2,<br> ),<br> 'destination' => <br> array (<br> 'country' => 'US',<br> 'state' => 'NY',<br> 'postcode' => '',<br> 'city' => '',<br> 'address' => '',<br> 'address_1' => '',<br> 'address_2' => '',<br> ),<br> 'cart_subtotal' => '49.9',<br> 'rates' => <br> array (<br> ),<br> ),<br> 'requests' => NULL,<br> 'request' => <br> \Dgm\UspsSimple\Calc\Request::__set_state(array(<br> 'apiUserId' => '891000005749',<br> 'package' => <br> \Dgm\UspsSimple\Calc\Package::__set_state(array(<br> 'orig' => <br> \Dgm\UspsSimple\Calc\Area::__set_state(array(<br> 'countryCode' => 'US',<br> 'zipCode' => '14806',<br> )),<br> 'dest' => <br> \Dgm\UspsSimple\Calc\Area::__set_state(array(<br> 'countryCode' => 'US',<br> 'zipCode' => '',<br> )),<br> 'items' => <br> array (<br> '934f7f94d4f8d69925e3210d357f3bf8' => <br> \Dgm\UspsSimple\Calc\Item::__set_state(array(<br> 'product' => <br> \Dgm\UspsSimple\Calc\Product::__set_state(array(<br> 'weight' => 0,<br> 'dim' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 0,<br> 'width' => 0,<br> 'height' => 0,<br> )),<br> )),<br> 'quantity' => 2,<br> )),<br> '4a08f0833f17b20fb93f01432bc42984' => <br> \Dgm\UspsSimple\Calc\Item::__set_state(array(<br> 'product' => <br> \Dgm\UspsSimple\Calc\Product::__set_state(array(<br> 'weight' => 0,<br> 'dim' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 0,<br> 'width' => 0,<br> 'height' => 0,<br> )),<br> )),<br> 'quantity' => 1,<br> )),<br> ),<br> )),<br> 'services' => <br> \Dgm\UspsSimple\Model\Services::__set_state(array(<br> 'families' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'express_mail',<br> 'title' => 'Priority Mail Express',<br> 'sort' => 0,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Express',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '3',<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Express, Hold for Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '2',<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Express, Sunday/Holiday',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '23',<br> )),<br> ),<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'priority_mail',<br> 'title' => 'Priority Mail',<br> 'sort' => 1,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '1',<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail, Hold For Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '33',<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Keys and IDs',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '18',<br> )),<br> 3 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box A',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '47',<br> )),<br> 4 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box A, Hold For Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '48',<br> )),<br> 5 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box B',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '49',<br> )),<br> 6 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'Priority Mail Regional Rate Box B, Hold For Pickup',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '50',<br> )),<br> ),<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'first_class',<br> 'title' => 'First-Class Mail',<br> 'sort' => 2,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Postcards',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '0A',<br> 'code' => '0',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 6,<br> 'width' => 4.25,<br> 'height' => 0.016,<br> )),<br> )),<br> 'serviceNamePattern' => 'Postcards',<br> )),<br> 1 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Stamped Postcards',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '12',<br> 'code' => '12',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 6,<br> 'width' => 4.25,<br> 'height' => 0.016,<br> )),<br> )),<br> 'serviceNamePattern' => '',<br> )),<br> 2 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Large Postcards',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '15',<br> 'code' => '15',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 6,<br> 'width' => 4.25,<br> 'height' => 0.016,<br> )),<br> )),<br> 'serviceNamePattern' => '',<br> )),<br> 3 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Letter',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '0B',<br> 'code' => '0',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 11.5,<br> 'width' => 6.125,<br> 'height' => 0.25,<br> )),<br> )),<br> 'serviceNamePattern' => 'Letter',<br> )),<br> 4 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Metered Letter',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '78',<br> 'code' => '78',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 5,<br> 'width' => 3.5,<br> 'height' => 0.007,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 11.5,<br> 'width' => 6.125,<br> 'height' => 0.25,<br> )),<br> )),<br> 'serviceNamePattern' => '',<br> )),<br> 5 => <br> \Dgm\UspsSimple\Model\FirstClass::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'First-Class Mail Large Envelope',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '0C',<br> 'code' => '0',<br> 'fitFn' => <br> \Dgm\UspsSimple\Model\FitMinMax::__set_state(array(<br> 'min' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 11.5,<br> 'width' => 6,<br> 'height' => 0.25,<br> )),<br> 'max' => <br> \Dgm\UspsSimple\Calc\Dim::__set_state(array(<br> 'length' => 15,<br> 'width' => 12,<br> 'height' => 0.75,<br> )),<br> )),<br> 'serviceNamePattern' => 'Large Envelope',<br> )),<br> ),<br> )),<br> 3 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'ground_advantage',<br> 'title' => 'USPS Ground Advantage',<br> 'sort' => 3,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\GroundAdvantage::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'USPS Ground Advantage',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => 'default',<br> )),<br> ),<br> )),<br> 4 => <br> \Dgm\UspsSimple\Model\ServiceFamily::__set_state(array(<br> 'id' => 'standard_post',<br> 'title' => 'USPS Retail Ground',<br> 'sort' => 4,<br> 'services' => <br> array (<br> 0 => <br> \Dgm\UspsSimple\Model\RegularService::__set_state(array(<br> 'family' => NULL,<br> 'title' => 'USPS Retail Ground',<br> 'alwaysUseCommercialRate' => NULL,<br> 'enabled' => true,<br> 'id' => '4',<br> )),<br> ),<br> )),<br> ),<br> 'retailGroundEnabled' => true,<br> )),<br> 'groupByWeight' => false,<br> 'commercialRates' => true,<br> )),<br> 'responses' => NULL,<br> 'combinedResponse' => NULL,<br>)
You have to provide a zip code when placing an order.
Its working now, thanks.
- This reply was modified 4 months, 3 weeks ago by jdev.
Viewing 10 replies - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.