Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sjyounis

    (@sjyounis)

    Works fine now

    Thread Starter sjyounis

    (@sjyounis)

    Looks like an update version has been released. Anyone tried it yet to verify if it fixes the problem?

    Thread Starter sjyounis

    (@sjyounis)

    Thanks. Installed. I’ll let you know how it goes.

    Thread Starter sjyounis

    (@sjyounis)

    Yes. That would help. But that doesn’t currently work.

    Thread Starter sjyounis

    (@sjyounis)

    Thanks. I ended up removing the Cache plugin I was using, and installing a different one instead, and that seemed to resolve the problem.

    Thread Starter sjyounis

    (@sjyounis)

    Thanks for getting back to me. Debug code below:

    
                    

    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’,
    ‘0E’ => ‘First-Class Package Service – Retail’,
    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’ => ‘no’,
    ‘0B’ => ‘no’,
    ‘0C’ => ‘no’,
    ‘0D’ => ‘yes’,
    12 => ‘no’,
    15 => ‘no’,
    19 => ‘no’,
    ‘0E’ => ‘yes’,
    61 => ‘yes’,
    53 => ‘yes’,
    78 => ‘no’,
    4 => ‘yes’,
    6 => ‘no’,
    7 => ‘no’,
    ),
    ‘supports’ =>
    array (
    0 => ‘settings’,
    ),
    ‘id’ => ‘usps_simple’,
    ‘method_title’ => ‘USPS Simple’,
    ‘method_description’ => ‘The USPS Simple 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’ => ‘75165’,
    ‘userId’ => ‘828THECO2241’,
    ‘commercialRate’ => ‘no’,
    ‘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’ => ‘75165’,
    ‘user_id’ => ‘828THECO2241’,
    ‘commercial_rate’ => ‘no’,
    ‘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’ => ‘no’,
    ‘first_class_0B’ => ‘no’,
    ‘first_class_0C’ => ‘no’,
    ‘first_class_0D’ => ‘yes’,
    ‘first_class_12’ => ‘no’,
    ‘first_class_15’ => ‘no’,
    ‘first_class_19’ => ‘no’,
    ‘first_class_61’ => ‘yes’,
    ‘first_class_53’ => ‘yes’,
    ‘first_class_78’ => ‘no’,
    ‘standard_post’ => ”,
    ‘t_standard_post’ => ”,
    ‘standard_post_4’ => ‘yes’,
    ‘media_mail’ => ”,
    ‘t_media_mail’ => ”,
    ‘media_mail_6’ => ‘no’,
    ‘library_mail’ => ”,
    ‘t_library_mail’ => ”,
    ‘library_mail_7’ => ‘no’,
    ‘hcsa’ => ‘no’,
    ‘first_class_0E’ => ‘yes’,
    ),
    ),
    ‘package’ =>
    array (
    ‘contents’ =>
    array (
    ‘7f7884a41d8cd08c91314fce7f13dd1c’ =>
    array (
    ‘key’ => ‘7f7884a41d8cd08c91314fce7f13dd1c’,
    ‘product_id’ => 26338,
    ‘variation_id’ => 0,
    ‘variation’ =>
    array (
    ),
    ‘quantity’ => 1,
    ‘data_hash’ => ‘b5c1d5ca8bae6d4896cf1807cdf763f0’,
    ‘line_tax_data’ =>
    array (
    ‘subtotal’ =>
    array (
    ),
    ‘total’ =>
    array (
    ),
    ),
    ‘line_subtotal’ => 100.0,
    ‘line_subtotal_tax’ => 0,
    ‘line_total’ => 100.0,
    ‘line_tax’ => 0,
    ‘product’ =>
    array (
    ‘name’ => ‘Superman #204’,
    ‘slug’ => ‘superman-204’,
    ‘price’ => ‘100’,
    ‘regular_price’ => ‘100’,
    ‘sale_price’ => ”,
    ‘weight’ => ’11 lbs’,
    ‘weight_lbs’ => 11.0,
    ‘dimensions’ => ‘24.5 x 6.5 x 18.5 in’,
    ‘dimensions_in’ => ‘24.5 x 6.5 x 18.5’,
    ),
    ),
    ),
    ‘contents_cost’ => 100.0,
    ‘applied_coupons’ =>
    array (
    ),
    ‘user’ =>
    array (
    ‘ID’ => 16,
    ),
    ‘destination’ =>
    array (
    ‘country’ => ‘US’,
    ‘state’ => ‘CA’,
    ‘postcode’ => ‘90210’,
    ‘city’ => ‘Los Angeles’,
    ‘address’ => ”,
    ‘address_1’ => ”,
    ‘address_2’ => ”,
    ),
    ‘cart_subtotal’ => ‘100’,
    ‘rates’ =>
    array (
    ),
    ),
    ‘requests’ =>
    array (
    ‘ONLINE’ => ‘API=RateV4&XML=
    <RateV4Request USERID=”828THECO2241″>
    <Revision>2</Revision>
    <Package ID=”7f7884a41d8cd08c91314fce7f13dd1c:1:24.5:18.5:6.5:11″>
    <Service>ONLINE</Service>
    <ZipOrigination>75165</ZipOrigination>
    <ZipDestination>90210</ZipDestination>
    <Pounds>11</Pounds>
    <Ounces>0.00</Ounces>
    <Container>RECTANGULAR</Container>
    <Size>LARGE</Size>
    <Width>18.5</Width>
    <Length>24.5</Length>
    <Height>6.5</Height>
    <Girth>50</Girth>
    <Machinable>true</Machinable>
    <ShipDate>19-May-2022</ShipDate>
    </Package>
    </RateV4Request>
    ‘,
    ‘STANDARD POST’ => ‘API=RateV4&XML=
    <RateV4Request USERID=”828THECO2241″>
    <Revision>2</Revision>
    <Package ID=”7f7884a41d8cd08c91314fce7f13dd1c:1:24.5:18.5:6.5:11″>
    <Service>STANDARD POST</Service>
    <ZipOrigination>75165</ZipOrigination>
    <ZipDestination>90210</ZipDestination>
    <Pounds>11</Pounds>
    <Ounces>0.00</Ounces>
    <Container>RECTANGULAR</Container>
    <Size>LARGE</Size>
    <Width>18.5</Width>
    <Length>24.5</Length>
    <Height>6.5</Height>
    <Girth>50</Girth>
    <GroundOnly>true</GroundOnly>
    <Machinable>true</Machinable>
    <ShipDate>19-May-2022</ShipDate>
    </Package>
    </RateV4Request>
    ‘,
    ),
    ‘responses’ =>
    array (
    ‘ONLINE’ =>
    array (
    ‘headers’ =>
    Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
    ‘data’ =>
    array (
    ‘content-encoding’ => ‘gzip’,
    ‘access-control-allow-origin’ => ‘*’,
    ‘cache-control’ => ‘private’,
    ‘content-type’ => ‘text/xml’,
    ‘date’ => ‘Wed, 18 May 2022 22:33:24 GMT’,
    ‘ntcoent-length’ => ‘1748’,
    ‘server’ => ‘Microsoft-IIS/10.0’,
    ‘strict-transport-security’ => ‘max-age=31536000 ; includeSubDomains’,
    ‘x-aspnet-version’ => ‘4.0.30319’,
    ‘x-backside-transport’ => ‘OK OK’,
    ‘x-frame-options’ => ‘SAMEORIGIN’,
    ‘x-global-transaction-id’ => ’47c16df762857445a0bf210d’,
    ‘x-powered-by’ => ‘ASP.NET’,
    ‘x-ruleset-version’ => ‘1.0’,
    ‘content-length’ => ‘506’,
    ),
    )),
    ‘body’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
    <RateV4Response>
    <Package ID=”7f7884a41d8cd08c91314fce7f13dd1c:1:24.5:18.5:6.5:11″>
    <ZipOrigination>75165</ZipOrigination>
    <ZipDestination>90210</ZipDestination>
    <Pounds>11</Pounds>
    <Ounces>0.00</Ounces>
    <Machinable>TRUE</Machinable>
    <Zone>6</Zone>
    <Postage CLASSID=”3″>
    <MailService>Priority Mail Express 1-Day<sup>™</sup></MailService>
    <Rate>135.00</Rate>
    <CommercialRate>117.60</CommercialRate>
    <CommitmentDate>2022-05-20</CommitmentDate>
    <CommitmentName>1-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”2″>
    <MailService>Priority Mail Express 1-Day<sup>™</sup> Hold For Pickup</MailService>
    <Rate>135.00</Rate>
    <CommercialRate>117.60</CommercialRate>
    <CommitmentDate>2022-05-20</CommitmentDate>
    <CommitmentName>1-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”1″>
    <MailService>Priority Mail 3-Day<sup>™</sup></MailService>
    <Rate>46.35</Rate>
    <CommercialRate>37.08</CommercialRate>
    <CommitmentDate>2022-05-23</CommitmentDate>
    <CommitmentName>3-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”33″>
    <MailService>Priority Mail 3-Day<sup>™</sup> Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>37.08</CommercialRate>
    <CommitmentDate>2022-05-23</CommitmentDate>
    <CommitmentName>3-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”77″>
    <MailService>Parcel Select Ground<sup>™</sup></MailService>
    <Rate>23.01</Rate>
    </Postage>
    <Postage CLASSID=”6″>
    <MailService>Media Mail Parcel</MailService>
    <Rate>9.49</Rate>
    </Postage>
    <Postage CLASSID=”7″>
    <MailService>Library Mail Parcel</MailService>
    <Rate>9.03</Rate>
    </Postage>
    </Package>
    </RateV4Response>
    ‘,
    ‘response’ =>
    array (
    ‘code’ => 200,
    ‘message’ => ‘OK’,
    ),
    ‘cookies’ =>
    array (
    ),
    ‘filename’ => NULL,
    ),
    ‘STANDARD POST’ =>
    array (
    ‘headers’ =>
    Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
    ‘data’ =>
    array (
    ‘content-encoding’ => ‘gzip’,
    ‘access-control-allow-origin’ => ‘*’,
    ‘cache-control’ => ‘private’,
    ‘content-type’ => ‘text/xml’,
    ‘date’ => ‘Wed, 18 May 2022 22:33:25 GMT’,
    ‘ntcoent-length’ => ‘3093’,
    ‘server’ => ‘Microsoft-IIS/10.0’,
    ‘strict-transport-security’ => ‘max-age=31536000 ; includeSubDomains’,
    ‘x-aspnet-version’ => ‘4.0.30319’,
    ‘x-backside-transport’ => ‘OK OK’,
    ‘x-frame-options’ => ‘SAMEORIGIN’,
    ‘x-global-transaction-id’ => ‘8ac205fb628574464d39748f’,
    ‘x-powered-by’ => ‘ASP.NET’,
    ‘x-ruleset-version’ => ‘1.0’,
    ‘content-length’ => ‘673’,
    ),
    )),
    ‘body’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
    <RateV4Response>
    <Package ID=”7f7884a41d8cd08c91314fce7f13dd1c:1:24.5:18.5:6.5:11″>
    <ZipOrigination>75165</ZipOrigination>
    <ZipDestination>90210</ZipDestination>
    <Pounds>11</Pounds>
    <Ounces>0.00</Ounces>
    <Machinable>TRUE</Machinable>
    <Zone>6</Zone>
    <Postage CLASSID=”4″>
    <MailService>USPS Retail Ground<sup>®</sup></MailService>
    <Rate>37.55</Rate>
    <SpecialServices>
    <SpecialService>
    <ServiceID>104</ServiceID>
    <ServiceName>Certificate of Mailing (Form 3817)</ServiceName>
    <Available>true</Available>
    <Price>1.65</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>103</ServiceID>
    <ServiceName>Collect on Delivery</ServiceName>
    <Available>true</Available>
    <Price>8.60</Price>
    <DeclaredValueRequired>true</DeclaredValueRequired>
    <DueSenderRequired>false</DueSenderRequired>
    </SpecialService>
    <SpecialService>
    <ServiceID>175</ServiceID>
    <ServiceName>Collect on Delivery Restricted Delivery</ServiceName>
    <Available>true</Available>
    <Price>14.45</Price>
    <DeclaredValueRequired>true</DeclaredValueRequired>
    <DueSenderRequired>false</DueSenderRequired>
    </SpecialService>
    <SpecialService>
    <ServiceID>100</ServiceID>
    <ServiceName>Insurance</ServiceName>
    <Available>true</Available>
    <Price>2.45</Price>
    <DeclaredValueRequired>true</DeclaredValueRequired>
    <DueSenderRequired>false</DueSenderRequired>
    </SpecialService>
    <SpecialService>
    <ServiceID>177</ServiceID>
    <ServiceName>Insurance Restricted Delivery</ServiceName>
    <Available>true</Available>
    <Price>16.20</Price>
    <DeclaredValueRequired>true</DeclaredValueRequired>
    <DueSenderRequired>false</DueSenderRequired>
    </SpecialService>
    <SpecialService>
    <ServiceID>108</ServiceID>
    <ServiceName>Signature Confirmation<sup>™</sup></ServiceName>
    <Available>true</Available>
    <Price>3.45</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>173</ServiceID>
    <ServiceName>Signature Confirmation<sup>™</sup> Restricted Delivery</ServiceName>
    <Available>true</Available>
    <Price>9.30</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>156</ServiceID>
    <ServiceName>Signature Confirmation<sup>™</sup> Electronic</ServiceName>
    <Available>true</Available>
    <Price>2.90</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>174</ServiceID>
    <ServiceName>Signature Confirmation<sup>™</sup> Electronic Restricted Delivery</ServiceName>
    <Available>true</Available>
    <Price>8.75</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>190</ServiceID>
    <ServiceName>Special Handling – Fragile</ServiceName>
    <Available>true</Available>
    <Price>12.15</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>106</ServiceID>
    <ServiceName>USPS Tracking<sup>®</sup></ServiceName>
    <Available>true</Available>
    <Price>0.00</Price>
    </SpecialService>
    <SpecialService>
    <ServiceID>155</ServiceID>
    <ServiceName>USPS Tracking<sup>®</sup> Electronic</ServiceName>
    <Available>true</Available>
    <Price>0.00</Price>
    </SpecialService>
    </SpecialServices>
    </Postage>
    </Package>
    </RateV4Response>
    ‘,
    ‘response’ =>
    array (
    ‘code’ => 200,
    ‘message’ => ‘OK’,
    ),
    ‘cookies’ =>
    array (
    ),
    ‘filename’ => NULL,
    ),
    ),
    ‘unitedResponse’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
    <RateV4Response>
    <Package ID=”7f7884a41d8cd08c91314fce7f13dd1c:1:24.5:18.5:6.5:11″>
    <ZipOrigination>75165</ZipOrigination>
    <ZipDestination>90210</ZipDestination>
    <Pounds>11</Pounds>
    <Ounces>0.00</Ounces>
    <Machinable>TRUE</Machinable>
    <Zone>6</Zone>
    <Postage CLASSID=”3″>
    <MailService>Priority Mail Express 1-Day<sup>™</sup></MailService>
    <Rate>135.00</Rate>
    <CommercialRate>117.60</CommercialRate>
    <CommitmentDate>2022-05-20</CommitmentDate>
    <CommitmentName>1-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”2″>
    <MailService>Priority Mail Express 1-Day<sup>™</sup> Hold For Pickup</MailService>
    <Rate>135.00</Rate>
    <CommercialRate>117.60</CommercialRate>
    <CommitmentDate>2022-05-20</CommitmentDate>
    <CommitmentName>1-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”1″>
    <MailService>Priority Mail 3-Day<sup>™</sup></MailService>
    <Rate>46.35</Rate>
    <CommercialRate>37.08</CommercialRate>
    <CommitmentDate>2022-05-23</CommitmentDate>
    <CommitmentName>3-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”33″>
    <MailService>Priority Mail 3-Day<sup>™</sup> Hold For Pickup</MailService>
    <Rate>0.00</Rate>
    <CommercialRate>37.08</CommercialRate>
    <CommitmentDate>2022-05-23</CommitmentDate>
    <CommitmentName>3-Day</CommitmentName>
    </Postage>
    <Postage CLASSID=”77″>
    <MailService>Parcel Select Ground<sup>™</sup></MailService>
    <Rate>23.01</Rate>
    </Postage>
    <Postage CLASSID=”6″>
    <MailService>Media Mail Parcel</MailService>
    <Rate>9.49</Rate>
    </Postage>
    <Postage CLASSID=”7″>
    <MailService>Library Mail Parcel</MailService>
    <Rate>9.03</Rate>
    </Postage>
    <Postage CLASSID=”4″>
    <MailService>USPS Retail Ground<sup>?</sup></MailService>
    <Rate>37.55</Rate>
    </Postage>
    </Package>
    </RateV4Response>
    ‘,
    ‘shownRates’ =>
    array (
    ‘usps_simple:EXPRESS_MAIL’ =>
    array (
    ‘id’ => ‘usps_simple:EXPRESS_MAIL’,
    ‘label’ => ‘Priority Mail Express (USPS Simple)’,
    ‘cost’ => 135.0,
    ‘sort’ => 999,
    ‘packages’ => 1,
    ),
    ‘usps_simple:PRIORITY_MAIL’ =>
    array (
    ‘id’ => ‘usps_simple:PRIORITY_MAIL’,
    ‘label’ => ‘Priority Mail (USPS Simple)’,
    ‘cost’ => 46.35000000000000142108547152020037174224853515625,
    ‘sort’ => 999,
    ‘packages’ => 1,
    ),
    ‘usps_simple:STANDARD_POST’ =>
    array (
    ‘id’ => ‘usps_simple:STANDARD_POST’,
    ‘label’ => ‘USPS Retail Ground (USPS Simple)’,
    ‘cost’ => 37.5499999999999971578290569595992565155029296875,
    ‘sort’ => 999,
    ‘packages’ => 1,
    ),
    ),
    ‘eliminatedRates’ =>
    array (
    ),
    )`
    `

    Wasn’t sure how to attach a screenshot, so I uploaded it to https://comicshadow.com/wp-content/uploads/2022/05/USPS.png

Viewing 6 replies - 1 through 6 (of 6 total)