• Resolved ScaleGuru

    (@scalegurus)


    There appears to be an error in how combined shipping is calculated.
    2 of the same items being shipped in separate boxes.

    When I add an item that costs $400.00 shipping is $20.00
    When I add two of the same items, shipping is $50.00

    After researching what I could to figure out what is happening, I determined that the value being submitted to UPS for insurance is the combined total multiplied by the quantity of packages instead of the individual cost. The rates being returned from UPS are that of 2 packages being valued at $800 each instead of $400.00 each.

Viewing 7 replies - 1 through 7 (of 7 total)
  • @scalegurus,

    Thanks for letting us about this issue.
    It’s the first time someone has reported this issue. We have fixed this in the latest version (1.1.9). Please download it.

    Thread Starter ScaleGuru

    (@scalegurus)

    Thank you for the quick response and action.

    The problem is corrected.

    @scalegurus,

    Great to know that your issue is resolved.
    Do let us know if you have any query. We will help you.

    Also, if you liked our support/plugin, you can rate us here –
    https://wordpress.org/support/plugin/ups-woocommerce-shipping-method/reviews/

    This would be a huge encouragement for us.

    I’m still seeing this issue. In the store I built with WP and WC, I put in multiple number of one item (7 bottles of a baking spices @ $6.25 each) into the Shopping Cart and the UPS API calculated a shipping rate for UPS Ground that totaled $67. That can’t be right.

    I have UPS (BASIC) WooCommerce Shipping version 1.2.2 installed.

    Site is http://www.greenpointtrading.co.

    Try the above with this product.
    https://greenpointtrading.co/seasonings-rubs/seasonings/zaatar/

    • This reply was modified 9 years, 1 month ago by sgclark.

    @sgclark,

    Could you please provide the debug request and response. So that can analyse your issue quickly.

    I turned on “Debug Mode” with your plug in and this is what was displayed on the page. I hope this is what you are asking for. I removed the UN/PW credentials from the code for security reasons. Thanks! Stephen

    UPS REQUEST:

    <?xml version=”1.0″ ?>
    <AccessRequest xml:lang=’en-US’>
    <AccessLicenseNumber>xxxxxxxxxxxxxxx</AccessLicenseNumber>
    <UserId>xxxxxxxxxxx</UserId>
    <Password>xxxxxxxxxxxlt;/Password>
    </AccessRequest>
    <?xml version=”1.0″ ?>
    <RatingServiceSelectionRequest>
    <Request>
    <TransactionReference>
    <CustomerContext>Rating and Service</CustomerContext>
    <XpciVersion>1.0</XpciVersion>
    </TransactionReference>
    <RequestAction>Rate</RequestAction>
    <RequestOption>Rate</RequestOption>
    </Request>
    <PickupType>
    01
    <Description>Daily Pickup</Description>
    </PickupType>
    <CustomerClassification>
    99
    </CustomerClassification>
    <Shipment>
    <Description>WooCommerce Rate Request</Description>
    <Shipper>
    <ShipperNumber>6A9W92</ShipperNumber>
    <Address>
    <AddressLine></AddressLine>
    <City>Brooklyn</City>
    <PostalCode>11222</PostalCode>
    <CountryCode>US</CountryCode>
    </Address>
    </Shipper>
    <ShipTo>
    <Address>
    <StateProvinceCode>NY</StateProvinceCode>
    <City>ASTORIA</City>
    <PostalCode>11103</PostalCode>
    <CountryCode>US</CountryCode>
    </Address>
    </ShipTo>
    <ShipFrom>
    <Address>
    <AddressLine></AddressLine>
    <City>Brooklyn</City>
    <PostalCode>11222</PostalCode>
    <CountryCode>US</CountryCode>
    </Address>
    </ShipFrom>
    <Service>
    03
    </Service>
    <Package>
    <PackagingType>
    02
    <Description>Package/customer supplied</Description>
    </PackagingType>
    <Description>Rate</Description>
    <PackageWeight>
    <UnitOfMeasurement>
    LBS
    </UnitOfMeasurement>
    <Weight>0.31249937345</Weight>
    </PackageWeight>
    </Package>
    <Package>
    <PackagingType>
    02
    <Description>Package/customer supplied</Description>
    </PackagingType>
    <Description>Rate</Description>
    <PackageWeight>
    <UnitOfMeasurement>
    LBS
    </UnitOfMeasurement>
    <Weight>0.31249937345</Weight>
    </PackageWeight>
    </Package>
    <Package>
    <PackagingType>
    02
    <Description>Package/customer supplied</Description>
    </PackagingType>
    <Description>Rate</Description>
    <PackageWeight>
    <UnitOfMeasurement>
    LBS
    </UnitOfMeasurement>
    <Weight>0.31249937345</Weight>
    </PackageWeight>
    </Package>
    <Package>
    <PackagingType>
    02
    <Description>Package/customer supplied</Description>
    </PackagingType>
    <Description>Rate</Description>
    <PackageWeight>
    <UnitOfMeasurement>
    LBS
    </UnitOfMeasurement>
    <Weight>0.31249937345</Weight>
    </PackageWeight>
    </Package>
    <Package>
    <PackagingType>
    02
    <Description>Package/customer supplied</Description>
    </PackagingType>
    <Description>Rate</Description>
    <PackageWeight>
    <UnitOfMeasurement>
    LBS
    </UnitOfMeasurement>
    <Weight>0.31249937345</Weight>
    </PackageWeight>
    </Package>
    <Package>
    <PackagingType>
    02
    <Description>Package/customer supplied</Description>
    </PackagingType>
    <Description>Rate</Description>
    <PackageWeight>
    <UnitOfMeasurement>
    LBS
    </UnitOfMeasurement>
    <Weight>0.31249937345</Weight>
    </PackageWeight>
    </Package>
    <Package>
    <PackagingType>
    02
    <Description>Package/customer supplied</Description>
    </PackagingType>
    <Description>Rate</Description>
    <PackageWeight>
    <UnitOfMeasurement>
    LBS
    </UnitOfMeasurement>
    <Weight>0.31249937345</Weight>
    </PackageWeight>
    </Package>
    </Shipment>
    </RatingServiceSelectionRequest>

    UPS RESPONSE:

    <?xml version=”1.0″?>
    <RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rating and Service</CustomerContext><XpciVersion>1.0</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service>03</Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement>LBS</UnitOfMeasurement><Weight>7.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>54.04</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>54.04</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery/><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TotalCharges><Weight>0.4</Weight><BillingWeight><UnitOfMeasurement>LBS</UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TotalCharges><Weight>0.4</Weight><BillingWeight><UnitOfMeasurement>LBS</UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TotalCharges><Weight>0.4</Weight><BillingWeight><UnitOfMeasurement>LBS</UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TotalCharges><Weight>0.4</Weight><BillingWeight><UnitOfMeasurement>LBS</UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TotalCharges><Weight>0.4</Weight><BillingWeight><UnitOfMeasurement>LBS</UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TotalCharges><Weight>0.4</Weight><BillingWeight><UnitOfMeasurement>LBS</UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>0.00</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>7.72</MonetaryValue></TotalCharges><Weight>0.4</Weight><BillingWeight><UnitOfMeasurement>LBS</UnitOfMeasurement><Weight>1.0</Weight></BillingWeight></RatedPackage></RatedShipment></RatingServiceSelectionResponse>

    • This reply was modified 9 years, 1 month ago by sgclark.
    • This reply was modified 9 years, 1 month ago by sgclark.

    I just checked the debug data you provided, there is no insurance related issue in your debug request.

    You are getting a higher rate because the plugin treats each item as a separate package and it will show a sum price.

    This version of the plugin is designed for small business owners.

    The Pro version of the plugin has more packaging options such as Box Packing, Weight based Packing. So that multiple items can be shipped in a single package.

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

The topic ‘Error in calculation’ is closed to new replies.