parava
Forum Replies Created
-
Forum: Plugins
In reply to: [USPS Simple Shipping for Woocommerce] Update shipping addressarray ( '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 => 'no', 2 => 'no', 23 => 'no', 1 => 'no', 33 => 'no', 18 => 'no', 47 => 'no', 48 => 'no', 49 => 'no', 50 => 'no', '0A' => 'no', '0B' => 'no', '0C' => 'no', '0D' => 'no', 12 => 'no', 15 => 'no', 19 => 'no', '0E' => 'no', 61 => 'yes', 53 => 'no', 78 => 'no', 4 => 'no', 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' => '90005', 'userId' => '891000005749', 'commercialRate' => 'no', 'groupByWeight' => 'no', 't_express_mail' => 'Priority Mail Express (USPS Simple)', 't_priority_mail' => 'Priority Mail (USPS Simple)', 't_first_class' => 'First-Class Mail', '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' => '90005', 'user_id' => '', 'commercial_rate' => 'no', 'group_by_weight' => 'no', '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' => 'no', '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' => 'no', 'first_class_0B' => 'no', 'first_class_0C' => 'no', 'first_class_0D' => 'no', 'first_class_12' => 'no', 'first_class_15' => 'no', 'first_class_19' => 'no', 'first_class_0E' => 'no', 'first_class_61' => 'yes', 'first_class_53' => 'no', 'first_class_78' => 'no', '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 ( '57c0531e13f40b91b3b0f1a30b529a1d' => array ( 'key' => '57c0531e13f40b91b3b0f1a30b529a1d', 'product_id' => 1842, 'variation_id' => 0, 'variation' => array ( ), 'quantity' => 1, 'data_hash' => 'b5c1d5ca8bae6d4896cf1807cdf763f0', 'line_tax_data' => array ( 'subtotal' => array ( 5 => 3.52, ), 'total' => array ( 5 => 3.52, ), ), 'line_subtotal' => 37.0, 'line_subtotal_tax' => 3.52, 'line_total' => 37.0, 'line_tax' => 3.52, 'product' => array ( 'name' => 'Boho patchwork hippie pants', 'slug' => 'boho-patchwork-hippie-pants', 'price' => '37', 'regular_price' => '37', 'sale_price' => '', 'weight' => '1.4 lbs', 'weight_lbs' => 1.4, 'dimensions' => '7 x 5 x 2 in', 'dimensions_in' => '7 x 5 x 2', ), ), ), 'contents_cost' => 37.0, 'applied_coupons' => array ( ), 'user' => array ( 'ID' => 1, ), 'destination' => array ( 'country' => 'US', 'state' => 'CA', 'postcode' => '90015', 'city' => 'Los Angeles', 'address' => '', 'address_1' => '', 'address_2' => '', ), 'cart_subtotal' => '37', 'rates' => array ( ), ), 'requests' => array ( 'ONLINE' => 'API=RateV4&XML= <RateV4Request USERID="891000005749"> <Revision>2</Revision> <Package ID="57c0531e13f40b91b3b0f1a30b529a1d:1:7:5:2:1.4"> <Service>ONLINE</Service> <ZipOrigination>90005</ZipOrigination> <ZipDestination>90015</ZipDestination> <Pounds>1</Pounds> <Ounces>6.40</Ounces> <Container/> <Size>REGULAR</Size> <Width>5</Width> <Length>7</Length> <Height>2</Height> <Girth>14</Girth> <Machinable>true</Machinable> <ShipDate>22-Mar-2022</ShipDate> </Package> </RateV4Request> ', 'STANDARD POST' => 'API=RateV4&XML= <RateV4Request USERID="891000005749"> <Revision>2</Revision> <Package ID="57c0531e13f40b91b3b0f1a30b529a1d:1:7:5:2:1.4"> <Service>STANDARD POST</Service> <ZipOrigination>90005</ZipOrigination> <ZipDestination>90015</ZipDestination> <Pounds>1</Pounds> <Ounces>6.40</Ounces> <Container/> <Size>REGULAR</Size> <Width>5</Width> <Length>7</Length> <Height>2</Height> <Girth>14</Girth> <GroundOnly>true</GroundOnly> <Machinable>true</Machinable> <ShipDate>22-Mar-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' => 'Mon, 21 Mar 2022 19:46:48 GMT', 'ntcoent-length' => '8254', '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' => '47c16df76238d62a7600544f', 'x-powered-by' => 'ASP.NET', 'x-ruleset-version' => '1.0', 'content-length' => '817', ), )), 'body' => '<?xml version="1.0" encoding="UTF-8"?> <RateV4Response> <Package ID="57c0531e13f40b91b3b0f1a30b529a1d:1:7:5:2:1.4"> <ZipOrigination>90005</ZipOrigination> <ZipDestination>90015</ZipDestination> <Pounds>1</Pounds> <Ounces>6.40</Ounces> <Machinable>TRUE</Machinable> <Zone>1</Zone> <Postage CLASSID="3"> <MailService>Priority Mail Express 1-Day<sup>™</sup></MailService> <Rate>27.85</Rate> <CommercialRate>24.05</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="2"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Hold For Pickup</MailService> <Rate>27.85</Rate> <CommercialRate>24.05</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="13"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope</MailService> <Rate>26.95</Rate> <CommercialRate>23.50</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="27"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup</MailService> <Rate>26.95</Rate> <CommercialRate>23.50</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="30"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope</MailService> <Rate>27.10</Rate> <CommercialRate>23.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="31"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup</MailService> <Rate>27.10</Rate> <CommercialRate>23.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="62"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope</MailService> <Rate>27.50</Rate> <CommercialRate>23.95</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="63"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup</MailService> <Rate>27.50</Rate> <CommercialRate>23.95</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="1"> <MailService>Priority Mail 1-Day<sup>™</sup></MailService> <Rate>9.25</Rate> <CommercialRate>8.02</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="33"> <MailService>Priority Mail 1-Day<sup>™</sup> Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.02</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="22"> <MailService>Priority Mail 1-Day<sup>™</sup> Large Flat Rate Box</MailService> <Rate>21.50</Rate> <CommercialRate>19.20</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="34"> <MailService>Priority Mail 1-Day<sup>™</sup> Large Flat Rate Box Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>19.20</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="17"> <MailService>Priority Mail 1-Day<sup>™</sup> Medium Flat Rate Box</MailService> <Rate>16.10</Rate> <CommercialRate>14.25</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="35"> <MailService>Priority Mail 1-Day<sup>™</sup> Medium Flat Rate Box Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>14.25</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="47"> <MailService>Priority Mail 1-Day<sup>™</sup> Regional Rate Box A</MailService> <Rate>0.00</Rate> <CommercialRate>8.38</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="48"> <MailService>Priority Mail 1-Day<sup>™</sup> Regional Rate Box A Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.38</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="49"> <MailService>Priority Mail 1-Day<sup>™</sup> Regional Rate Box B</MailService> <Rate>0.00</Rate> <CommercialRate>8.88</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="50"> <MailService>Priority Mail 1-Day<sup>™</sup> Regional Rate Box B Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.88</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="16"> <MailService>Priority Mail 1-Day<sup>™</sup> Flat Rate Envelope</MailService> <Rate>8.95</Rate> <CommercialRate>7.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="37"> <MailService>Priority Mail 1-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>7.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="44"> <MailService>Priority Mail 1-Day<sup>™</sup> Legal Flat Rate Envelope</MailService> <Rate>9.25</Rate> <CommercialRate>8.05</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="45"> <MailService>Priority Mail 1-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.05</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="29"> <MailService>Priority Mail 1-Day<sup>™</sup> Padded Flat Rate Envelope</MailService> <Rate>9.65</Rate> <CommercialRate>8.45</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="46"> <MailService>Priority Mail 1-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.45</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="40"> <MailService>Priority Mail 1-Day<sup>™</sup> Window Flat Rate Envelope</MailService> <Rate>8.95</Rate> <CommercialRate>7.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="41"> <MailService>Priority Mail 1-Day<sup>™</sup> Window Flat Rate Envelope Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>7.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="77"> <MailService>Parcel Select Ground<sup>™</sup></MailService> <Rate>7.28</Rate> </Postage> <Postage CLASSID="6"> <MailService>Media Mail Parcel</MailService> <Rate>3.82</Rate> </Postage> <Postage CLASSID="7"> <MailService>Library Mail Parcel</MailService> <Rate>3.63</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' => 'Mon, 21 Mar 2022 19:46:49 GMT', 'ntcoent-length' => '3115', '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' => '47c16df76238d62b9705cd31', 'x-powered-by' => 'ASP.NET', 'x-ruleset-version' => '1.0', 'content-length' => '687', ), )), 'body' => '<?xml version="1.0" encoding="UTF-8"?> <RateV4Response> <Package ID="57c0531e13f40b91b3b0f1a30b529a1d:1:7:5:2:1.4"> <ZipOrigination>90005</ZipOrigination> <ZipDestination>90015</ZipDestination> <Pounds>1</Pounds> <Ounces>6.40</Ounces> <Container>VARIABLE</Container> <Machinable>TRUE</Machinable> <Zone>1</Zone> <Postage CLASSID="4"> <MailService>USPS Retail Ground<sup>®</sup></MailService> <Rate>9.05</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="57c0531e13f40b91b3b0f1a30b529a1d:1:7:5:2:1.4"> <ZipOrigination>90005</ZipOrigination> <ZipDestination>90015</ZipDestination> <Pounds>1</Pounds> <Ounces>6.40</Ounces> <Machinable>TRUE</Machinable> <Zone>1</Zone> <Postage CLASSID="3"> <MailService>Priority Mail Express 1-Day<sup>™</sup></MailService> <Rate>27.85</Rate> <CommercialRate>24.05</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="2"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Hold For Pickup</MailService> <Rate>27.85</Rate> <CommercialRate>24.05</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="13"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope</MailService> <Rate>26.95</Rate> <CommercialRate>23.50</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="27"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup</MailService> <Rate>26.95</Rate> <CommercialRate>23.50</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="30"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope</MailService> <Rate>27.10</Rate> <CommercialRate>23.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="31"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup</MailService> <Rate>27.10</Rate> <CommercialRate>23.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="62"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope</MailService> <Rate>27.50</Rate> <CommercialRate>23.95</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="63"> <MailService>Priority Mail Express 1-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup</MailService> <Rate>27.50</Rate> <CommercialRate>23.95</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="1"> <MailService>Priority Mail 1-Day<sup>™</sup></MailService> <Rate>9.25</Rate> <CommercialRate>8.02</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="33"> <MailService>Priority Mail 1-Day<sup>™</sup> Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.02</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="22"> <MailService>Priority Mail 1-Day<sup>™</sup> Large Flat Rate Box</MailService> <Rate>21.50</Rate> <CommercialRate>19.20</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="34"> <MailService>Priority Mail 1-Day<sup>™</sup> Large Flat Rate Box Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>19.20</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="17"> <MailService>Priority Mail 1-Day<sup>™</sup> Medium Flat Rate Box</MailService> <Rate>16.10</Rate> <CommercialRate>14.25</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="35"> <MailService>Priority Mail 1-Day<sup>™</sup> Medium Flat Rate Box Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>14.25</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="47"> <MailService>Priority Mail 1-Day<sup>™</sup> Regional Rate Box A</MailService> <Rate>0.00</Rate> <CommercialRate>8.38</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="48"> <MailService>Priority Mail 1-Day<sup>™</sup> Regional Rate Box A Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.38</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="49"> <MailService>Priority Mail 1-Day<sup>™</sup> Regional Rate Box B</MailService> <Rate>0.00</Rate> <CommercialRate>8.88</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="50"> <MailService>Priority Mail 1-Day<sup>™</sup> Regional Rate Box B Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.88</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="16"> <MailService>Priority Mail 1-Day<sup>™</sup> Flat Rate Envelope</MailService> <Rate>8.95</Rate> <CommercialRate>7.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="37"> <MailService>Priority Mail 1-Day<sup>™</sup> Flat Rate Envelope Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>7.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="44"> <MailService>Priority Mail 1-Day<sup>™</sup> Legal Flat Rate Envelope</MailService> <Rate>9.25</Rate> <CommercialRate>8.05</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="45"> <MailService>Priority Mail 1-Day<sup>™</sup> Legal Flat Rate Envelope Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.05</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="29"> <MailService>Priority Mail 1-Day<sup>™</sup> Padded Flat Rate Envelope</MailService> <Rate>9.65</Rate> <CommercialRate>8.45</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="46"> <MailService>Priority Mail 1-Day<sup>™</sup> Padded Flat Rate Envelope Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>8.45</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="40"> <MailService>Priority Mail 1-Day<sup>™</sup> Window Flat Rate Envelope</MailService> <Rate>8.95</Rate> <CommercialRate>7.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="41"> <MailService>Priority Mail 1-Day<sup>™</sup> Window Flat Rate Envelope Hold For Pickup</MailService> <Rate>0.00</Rate> <CommercialRate>7.75</CommercialRate> <CommitmentDate>2022-03-23</CommitmentDate> <CommitmentName>1-Day</CommitmentName> </Postage> <Postage CLASSID="77"> <MailService>Parcel Select Ground<sup>™</sup></MailService> <Rate>7.28</Rate> </Postage> <Postage CLASSID="6"> <MailService>Media Mail Parcel</MailService> <Rate>3.82</Rate> </Postage> <Postage CLASSID="7"> <MailService>Library Mail Parcel</MailService> <Rate>3.63</Rate> </Postage> <Postage CLASSID="4"> <MailService>USPS Retail Ground<sup>?</sup></MailService> <Rate>9.05</Rate> </Postage> </Package> </RateV4Response> ', 'shownRates' => array ( ), 'eliminatedRates' => array ( ), )
- This reply was modified 2 years, 8 months ago by Steven Stern (sterndata).
Forum: Plugins
In reply to: [USPS Simple Shipping for Woocommerce] Update shipping addressI checked to make sure I have the shipping weight added for the pants and I do. When I add two shirts to the cart it increases the shipping price properly but adding the pants just makes it say that there are no shipping options to the zip code.
Forum: Plugins
In reply to: [USPS Simple Shipping for Woocommerce] Update shipping addressHello, I added the zip code during checkout and it seemed to work for one item but I added a pair of pants to the cart and now it says no rates found.
Forum: Plugins
In reply to: [USPS Simple Shipping for Woocommerce] Update shipping address`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 => ‘no’,
2 => ‘no’,
23 => ‘no’,
1 => ‘no’,
33 => ‘no’,
18 => ‘no’,
47 => ‘no’,
48 => ‘no’,
49 => ‘no’,
50 => ‘no’,
‘0A’ => ‘no’,
‘0B’ => ‘no’,
‘0C’ => ‘no’,
‘0D’ => ‘no’,
12 => ‘no’,
15 => ‘no’,
19 => ‘no’,
‘0E’ => ‘no’,
61 => ‘yes’,
53 => ‘no’,
78 => ‘no’,
4 => ‘no’,
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’ => ‘90005’,
‘userId’ => ‘891000005749’,
‘commercialRate’ => ‘no’,
‘groupByWeight’ => ‘no’,
‘t_express_mail’ => ‘Priority Mail Express (USPS Simple)’,
‘t_priority_mail’ => ‘Priority Mail (USPS Simple)’,
‘t_first_class’ => ‘First-Class Mail’,
‘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’ => ‘90005’,
‘user_id’ => ”,
‘commercial_rate’ => ‘no’,
‘group_by_weight’ => ‘no’,
‘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’ => ‘no’,
‘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’ => ‘no’,
‘first_class_0B’ => ‘no’,
‘first_class_0C’ => ‘no’,
‘first_class_0D’ => ‘no’,
‘first_class_12’ => ‘no’,
‘first_class_15’ => ‘no’,
‘first_class_19’ => ‘no’,
‘first_class_0E’ => ‘no’,
‘first_class_61’ => ‘yes’,
‘first_class_53’ => ‘no’,
‘first_class_78’ => ‘no’,
‘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 (
’59bcda7c438bad7d2afffe9e2fed00be’ =>
array (
‘key’ => ’59bcda7c438bad7d2afffe9e2fed00be’,
‘product_id’ => 1845,
‘variation_id’ => 0,
‘variation’ =>
array (
),
‘quantity’ => 1,
‘data_hash’ => ‘b5c1d5ca8bae6d4896cf1807cdf763f0’,
‘line_tax_data’ =>
array (
‘subtotal’ =>
array (
),
‘total’ =>
array (
),
),
‘line_subtotal’ => 25.0,
‘line_subtotal_tax’ => 0,
‘line_total’ => 25.0,
‘line_tax’ => 0,
‘product’ =>
array (
‘name’ => ‘Tie Dye Fairy Top’,
‘slug’ => ‘tie-dye-fairy-top’,
‘price’ => ’25’,
‘regular_price’ => ’25’,
‘sale_price’ => ”,
‘weight’ => ‘0.3 lbs’,
‘weight_lbs’ => 0.3,
‘dimensions’ => ‘6 x 4 x 1 in’,
‘dimensions_in’ => ‘6 x 4 x 1’,
),
),
),
‘contents_cost’ => 25.0,
‘applied_coupons’ =>
array (
),
‘user’ =>
array (
‘ID’ => 1,
),
‘destination’ =>
array (
‘country’ => ‘US’,
‘state’ => ‘CA’,
‘postcode’ => ”,
‘city’ => ”,
‘address’ => ”,
‘address_1’ => ”,
‘address_2’ => ”,
),
‘cart_subtotal’ => ’25’,
‘rates’ =>
array (
),
),
‘requests’ =>
array (
‘ONLINE’ => ‘API=RateV4&XML=
<RateV4Request USERID=”891000005749″>
<Revision>2</Revision>
<Package ID=”59bcda7c438bad7d2afffe9e2fed00be:1:6:4:1:0.3″>
<Service>ONLINE</Service>
<ZipOrigination>90005</ZipOrigination>
<ZipDestination/>
<Pounds>0</Pounds>
<Ounces>4.80</Ounces>
<Container/>
<Size>REGULAR</Size>
<Width>4</Width>
<Length>6</Length>
<Height>1</Height>
<Girth>10</Girth>
<Machinable>true</Machinable>
<ShipDate>15-Mar-2022</ShipDate>
</Package>
</RateV4Request>
‘,
‘STANDARD POST’ => ‘API=RateV4&XML=
<RateV4Request USERID=”891000005749″>
<Revision>2</Revision>
<Package ID=”59bcda7c438bad7d2afffe9e2fed00be:1:6:4:1:0.3″>
<Service>STANDARD POST</Service>
<ZipOrigination>90005</ZipOrigination>
<ZipDestination/>
<Pounds>0</Pounds>
<Ounces>4.80</Ounces>
<Container/>
<Size>REGULAR</Size>
<Width>4</Width>
<Length>6</Length>
<Height>1</Height>
<Girth>10</Girth>
<GroundOnly>true</GroundOnly>
<Machinable>true</Machinable>
<ShipDate>15-Mar-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’ => ‘Mon, 14 Mar 2022 18:43:28 GMT’,
‘ntcoent-length’ => ‘208’,
‘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’ => ‘e41d6174622f8ce6cbdd5623’,
‘x-powered-by’ => ‘ASP.NET’,
‘x-ruleset-version’ => ‘1.0’,
‘content-length’ => ‘181’,
),
)),
‘body’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
<Error>
<Number>-2147219099</Number>
<Source>clsRateV4:UnpackRateNode</Source>
<Description>Missing value for ZipDestination.</Description>
<HelpFile/>
<HelpContext/>
</Error>
‘,
‘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’ => ‘Mon, 14 Mar 2022 18:43:48 GMT’,
‘ntcoent-length’ => ‘208’,
‘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’ => ‘e41d6174622f8ce6cbdd60a3’,
‘x-powered-by’ => ‘ASP.NET’,
‘x-ruleset-version’ => ‘1.0’,
‘content-length’ => ‘181’,
),
)),
‘body’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
<Error>
<Number>-2147219099</Number>
<Source>clsRateV4:UnpackRateNode</Source>
<Description>Missing value for ZipDestination.</Description>
<HelpFile/>
<HelpContext/>
</Error>
‘,
‘response’ =>
array (
‘code’ => 200,
‘message’ => ‘OK’,
),
‘cookies’ =>
array (
),
‘filename’ => NULL,
),
),
‘unitedResponse’ => ‘<?xml version=”1.0″ encoding=”UTF-8″?>
<Error>
<Number>-2147219099</Number>
<Source>clsRateV4:UnpackRateNode</Source>
<Description>Missing value for ZipDestination.</Description>
<HelpFile/>
<HelpContext/>
</Error>
‘,
‘shownRates’ =>
array (
),
‘eliminatedRates’ =>
array (
),
)`