Plugin stopped working this morning
-
USPS Simple Shipping for Woocommerce
The page I need help with: [log in to see the link]
-
The USPS API stopped accepting the default User ID for some reason. So we have replaced it with a new one. Please update to the 1.5.6 version just released. Let me know if you have any issues with it.
Updating to the new version 1.5.6 got mine working 🙂
“Please update to the 1.5.6 version just released. Let me know if you have any issues with it.”
Thanks Dan 🙂Great! Thank you for your prompt response.
Hello,
I’m still facing issue after updated plugin 1.5.6. Can you please help me?
https://www.santopseal.com/Hello @devaldarji91,
Could you post your question to a new thread and 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.Thanks for your quick reply.Â
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 => 'yes', 2 => 'yes', 23 => 'yes', 1 => 'yes', 33 => 'no', 18 => 'no', 47 => 'no', 48 => 'no', 49 => 'no', 50 => 'no', '0A' => 'yes', '0B' => 'yes', '0C' => 'yes', '0D' => 'yes', 12 => 'yes', 15 => 'yes', 19 => 'yes', 61 => 'yes', 53 => 'yes', 78 => 'yes', 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' => '15031', 'userId' => '904SKYWO3126', '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 (USPS Simple)', 't_library_mail' => 'Library Mail (USPS Simple)', ), 'settings' => array ( 'enabled' => 'yes', 'sender' => '15031', 'user_id' => '904SKYWO3126', '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' => '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 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_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 (USPS Simple)', 'media_mail_6' => 'no', 'library_mail' => '', 't_library_mail' => 'Library Mail (USPS Simple)', 'library_mail_7' => 'no', ), ), 'package' => array ( 'contents' => array ( '12901da132c6e70709ced09a8c7567b5' => array ( 'key' => '12901da132c6e70709ced09a8c7567b5', 'product_id' => 4305, 'variation_id' => 4867, 'variation' => array ( 'attribute_pa_73a-fda-tubing-wall-natural' => '1-8-id-x-5-16-od-x-3-32', ), 'quantity' => 1, 'data_hash' => '2a3b3bb50cc2d454e5ae6a0b053d4db0', 'line_tax_data' => array ( 'subtotal' => array ( ), 'total' => array ( ), ), 'line_subtotal' => 30.5799999999999982946974341757595539093017578125, 'line_subtotal_tax' => 0, 'line_total' => 30.5799999999999982946974341757595539093017578125, 'line_tax' => 0, 'product' => array ( 'name' => 'Santoprene TPE/TPV 73A FDA Tubing - 1/8" ID X 5/16" OD X 3/32"', 'slug' => 'santoprene-tpe-tpv-73a-fda-tubing-1-8-id-x-5-16-od-x-3-32', 'price' => '30.58', 'regular_price' => '30.58', 'sale_price' => '', 'weight' => '2 lbs', 'weight_lbs' => 2.0, 'dimensions' => ' x x in', 'dimensions_in' => ' x x ', ), ), ), 'contents_cost' => 30.5799999999999982946974341757595539093017578125, 'applied_coupons' => array ( ), 'user' => array ( 'ID' => 0, ), 'destination' => array ( 'country' => 'US', 'state' => '', 'postcode' => '', 'city' => '', 'address' => '', 'address_1' => '', 'address_2' => '', ), 'cart_subtotal' => '30.58', 'rates' => array ( ), ), 'requests' => array ( 'ONLINE' => 'API=RateV4&XML= <RateV4Request USERID="904SKYWO3126"> <Revision>2</Revision> <Package ID="12901da132c6e70709ced09a8c7567b5:1::::2"> <Service>ONLINE</Service> <ZipOrigination>15031</ZipOrigination> <ZipDestination/> <Pounds>2</Pounds> <Ounces>0.00</Ounces> <Container/> <Size>REGULAR</Size> <Width/> <Length/> <Height/> <Girth>0</Girth> <Machinable>true</Machinable> <ShipDate>07-Oct-2021</ShipDate> </Package> </RateV4Request> ', 'STANDARD POST' => 'API=RateV4&XML= <RateV4Request USERID="904SKYWO3126"> <Revision>2</Revision> <Package ID="12901da132c6e70709ced09a8c7567b5:1::::2"> <Service>STANDARD POST</Service> <ZipOrigination>15031</ZipOrigination> <ZipDestination/> <Pounds>2</Pounds> <Ounces>0.00</Ounces> <Container/> <Size>REGULAR</Size> <Width/> <Length/> <Height/> <Girth>0</Girth> <GroundOnly>true</GroundOnly> <Machinable>true</Machinable> <ShipDate>07-Oct-2021</ShipDate> </Package> </RateV4Request> ', ), 'responses' => array ( 'ONLINE' => array ( 'headers' => Requests_Utility_CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'x-backside-transport' => 'OK OK', 'host' => '127.0.0.1:2048', 'user-agent' => 'WordPress/5.8.1; https://www.santopseal.com', 'referer' => 'https://secure.shippingapis.com/ShippingAPI.dll', 'cneonction' => 'close', 'content-type' => 'text/xml', 'client-ip' => '192.185.4.44', 'via' => '1.1 ApplicationError_XML_Firewall', 'x-client-ip' => '56.0.33.9,56.0.33.9', 'x-global-transaction-id' => '8ac205fb615d7ba1e56d607d', 'ns-client-ip' => '192.185.4.44', 'x-archived-client-ip' => '56.0.33.9', 'date' => 'Wed, 06 Oct 2021 10:34:09 GMT', 'access-control-allow-origin' => '*', 'ntcoent-length' => '211', 'strict-transport-security' => 'max-age=31536000; includeSubDomains', 'x-frame-options' => 'SAMEORIGIN', 'content-encoding' => 'gzip', 'content-length' => '182', ), )), 'body' => '<?xml version="1.0" encoding="UTF-8"?> <Error> <Number>80040B1A</Number> <Description>Authorization failure. You are not authorized to connect to this server.</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 ( 'x-backside-transport' => 'OK OK', 'host' => '127.0.0.1:2048', 'user-agent' => 'WordPress/5.8.1; https://www.santopseal.com', 'referer' => 'https://secure.shippingapis.com/ShippingAPI.dll', 'cneonction' => 'close', 'content-type' => 'text/xml', 'client-ip' => '192.185.4.44', 'via' => '1.1 ApplicationError_XML_Firewall', 'x-client-ip' => '56.0.33.9,56.0.33.9', 'x-global-transaction-id' => 'ce7aa452615d7ba2dfe83ef3', 'ns-client-ip' => '192.185.4.44', 'x-archived-client-ip' => '56.0.33.9', 'date' => 'Wed, 06 Oct 2021 10:34:10 GMT', 'access-control-allow-origin' => '*', 'ntcoent-length' => '211', 'strict-transport-security' => 'max-age=31536000; includeSubDomains', 'x-frame-options' => 'SAMEORIGIN', 'content-encoding' => 'gzip', 'content-length' => '182', ), )), 'body' => '<?xml version="1.0" encoding="UTF-8"?> <Error> <Number>80040B1A</Number> <Description>Authorization failure. You are not authorized to connect to this server.</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. You are not authorized to connect to this server.</Description> <Source>USPSCOM::DoAuth</Source> </Error> ', 'shownRates' => array ( ), 'eliminatedRates' => array ( ), )Also, please check this screenshot – http://prntscr.com/1v0c5k6.
-
This reply was modified 4 years, 8 months ago by
Steven Stern (sterndata).
@devaldarji91, thank you. It seems the old User ID is saved in your settings. Could you make sure the User ID field is empty?
I have updated the old User ID to the new one. Now it is working fine.
Thanks for your support.
-
This reply was modified 4 years, 8 months ago by
The topic ‘Plugin stopped working this morning’ is closed to new replies.