• Resolved alpinisto

    (@alpinisto)


    Hi, this is on a development site where I’ve matched everything to the live site. We have this plugin installed, I have tried it with our ID and also your default one. I can’t get USPS to show up as a shipping method when setting up a Zone.

    The domain above is the development site.

    Below is the debug report:

    array ( 'error' => NULL, 'rates' => array ( ), 'settings' => array ( 'props' => array ( 'sender' => '20878', 'commercialRates' => true, 'groupByWeight' => true, 'apiEndpoint' => 'https://secure.shippingapis.com/ShippingAPI.dll', 'apiUserId' => '767OSTEO6849', 'supports' => array ( 0 => 'settings', ), 'id' => 'usps_simple', 'method_title' => 'USPS Simple', 'method_description' => 'Shows live USPS domestic rates on 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 ( ), 'method_order' => NULL, 'has_settings' => NULL, 'settings_html' => NULL, 'plugin_id' => 'woocommerce_', 'errors' => array ( ), 'data' => array ( ), ), 'settings' => array ( 'enabled' => 'yes', 'sender' => '20878', 'user_id' => '767OSTEO6849', 'commercial_rate' => 'yes', 'group_by_weight' => 'yes', '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' => '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_0A' => 'yes', 'first_class_12' => 'yes', 'first_class_15' => 'yes', 'first_class_0B' => 'yes', 'first_class_78' => 'yes', 'first_class_0C' => 'yes', 'ground_advantage' => '', 't_ground_advantage' => '', 'ground_advantage_default' => 'yes', '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 ( '1b1eb7fd4272643794d9131bac3a67c4' => array ( 'key' => '1b1eb7fd4272643794d9131bac3a67c4', 'product_id' => 6230, 'variation_id' => 6231, 'variation' => array ( 'attribute_select' => 'Large', ), 'quantity' => 1, 'data_hash' => 'db7e393e53d013b3066690e5ad1fcdf2', 'line_tax_data' => array ( 'subtotal' => array ( ), 'total' => array ( ), ), 'line_subtotal' => 22.0, 'line_subtotal_tax' => 0.0, 'line_total' => 22.0, 'line_tax' => 0.0, 'product' => array ( 'name' => 'Unbreakable Spirit Wristband (Pack of 10)', 'slug' => 'unbreakable-spirit-wristband-pack-of-10', 'price' => '22', 'regular_price' => '22', 'sale_price' => '', 'weight' => '3 oz', 'weight_lbs' => 0.187499624069999981657019816339015960693359375, 'dimensions' => ' x x in', 'dimensions_in' => '0 x 0 x 0', ), ), ), 'contents_cost' => 22.0, 'applied_coupons' => array ( ), 'user' => array ( 'ID' => 3, ), 'destination' => array ( 'country' => 'US', 'state' => 'CO', 'postcode' => '', 'city' => '', 'address' => '', 'address_1' => '', 'address_2' => '', ), 'cart_subtotal' => '22', 'rates' => array ( ), ), 'requests' => NULL, 'request' => Dgm\UspsSimple\Calc\Request::__set_state(array( 'apiUserId' => '767OSTEO6849', 'package' => Dgm\UspsSimple\Calc\Package::__set_state(array( 'orig' => Dgm\UspsSimple\Calc\Area::__set_state(array( 'countryCode' => 'US', 'zipCode' => '20878', )), 'dest' => Dgm\UspsSimple\Calc\Area::__set_state(array( 'countryCode' => 'US', 'zipCode' => '', )), 'items' => array ( '1b1eb7fd4272643794d9131bac3a67c4' => Dgm\UspsSimple\Calc\Item::__set_state(array( 'product' => Dgm\UspsSimple\Calc\Product::__set_state(array( 'weight' => 0.187499624069999981657019816339015960693359375, 'dim' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 0, 'width' => 0, 'height' => 0, )), )), 'quantity' => 1, )), ), )), 'services' => Dgm\UspsSimple\Model\Services::__set_state(array( 'families' => array ( 1 => Dgm\UspsSimple\Model\ServiceFamily::__set_state(array( 'id' => 'priority_mail', 'title' => 'Priority Mail', 'sort' => 1, 'services' => array ( 0 => Dgm\UspsSimple\Model\RegularService::__set_state(array( 'family' => NULL, 'title' => 'Priority Mail', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '1', )), 1 => Dgm\UspsSimple\Model\RegularService::__set_state(array( 'family' => NULL, 'title' => 'Priority Mail, Hold For Pickup', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '33', )), 2 => Dgm\UspsSimple\Model\RegularService::__set_state(array( 'family' => NULL, 'title' => 'Priority Mail Keys and IDs', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '18', )), 3 => Dgm\UspsSimple\Model\RegularService::__set_state(array( 'family' => NULL, 'title' => 'Priority Mail Regional Rate Box A', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '47', )), 4 => Dgm\UspsSimple\Model\RegularService::__set_state(array( 'family' => NULL, 'title' => 'Priority Mail Regional Rate Box A, Hold For Pickup', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '48', )), 5 => Dgm\UspsSimple\Model\RegularService::__set_state(array( 'family' => NULL, 'title' => 'Priority Mail Regional Rate Box B', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '49', )), 6 => Dgm\UspsSimple\Model\RegularService::__set_state(array( 'family' => NULL, 'title' => 'Priority Mail Regional Rate Box B, Hold For Pickup', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '50', )), ), )), 2 => Dgm\UspsSimple\Model\ServiceFamily::__set_state(array( 'id' => 'first_class', 'title' => 'First-Class Mail', 'sort' => 2, 'services' => array ( 0 => Dgm\UspsSimple\Model\FirstClass::__set_state(array( 'code' => '0', 'fitFn' => Dgm\UspsSimple\Model\FitMinMax::__set_state(array( 'min' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 5, 'width' => 3.5, 'height' => 0.007000000000000000145716771982051795930601656436920166015625, )), 'max' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 6, 'width' => 4.25, 'height' => 0.01600000000000000033306690738754696212708950042724609375, )), )), 'serviceNamePattern' => 'Postcards', 'family' => NULL, 'title' => 'First-Class Mail Postcards', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '0A', )), 1 => Dgm\UspsSimple\Model\FirstClass::__set_state(array( 'code' => '12', 'fitFn' => Dgm\UspsSimple\Model\FitMinMax::__set_state(array( 'min' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 5, 'width' => 3.5, 'height' => 0.007000000000000000145716771982051795930601656436920166015625, )), 'max' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 6, 'width' => 4.25, 'height' => 0.01600000000000000033306690738754696212708950042724609375, )), )), 'serviceNamePattern' => '', 'family' => NULL, 'title' => 'First-Class Mail Stamped Postcards', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '12', )), 2 => Dgm\UspsSimple\Model\FirstClass::__set_state(array( 'code' => '15', 'fitFn' => Dgm\UspsSimple\Model\FitMinMax::__set_state(array( 'min' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 5, 'width' => 3.5, 'height' => 0.007000000000000000145716771982051795930601656436920166015625, )), 'max' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 6, 'width' => 4.25, 'height' => 0.01600000000000000033306690738754696212708950042724609375, )), )), 'serviceNamePattern' => '', 'family' => NULL, 'title' => 'First-Class Mail Large Postcards', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '15', )), 3 => Dgm\UspsSimple\Model\FirstClass::__set_state(array( 'code' => '0', 'fitFn' => Dgm\UspsSimple\Model\FitMinMax::__set_state(array( 'min' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 5, 'width' => 3.5, 'height' => 0.007000000000000000145716771982051795930601656436920166015625, )), 'max' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 11.5, 'width' => 6.125, 'height' => 0.25, )), )), 'serviceNamePattern' => 'Letter', 'family' => NULL, 'title' => 'First-Class Mail Letter', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '0B', )), 4 => Dgm\UspsSimple\Model\FirstClass::__set_state(array( 'code' => '78', 'fitFn' => Dgm\UspsSimple\Model\FitMinMax::__set_state(array( 'min' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 5, 'width' => 3.5, 'height' => 0.007000000000000000145716771982051795930601656436920166015625, )), 'max' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 11.5, 'width' => 6.125, 'height' => 0.25, )), )), 'serviceNamePattern' => '', 'family' => NULL, 'title' => 'First-Class Mail Metered Letter', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '78', )), 5 => Dgm\UspsSimple\Model\FirstClass::__set_state(array( 'code' => '0', 'fitFn' => Dgm\UspsSimple\Model\FitMinMax::__set_state(array( 'min' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 11.5, 'width' => 6, 'height' => 0.25, )), 'max' => Dgm\UspsSimple\Calc\Dim::__set_state(array( 'length' => 15, 'width' => 12, 'height' => 0.75, )), )), 'serviceNamePattern' => 'Large Envelope', 'family' => NULL, 'title' => 'First-Class Mail Large Envelope', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => '0C', )), ), )), 3 => Dgm\UspsSimple\Model\ServiceFamily::__set_state(array( 'id' => 'ground_advantage', 'title' => 'USPS Ground Advantage', 'sort' => 3, 'services' => array ( 0 => Dgm\UspsSimple\Model\GroundAdvantage::__set_state(array( 'family' => NULL, 'title' => 'USPS Ground Advantage', 'alwaysUseCommercialRate' => NULL, 'enabled' => true, 'id' => 'default', )), ), )), ), 'retailGroundEnabled' => false, )), 'groupByWeight' => true, 'commercialRates' => true, )), 'responses' => NULL, 'combinedResponse' => NULL, )

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

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

    (@dangoodman)

    Hi @alpinisto,

    It’s not possible to determine the cause this issue since parts of the debug report are missing. It might be due to manual redaction or changes in the plugin’s source files. Please re-install the plugin to make sure it’s not modified, then collect the report again.

    Thread Starter alpinisto

    (@alpinisto)

    HI Dan

    Right now there is some USPS shipping happening on the front end in the cart. I wasn’t able to assign USPS as a method in the Zone, and didn;t create a zone. But somehow there is shipping pricing happening. Not sure if it’s your plugin or Woocommerce. I’ll investigate further when I get a chance.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.