prunly
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Square] Tax status not imported and intermittent rounding errorThank you for the straight answer @abwaita
I have created a feature request here:
https://woo.com/feature-request/import-tax-status-from-square-to-woocommerce/If anybody else would like to see tax status synced from Square to WooCommerce for the items in their catalog, please consider upvoting the request at the link above.
Forum: Plugins
In reply to: [WooCommerce Square] Tax status not imported and intermittent rounding errorHi Pepe,
This is the issue. The non-taxable product is synced to WooCommerce with Tax Status = Taxable when it should be imported with Tax Status = None.
Kindly advise how to ensure that non-taxable products are imported from Square with the correct Tax Status in WooCommerce, or if that is not possible with this plugin.
Forum: Plugins
In reply to: [WooCommerce Square] Tax status not imported and intermittent rounding errorYes, I can confirm the following are all true:
- Product prices are entered without tax, in Square
- No other tax settings are set up in Square
- Product prices sync, as expected (remain the same), on the WooCommerce site
- Tax settings are set to display for Massachusetts, at WooCommerce checkout
Here is an item in WooCommerce:
https://wordpress-416598-4230835.cloudwaysapps.com/product/under-armor-tactical-heatgear-hood/And the same item offered via Square Checkout:
https://square.link/u/86pEtT9KUsing a test address of 239 Main Street, Hyannis, MA 02601 you will notice that tax is not added in Square but it is added in WooCommerce. This is because of the incorrect taxable status in WooCommerce.
Below is the entry for this item from the WooSquare log. I noticed that tax_ids is not set in this array as it is with another taxable product I examined, yet the tax_status is set to taxable in the WooCommerce database.
If you need further information please let me know.
{ "type": "ITEM", "id": "GYKV6ZEWVXL7BQHKW7NCFHXL", "updated_at": "2024-01-19T20:12:05.888Z", "version": 1705695125888, "is_deleted": false, "present_at_all_locations": true, "item_data": { "name": "Under Armor Tactical Heatgear Hood", "description": "Balaclava-style face mask offers full head & facial protection, extending below the neckline for extra coverage\nUPF 30+ protects your skin from the sun's harmful rays\n4-way stretch construction moves better in every direction\nMaterial wicks sweat & dries really fast\nAnti-odor technology prevents the growth of odor causing microbes", "category_id": "ESRDMRVKBO7JG3ZZCNG3Q2B6", "variations": [ { "type": "ITEM_VARIATION", "id": "5GDVLEBS263JSGVXGGD62RYJ", "updated_at": "2024-01-19T20:12:05.888Z", "version": 1705695125888, "is_deleted": false, "present_at_all_locations": true, "item_variation_data": { "item_id": "GYKV6ZEWVXL7BQHKW7NCFHXL", "name": "Regular", "sku": "UA-8005", "ordinal": 1, "pricing_type": "FIXED_PRICING", "price_money": { "amount": 2499, "currency": "USD" }, "location_overrides": [ { "location_id": "L95GEXXYWM4HS", "track_inventory": true }, { "location_id": "LWNE8M92C3HZC", "track_inventory": true } ], "track_inventory": true, "sellable": true, "stockable": true, "item_variation_vendor_info_ids": [ "LGBLKHS7MNHSG463SPQ563DN" ] } } ], "product_type": "REGULAR", "skip_modifier_screen": false, "image_ids": [ "SXSQAARGA2YV3VXIPOOF4PXP" ], "description_html": "<ul><li>Balaclava-style face mask offers full head & facial protection, extending below the neckline for extra coverage<\/li><li>UPF 30+ protects your skin from the sun's harmful rays<\/li><li>4-way stretch construction moves better in every direction<\/li><li>Material wicks sweat & dries really fast<\/li><li>Anti-odor technology prevents the growth of odor causing microbes<\/li><\/ul><p><br\/><\/p>", "description_plaintext": "Balaclava-style face mask offers full head & facial protection, extending below the neckline for extra coverage\nUPF 30+ protects your skin from the sun's harmful rays\n4-way stretch construction moves better in every direction\nMaterial wicks sweat & dries really fast\nAnti-odor technology prevents the growth of odor causing microbes" } },
Forum: Plugins
In reply to: [WooCommerce Square] Tax status not imported and intermittent rounding errorHi Pepe and thanks for the response and links. On closer inspection, the prices are syncing correctly and there is no rounding error. Apologies for the false report.
However, the issue with taxes remains. Non-taxable products are not being marked as such in WooCommerce after syncing from Square. We are entering the price exclusive of tax in Square. Woocommerce is also set to display prices exclusive of tax. Our plugin sync setting is Square.
Here is our tax settings in WooCommerce:
Forum: Plugins
In reply to: [WooCommerce Square] Tax status not imported and intermittent rounding errorHi Zubair,
Thanks for the speedy response. As far as the rounding error goes – is there any way to ensure this does not happen, such as changing DB settings or field collation?
For the tax issue, below is one simple product that experiences the tax problem on our dev site:
https://wordpress-416598-4230835.cloudwaysapps.com/product/under-armor-tactical-heatgear-hood/This is a non-taxable item as set up in Square, which is our SOR. In WooCommerce the product has a tax status of Taxable and will be charged 6.25% Massachusetts sales tax when shipped to an address in MA. Screenshots of settings below:
Square product tax settings:
Square account settings:
This shows that tax is assigned to some items and not others (product used in example is highlighted as not checked):
WooCommerce product tax settings after import:
Here is the tax_status = taxable in the WooCommerce database for this product:
And here are the URLs in Woo/Square to show we are examining the right product:
I hope this helps you recreate the problem or find a solution for us. If you need anything else please let me know.
Forum: Plugins
In reply to: [WooCommerce Square] Square does not import option labelI am using the latest version – Version 4.2.2
Unfortunately I can’t switch to Woo as the SOR as that would interfere with my client’s in-store retail operations.
Forum: Plugins
In reply to: [WooCommerce Square] Selective Import of Square Products to WooCommerceThanks Saif. I did find that workaround in my research but it seems far too risky and complicated to ask my client to go through this every time. I understand this is mostly a limitation on the Square side of things but a UI during the import that allows you to select which products to import would be nice (I’ve seen this feature in another Square plugin).
Thanks for your help.
Hi again,
We figured out the issue. The addresses we tested that had the $5 discrepancy were quoted as Residential on UPS, whereas your free plugin always sends a Business request, correct?
This leads us to a couple of follow up questions:
- Does the pro plugin automatically detect which addresses are residential vs business in the REST API?
- How come the XML API rates were always correct? Was the business/residential functionality included in the free plugin prior to the OAuth upgrade?
Thank you for all your help.
Hello again and thanks for the update and great support.
I am seeing the negotiated rates coming through now. I ran a few different tests and the rates are pretty accurate for heavier shipments (15lbs+) and for smaller shipments to certain states.
However, there is still a large disparity ($5) on some shipments when I compare what the OAuth API returns now and what the XML API returned previously. Ultimately I think this is something I need to bring up with UPS as there could be a flag on the account.
Thank you for all your help and I will be sure to open a ticket on your website if I need assistance with this matter any further.
OK, thanks Grzegorz. Yes, I see this new negotiated rate of $12.35 in the API Response which is unexpectedly low as you pointed out.
When I get a standard non-negotiated quote from the UPS website (without logging in) the rate comes back at $23.49.
We will await the plugin update and if we can provide any further details just let me know. We are working on a staging site for now.
Thank you for the update.
We have run the updates, cleared cache, and reauthorized via OAuth but unfortunately the rate is still inflated. Today it is $20.26.
When calculating a quote on the UPS website while logged in with negotiated rates it comes back as $16.26. The same rate is returned when querying with the old XML API.
Here is the new OAuth request after the update:
{ "RateRequest": { "PickupType": { "Code": "01" }, "Shipment": { "Service": [], "ShipFrom": { "Address": { "AddressLine1": "874 Main Street", "City": "Osterville", "CountryCode": "US", "PostalCode": "02655", "StateProvinceCode": "MA" } }, "ShipTo": { "Address": { "AddressLine1": "2707 San Luis Ct", "City": "Naperville", "CountryCode": "US", "PostalCode": "60565", "StateProvinceCode": "IL" } }, "Shipper": { "Address": { "AddressLine1": "874 Main Street", "City": "Osterville", "CountryCode": "US", "PostalCode": "02655", "StateProvinceCode": "MA" }, "ShipperNumber": "3W438F" }, "RateInformation": [], "Package": [ { "PackageWeight": { "UnitOfMeasurement": { "Code": "LBS" }, "Weight": "11" }, "PackagingType": { "Code": "02" } } ], "ShipmentRatingOptions": { "NegotiatedRatesIndicator": "1" } } } }
And the corresponding response:
{ "RateResponse": { "Response": { "ResponseStatus": { "Code": "1", "Description": "Success" }, "Alert": [ { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" } ], "TransactionReference": { "CustomerContext": "Octolize Plugin", "TransactionIdentifier": "xwssoas279t60yZpJKtDhf" } }, "RatedShipment": [ { "Service": { "Code": "01", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "211.05" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "211.05" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "85.47" } }, "GuaranteedDelivery": { "BusinessDaysInTransit": "1", "DeliveryByTime": "10:30 A.M." }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "211.05" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "177.73" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "33.32" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "211.05" }, "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "71.98" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "85.47" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "85.47" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "13.49" } }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "02", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "84.50" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "84.50" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "39.29" } }, "GuaranteedDelivery": { "BusinessDaysInTransit": "2" }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "84.50" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "71.16" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "13.34" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "84.50" }, "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "33.09" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "39.29" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "39.29" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "6.20" } }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "03", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "20.26" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "20.26" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "12.35" } }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "20.26" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "17.50" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "2.76" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "20.26" }, "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "10.67" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "12.35" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "12.35" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "1.68" } }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "12", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "57.06" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "57.06" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "30.53" } }, "GuaranteedDelivery": { "BusinessDaysInTransit": "3" }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "57.06" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "48.05" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "9.01" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "57.06" }, "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "25.71" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "30.53" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "30.53" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "4.82" } }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "13", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "182.58" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "182.58" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "73.95" } }, "GuaranteedDelivery": { "BusinessDaysInTransit": "1", "DeliveryByTime": "3:00 P.M." }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "182.58" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "153.75" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "28.83" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "182.58" }, "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "62.27" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "73.95" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "73.95" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "11.68" } }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "14", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "246.68" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "246.68" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "246.68" } }, "GuaranteedDelivery": { "BusinessDaysInTransit": "1", "DeliveryByTime": "8:00 A.M." }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "246.68" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "207.73" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "38.95" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "246.68" }, "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "207.73" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "246.68" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "246.68" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "38.95" } }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "59", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "93.54" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "93.54" }, "NegotiatedRateCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "43.50" } }, "GuaranteedDelivery": { "BusinessDaysInTransit": "2", "DeliveryByTime": "10:30 A.M." }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "93.54" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "78.77" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "14.77" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "93.54" }, "NegotiatedCharges": { "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "36.63" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "43.50" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharge": { "CurrencyCode": "USD", "MonetaryValue": "43.50" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "6.87" } }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } } ] } }
Hi Grzegorz,
Below is the XML API request/response, followed by the corresponding OAuth request/response. We are only using Ground method.
<?xml version="1.0"?> <RatingServiceSelectionRequest xml:lang="en-US"> <Request> <TransactionReference/> <RequestAction>Rate</RequestAction> <RequestOption>Shop</RequestOption> </Request> <PickupType> <Code>01</Code> <Description/> </PickupType> <Shipment> <Service> <Code/> <Description/> </Service> <Shipper> <ShipperNumber>3W438F</ShipperNumber> <Address> <AddressLine1>874 Main Street</AddressLine1> <City>Osterville</City> <StateProvinceCode>MA</StateProvinceCode> <PostalCode>02655</PostalCode> <CountryCode>US</CountryCode> </Address> </Shipper> <ShipFrom> <Address> <AddressLine1>874 Main Street</AddressLine1> <City>Osterville</City> <StateProvinceCode>MA</StateProvinceCode> <PostalCode>02655</PostalCode> <CountryCode>US</CountryCode> </Address> </ShipFrom> <ShipTo> <Name/> <CompanyName/> <AttentionName/> <Address> <AddressLine1>2707 San Luis Ct</AddressLine1> <City>Naperville</City> <StateProvinceCode>IL</StateProvinceCode> <PostalCode>60565</PostalCode> <CountryCode>US</CountryCode> </Address> </ShipTo> <RateInformation> <NegotiatedRatesIndicator/> </RateInformation> <Package> <PackagingType> <Code>02</Code> <Description/> </PackagingType> <PackageWeight> <Weight>11</Weight> <UnitOfMeasurement> <Code>LBS</Code> <Description/> </UnitOfMeasurement> </PackageWeight> <PackageServiceOptions/> </Package> <ShipmentServiceOptions/> </Shipment> </RatingServiceSelectionRequest> ----- <?xml version="1.0"?> <RatingServiceSelectionResponse> <Response> <ResponseStatusCode>1</ResponseStatusCode> <ResponseStatusDescription>Success</ResponseStatusDescription> </Response> <RatedShipment> <Service> <Code>01</Code> </Service> <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning> <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>216.62</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>216.62</MonetaryValue> </TotalCharges> <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery> <ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime> <RatedPackage> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>216.62</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>216.62</MonetaryValue> </TotalCharges> <Weight>11.0</Weight> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> </RatedPackage> <NegotiatedRates> <NetSummaryCharges> <GrandTotal> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>90.11</MonetaryValue> </GrandTotal> </NetSummaryCharges> </NegotiatedRates> </RatedShipment> <RatedShipment> <Service> <Code>02</Code> </Service> <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning> <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>90.87</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>90.87</MonetaryValue> </TotalCharges> <GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery> <ScheduledDeliveryTime/> <RatedPackage> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>90.87</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>90.87</MonetaryValue> </TotalCharges> <Weight>11.0</Weight> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> </RatedPackage> <NegotiatedRates> <NetSummaryCharges> <GrandTotal> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>44.23</MonetaryValue> </GrandTotal> </NetSummaryCharges> </NegotiatedRates> </RatedShipment> <RatedShipment> <Service> <Code>03</Code> </Service> <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning> <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>26.28</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>26.28</MonetaryValue> </TotalCharges> <GuaranteedDaysToDelivery/> <ScheduledDeliveryTime/> <RatedPackage> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>26.28</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>26.28</MonetaryValue> </TotalCharges> <Weight>11.0</Weight> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> </RatedPackage> <NegotiatedRates> <NetSummaryCharges> <GrandTotal> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>16.23</MonetaryValue> </GrandTotal> </NetSummaryCharges> </NegotiatedRates> </RatedShipment> <RatedShipment> <Service> <Code>12</Code> </Service> <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning> <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>63.60</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>63.60</MonetaryValue> </TotalCharges> <GuaranteedDaysToDelivery>3</GuaranteedDaysToDelivery> <ScheduledDeliveryTime/> <RatedPackage> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>63.60</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>63.60</MonetaryValue> </TotalCharges> <Weight>11.0</Weight> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> </RatedPackage> <NegotiatedRates> <NetSummaryCharges> <GrandTotal> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>35.52</MonetaryValue> </GrandTotal> </NetSummaryCharges> </NegotiatedRates> </RatedShipment> <RatedShipment> <Service> <Code>13</Code> </Service> <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning> <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>188.33</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>188.33</MonetaryValue> </TotalCharges> <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery> <ScheduledDeliveryTime/> <RatedPackage> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>188.33</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>188.33</MonetaryValue> </TotalCharges> <Weight>11.0</Weight> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> </RatedPackage> <NegotiatedRates> <NetSummaryCharges> <GrandTotal> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>78.66</MonetaryValue> </GrandTotal> </NetSummaryCharges> </NegotiatedRates> </RatedShipment> <RatedShipment> <Service> <Code>14</Code> </Service> <RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning> <RatedShipmentWarning>Ship To Address Classification is changed from Commercial to Residential</RatedShipmentWarning> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>252.02</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>252.02</MonetaryValue> </TotalCharges> <GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery> <ScheduledDeliveryTime>8:00 A.M.</ScheduledDeliveryTime> <RatedPackage> <TransportationCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>252.02</MonetaryValue> </TransportationCharges> <ServiceOptionsCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>0.00</MonetaryValue> </ServiceOptionsCharges> <TotalCharges> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>252.02</MonetaryValue> </TotalCharges> <Weight>11.0</Weight> <BillingWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>11.0</Weight> </BillingWeight> </RatedPackage> <NegotiatedRates> <NetSummaryCharges> <GrandTotal> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>250.30</MonetaryValue> </GrandTotal> </NetSummaryCharges> </NegotiatedRates> </RatedShipment> </RatingServiceSelectionResponse>
OAuth Request/Response
OAUTH REQUEST { "RateRequest": { "PickupType": { "Code": "01" }, "Shipment": { "Service": [], "ShipFrom": { "Address": { "AddressLine1": "874 Main Street", "City": "Osterville", "CountryCode": "US", "PostalCode": "02655", "StateProvinceCode": "MA" } }, "ShipTo": { "Address": { "City": "Naperville", "CountryCode": "US", "PostalCode": "60565", "StateProvinceCode": "IL" } }, "Shipper": { "Address": { "AddressLine1": "874 Main Street", "City": "Osterville", "CountryCode": "US", "PostalCode": "02655", "StateProvinceCode": "MA" }, "ShipperNumber": "3W438F" }, "RateInformation": { "NegotiatedRatesIndicator": "1" }, "Package": [ { "PackageWeight": { "UnitOfMeasurement": { "Code": "LBS" }, "Weight": "11" }, "PackagingType": { "Code": "02" } } ] } } } ---- { "RateResponse": { "Response": { "ResponseStatus": { "Code": "1", "Description": "Success" }, "Alert": [ { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" } ], "TransactionReference": { "CustomerContext": "Octolize Plugin", "TransactionIdentifier": "xwssoat269p5jLj54j1nvK" } }, "RatedShipment": [ { "Service": { "Code": "01", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "209.72" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "209.72" }, "GuaranteedDelivery": { "BusinessDaysInTransit": "1", "DeliveryByTime": "10:30 A.M." }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "209.72" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "177.73" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "31.99" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "209.72" }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "02", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "83.97" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "83.97" }, "GuaranteedDelivery": { "BusinessDaysInTransit": "2" }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "83.97" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "71.16" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "12.81" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "83.97" }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "03", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "20.21" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "20.21" }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "20.21" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "17.50" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "2.71" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "20.21" }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "12", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "56.70" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "56.70" }, "GuaranteedDelivery": { "BusinessDaysInTransit": "3" }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "56.70" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "48.05" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "8.65" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "56.70" }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "13", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "181.43" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "181.43" }, "GuaranteedDelivery": { "BusinessDaysInTransit": "1", "DeliveryByTime": "3:00 P.M." }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "181.43" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "153.75" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "27.68" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "181.43" }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "14", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "245.12" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "245.12" }, "GuaranteedDelivery": { "BusinessDaysInTransit": "1", "DeliveryByTime": "8:00 A.M." }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "245.12" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "207.73" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "37.39" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "245.12" }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } }, { "Service": { "Code": "59", "Description": "" }, "RatedShipmentAlert": { "Code": "110971", "Description": "Your invoice may vary from the displayed reference rates" }, "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" }, "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "92.95" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "92.95" }, "GuaranteedDelivery": { "BusinessDaysInTransit": "2", "DeliveryByTime": "10:30 A.M." }, "RatedPackage": { "TransportationCharges": { "CurrencyCode": "USD", "MonetaryValue": "92.95" }, "BaseServiceCharge": { "CurrencyCode": "USD", "MonetaryValue": "78.77" }, "ServiceOptionsCharges": { "CurrencyCode": "USD", "MonetaryValue": "0.00" }, "ItemizedCharges": { "Code": "375", "CurrencyCode": "USD", "MonetaryValue": "14.18" }, "TotalCharges": { "CurrencyCode": "USD", "MonetaryValue": "92.95" }, "Weight": "11.0", "BillingWeight": { "UnitOfMeasurement": { "Code": "LBS", "Description": "Pounds" }, "Weight": "11.0" } } } ] } }
Thank you for looking into this!
Forum: Plugins
In reply to: [Weather Atlas Widget] City ShortcodeThe ID for Tonasket, WA is 2392011.
I was having the same problem and figured out that if you go to weather-us.com and find your city, the ID can be found in the source code.Search the source code for weather_cookie and you will find the ID next to it. Hope this helps.
Cookies.set(‘weather_cookie’,’2392011|250|55|en’…
Forum: Plugins
In reply to: [Awesome Weather Widget] Any way to convert the wind speed to kph?Excellent work, thank you for sharing @oxxyfx.
I needed to convert from m/s to mph, so by expanding on your code I was able to achieve that with the snippet below.
// change m/s to mph add_filter('awesome_weather_wind_speed_text', 'hvrcf_awesome_weather_wind_speed_text'); function hvrcf_awesome_weather_wind_speed_text() { return $wind_speed_text = " mph"; } add_filter('awesome_weather_wind_speed', 'hvrcf_awesome_weather_wind_speed'); function hvrcf_awesome_weather_wind_speed( $val ) { return $wind_speed = round ( $val * 2.237 ); // thanks Google }
I found some others that were looking for this conversion but their topics were closed to new replies. I hope this helps anyone else who is looking.
Forum: Plugins
In reply to: [Yoast SEO] Php errors@alriksson I can confirm that this function has been rewritten to fix this error in Yoast 14.0.2