Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello Sir, I am also facing the same problem. let me show you the debugging code.

    array (
      'settings' => 
      array (
        'props' => 
        array (
          'endpoint' => 'https://secure.shippingapis.com/ShippingAPI.dll',
          'defaultUserId' => '904SKYWO3126',
          '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 => 'yes',
            18 => 'yes',
            47 => 'yes',
            48 => 'yes',
            49 => 'yes',
            50 => 'yes',
            '0A' => 'yes',
            '0B' => 'yes',
            '0C' => 'yes',
            '0D' => 'yes',
            12 => 'yes',
            15 => 'yes',
            19 => 'yes',
            61 => 'yes',
            53 => 'yes',
            78 => 'yes',
            4 => 'yes',
            6 => 'yes',
            7 => 'yes',
          ),
          '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' => '32503',
          'userId' => '904SKYWO3126',
          'commercialRate' => 'yes',
          'groupByWeight' => 'yes',
          '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',
          't_library_mail' => 'Library Mail',
        ),
        'settings' => 
        array (
          'enabled' => 'yes',
          'sender' => '32503',
          'user_id' => '904SKYWO3126',
          'commercial_rate' => 'yes',
          'group_by_weight' => 'yes',
          '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' => '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 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',
          'media_mail_6' => 'yes',
          'library_mail' => '',
          't_library_mail' => 'Library Mail',
          'library_mail_7' => 'yes',
        ),
      ),
      'package' => 
      array (
        'contents' => 
        array (
          '42e77b63637ab381e8be5f8318cc28a2' => 
          array (
            'key' => '42e77b63637ab381e8be5f8318cc28a2',
            'product_id' => 628,
            'variation_id' => 0,
            'variation' => 
            array (
            ),
            'quantity' => 3,
            'data_hash' => 'b5c1d5ca8bae6d4896cf1807cdf763f0',
            'line_tax_data' => 
            array (
              'subtotal' => 
              array (
              ),
              'total' => 
              array (
              ),
            ),
            'line_subtotal' => 18.0,
            'line_subtotal_tax' => 0,
            'line_total' => 18.0,
            'line_tax' => 0,
            'product' => 
            array (
              'name' => 'Royal Grabba Crush',
              'slug' => 'royal-grabba-crush',
              'price' => '6.00',
              'regular_price' => '6.00',
              'sale_price' => '',
              'weight' => ' kg',
              'weight_lbs' => 0.0,
              'dimensions' => ' x  x  cm',
              'dimensions_in' => '0 x 0 x 0',
            ),
          ),
        ),
        'contents_cost' => 18.0,
        'applied_coupons' => 
        array (
        ),
        'user' => 
        array (
          'ID' => 1,
        ),
        'destination' => 
        array (
          'country' => 'UM',
          'state' => 'CA',
          'postcode' => '32503',
          'city' => 'dhaka',
          'address' => 'mohammadpur',
          'address_1' => 'mohammadpur',
          'address_2' => '2/2-B',
        ),
        'cart_subtotal' => '18.00',
        'rates' => 
        array (
        ),
      ),
      'requests' => NULL,
      'responses' => NULL,
      'unitedResponse' => NULL,
      'shownRates' => 
      array (
      ),
      'eliminatedRates' => 
      array (
      ),
    )
Viewing 1 replies (of 1 total)