Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, I am facing the same issue which is mentioned above.
    This is what I am getting in debug mode.

    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' => '07103-3726',
          'userId' => '904SKYWO3126',
          'commercialRate' => 'yes',
          'groupByWeight' => 'yes',
          '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' => '07103-3726',
          'user_id' => '',
          'commercial_rate' => 'yes',
          'group_by_weight' => 'yes',
          'express_mail' => '',
          't_express_mail' => '',
          'express_mail_3' => 'yes',
          'express_mail_2' => 'yes',
          'express_mail_23' => 'yes',
          '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_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' => '',
          'standard_post_4' => 'yes',
          'media_mail' => '',
          't_media_mail' => '',
          'media_mail_6' => 'yes',
          'library_mail' => '',
          't_library_mail' => '',
          'library_mail_7' => 'yes',
        ),
      ),
      'package' => 
      array (
        'contents' => 
        array (
          '2178946f1787a676f83fdd283deafcde' => 
          array (
            'key' => '2178946f1787a676f83fdd283deafcde',
            'product_id' => 8950,
            'variation_id' => 9221,
            'variation' => 
            array (
              'attribute_pa_color' => 'black',
            ),
            'quantity' => 1,
            'data_hash' => '8ebe40e554c18ebfc44954a0df960f82',
            'line_tax_data' => 
            array (
              'subtotal' => 
              array (
              ),
              'total' => 
              array (
              ),
            ),
            'line_subtotal' => 36.0,
            'line_subtotal_tax' => 0,
            'line_total' => 36.0,
            'line_tax' => 0,
            'product' => 
            array (
              'name' => 'Covered - Black',
              'slug' => 'covered-black',
              'price' => '36',
              'regular_price' => '36',
              'sale_price' => '',
              'weight' => '2.5 kg',
              'weight_lbs' => 5.51155,
              'dimensions' => ' x  x  cm',
              'dimensions_in' => '0 x 0 x 0',
            ),
          ),
        ),
        'contents_cost' => 36.0,
        'applied_coupons' => 
        array (
        ),
        'user' => 
        array (
          'ID' => 0,
        ),
        'destination' => 
        array (
          'country' => 'US',
          'state' => 'NJ',
          'postcode' => '07305',
          'city' => 'New Jersey',
          'address' => '72 Thorne st Jersey City',
          'address_1' => '72 Thorne st Jersey City',
          'address_2' => '',
        ),
        'cart_subtotal' => '36.00',
        'rates' => 
        array (
        ),
      ),
      'requests' => 
      array (
        'ONLINE' => 'API=RateV4&XML=
    <RateV4Request USERID="904SKYWO3126">
        <Revision>2</Revision>
        <Package ID="group_by_weight_0:1:0:0:0:0">
            <Service>ONLINE</Service>
            <ZipOrigination>07103-3726</ZipOrigination>
            <ZipDestination>07305</ZipDestination>
            <Pounds>5</Pounds>
            <Ounces>8.18</Ounces>
            <Container/>
            <Size>REGULAR</Size>
            <Width>0</Width>
            <Length>0</Length>
            <Height>0</Height>
            <Girth>0</Girth>
            <Machinable>true</Machinable>
            <ShipDate>28-Jan-2021</ShipDate>
        </Package>
    </RateV4Request>
    ',
        'STANDARD POST' => 'API=RateV4&XML=
    <RateV4Request USERID="904SKYWO3126">
        <Revision>2</Revision>
        <Package ID="group_by_weight_0:1:0:0:0:0">
            <Service>STANDARD POST</Service>
            <ZipOrigination>07103-3726</ZipOrigination>
            <ZipDestination>07305</ZipDestination>
            <Pounds>5</Pounds>
            <Ounces>8.18</Ounces>
            <Container/>
            <Size>REGULAR</Size>
            <Width>0</Width>
            <Length>0</Length>
            <Height>0</Height>
            <Girth>0</Girth>
            <GroundOnly>true</GroundOnly>
            <Machinable>true</Machinable>
            <ShipDate>28-Jan-2021</ShipDate>
        </Package>
    </RateV4Request>
    ',
      ),
      'responses' => 
      array (
        'ONLINE' => 
        array (
          'headers' => 
          Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
             'data' => 
            array (
              'x-backside-transport' => 'OK OK',
              'cache-control' => 'private',
              'content-type' => 'text/xml',
              'server' => 'Microsoft-IIS/10.0',
              'x-aspnet-version' => '4.0.30319',
              'x-powered-by' => 'ASP.NET',
              'date' => 'Wed, 27 Jan 2021 08:15:34 GMT',
              'x-global-transaction-id' => 'e41d61746011212c0bd9317f',
              'access-control-allow-origin' => '*',
              'ntcoent-length' => '317',
              'x-frame-options' => 'SAMEORIGIN',
              'strict-transport-security' => 'max-age=31536000; includeSubDomains',
              'content-encoding' => 'gzip',
              'content-length' => '250',
            ),
          )),
          'body' => '<?xml version="1.0" encoding="UTF-8"?>
    <RateV4Response>
        <Package ID="group_by_weight_0:1:0:0:0:0">
            <Error>
                <Number>-2147219498</Number>
                <Source>RateEngineV4;RateV4.ProcessRequest</Source>
                <Description>Please enter a valid ZIP Code for the sender.  </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 (
              'x-backside-transport' => 'OK OK',
              'cache-control' => 'private',
              'content-type' => 'text/xml',
              'server' => 'Microsoft-IIS/10.0',
              'x-aspnet-version' => '4.0.30319',
              'x-powered-by' => 'ASP.NET',
              'date' => 'Wed, 27 Jan 2021 08:15:35 GMT',
              'x-global-transaction-id' => 'ce7aa4526011212d4f1fb2fd',
              'access-control-allow-origin' => '*',
              'ntcoent-length' => '317',
              'x-frame-options' => 'SAMEORIGIN',
              'strict-transport-security' => 'max-age=31536000; includeSubDomains',
              'content-encoding' => 'gzip',
              'content-length' => '250',
            ),
          )),
          'body' => '<?xml version="1.0" encoding="UTF-8"?>
    <RateV4Response>
        <Package ID="group_by_weight_0:1:0:0:0:0">
            <Error>
                <Number>-2147219498</Number>
                <Source>RateEngineV4;RateV4.ProcessRequest</Source>
                <Description>Please enter a valid ZIP Code for the sender.  </Description>
                <HelpFile/>
                <HelpContext/>
            </Error>
        </Package>
    </RateV4Response>
    ',
          'response' => 
          array (
            'code' => 200,
            'message' => 'OK',
          ),
          'cookies' => 
          array (
          ),
          'filename' => NULL,
        ),
      ),
      'unitedResponse' => '<?xml version="1.0" encoding="UTF-8"?>
    <RateV4Response>
        <Package ID="group_by_weight_0:1:0:0:0:0">
            <Error>
                <Number>-2147219498</Number>
                <Source>RateEngineV4;RateV4.ProcessRequest</Source>
                <Description>Please enter a valid ZIP Code for the sender.  </Description>
                <HelpFile/>
                <HelpContext/>
            </Error>
        </Package>
    </RateV4Response>
    ',
      'shownRates' => 
      array (
      ),
      'eliminatedRates' => 
      array (
      ),
    )

    @rajdipsinharoy I am also facing the same issues. Please share the latest plugin link.

    Thread Starter promact

    (@promact)

    After following steps to do changes in plugin, do have to maintain a copy to the plugin in the plugins folder.

    Thread Starter promact

    (@promact)

    Thanks for your guidance.

    I have to make some changes in the “Simple Job Board” plugin. For that I need to do changes in these files only:
    themes/theme child/simple_job_board/single-jobpost/single-job-wrapper-start.php
    themes/theme child/simple_job_board/single-jobpost/single-job-wrapper-end.php

    Please suggest how changes can be done to these files. I have tried above directory structure but changes are not reflecting.

    Thread Starter promact

    (@promact)

    I need to make changes in only two files from the plugin for now.
    1.plugins/simple-job-board/templates/single-jobpost/single-job-wrapper-start.php
    2.plugins/simple-job-board/templates/single-jobpost/single-job-wrapper-end.php

    To Customize these files I have followed below directory path:
    themes/theme child/simple_job_board/single-jobpost/single-job-wrapper-start.php
    themes/theme child/simple_job_board/single-jobpost/single-job-wrapper-end.php

    There are no instructions mentioned in these files to customize them.

    Thread Starter promact

    (@promact)

    Hi,

    Thanks for your quick response.

    The folder structure is as under:
    themes->theme child->simple_job_board->files(folder & files of template folder of plugin)

    The directory structure that I am creating is in the child theme.

    Let me know if any more details are needed.

    • This reply was modified 4 years, 9 months ago by promact.
Viewing 6 replies - 1 through 6 (of 6 total)