five23 / shipsync-community

FedEx Web Services Integration for Magento
9 stars 10 forks source link

Rates are too high for multiple items of the same sku #20

Open tvanhuis opened 10 years ago

tvanhuis commented 10 years ago

Hello,

I'm having an issue with getting too high a rate from fedex when i have multiple items having the same sku. Here is what i have: image

so the dimensional weight is 50 lbs.

I have a custom box set up in ShipSync Packages as: image

When I add a single item to my cart and checkout to a state like FL, the shipping rate is perfect, $29.
image

But, if I add 2 to the cart, my new rate from Fedex is $126! image

I've tried setting the Use special packaging attribute to "Yes", and this helps a bit, but the rate is still more than 2x one package at $79. And if I increase the qty to 5 items, the rate jumps to $393.90.
image

Allowing Multiple Package shipments in the config doesn't seem to help either. Can anyone point me to a setting i may have wrong, or is this a bug? Thanks!

five23 commented 10 years ago

The height of your product is greater than the max height of your configured package.

tvanhuis commented 10 years ago

Yikes – yes I had my dims backwards – fixed that in my attribute set – but I’m still getting the same problem. 1 item is $26, 2 is $78, and 5 is $393.

Also, if I do 2 different skus, it does the same thing –

sku1 added to cart alone – ground shipping = $26.26

sku2 added to cart alone – ground shipping = $70.81

sku1 + sku2 added together – ground shipping = $123.33

and my 2nd & overnight rates look skyhigh also [cid:image001.png@01CF767B.6EBA1EA0]

Both items have the “use special packaging” set to “Yes”. Should the rates for each package just add together, since I’m telling them to ship in their own boxes? Thanks,

Tim

From: David Scott Kirby [mailto:notifications@github.com] Sent: Friday, May 23, 2014 11:09 AM To: five23/shipsync-community Cc: Van Huis, Tim Subject: Re: [shipsync-community] Rates are too high for multiple items of the same sku (#20)

The height of your product is greater than the max height of your configured package.

— Reply to this email directly or view it on GitHubhttps://github.com/five23/shipsync-community/issues/20#issuecomment-44022735.

five23 commented 10 years ago

Hmm, ... Can you turn on logging and paste the api request?

tvanhuis commented 10 years ago

The log files are pretty large, so I’m attaching as separate files – log.txt is for QTY of 1, log2.txt is for qty of 2. Thanks!

Tim

From: David Scott Kirby [mailto:notifications@github.com] Sent: Friday, May 23, 2014 12:44 PM To: five23/shipsync-community Cc: Van Huis, Tim Subject: Re: [shipsync-community] Rates are too high for multiple items of the same sku (#20)

Hmm, ... Can you turn on logging and paste the api request?

— Reply to this email directly or view it on GitHubhttps://github.com/five23/shipsync-community/issues/20#issuecomment-44034054.

2014-05-23T16:53:04+00:00 DEBUG (7): Array ( [WebAuthenticationDetail] => Array ( [UserCredential] => Array ( [Key] => **** [Password] => ***** )

    )

[ClientDetail] => Array
    (
        [AccountNumber] => *****************
        [MeterNumber] => *********************
    )

[TransactionDetail] => Array
    (
        [CustomerTransactionId] => *** Rate Request v14 Using PHP ***
    )

[Version] => Array
    (
        [ServiceId] => crs
        [Major] => 14
        [Intermediate] => 0
        [Minor] => 0
    )

[ReturnTransitAndCommit] => 1
[RequestedShipment] => Array
    (
        [DropoffType] => REGULAR_PICKUP
        [ShipTimestamp] => 2014-05-23T16:53:04+00:00
        [RateRequestTypes] => LIST
        [PreferredCurrency] => USD
        [ShippingChargesPayment] => Array
            (
                [PaymentType] => SENDER
                [Payor] => Array
                    (
                        [ResponsibleParty] => Array
                            (
                                [AccountNumber] => 049504187
                                [CountryCode] => US
                            )

                    )

            )

        [Shipper] => Array
            (
                [Address] => Array
                    (
                        [StreetLines] => Array
                            (
                                [0] => 315 Garden Ave.
                            )

                        [City] => Holland
                        [StateOrProvinceCode] => MI
                        [PostalCode] => 49424
                        [CountryCode] => US
                    )

            )

        [Recipient] => Array
            (
                [Address] => Array
                    (
                        [StreetLines] => 8121 NW 68th Street
                        [City] => Miami
                        [PostalCode] => 33166
                        [StateOrProvinceCode] => FL
                        [Residential] => 0
                        [CountryCode] => US
                    )

            )

        [RequestedPackageLineItems] => Array
            (
                [0] => Array
                    (
                        [SequenceNumber] => 1
                        [GroupPackageCount] => 1
                        [Weight] => Array
                            (
                                [Value] => 24
                                [Units] => LB
                            )

                        [Dimensions] => Array
                            (
                                [Length] => 24
                                [Width] => 17
                                [Height] => 17
                                [Units] => IN
                            )

                    )

            )

        [PackageCount] => 1
        [PackageDetail] => INDIVIDUAL_PACKAGES
    )

)

2014-05-23T16:53:06+00:00 DEBUG (7): stdClass Object ( [HighestSeverity] => SUCCESS [Notifications] => stdClass Object ( [Severity] => SUCCESS [Source] => crs [Code] => 0 [Message] => Request was successfully processed. [LocalizedMessage] => Request was successfully processed. )

[TransactionDetail] => stdClass Object
    (
        [CustomerTransactionId] => *** Rate Request v14 Using PHP ***
    )

[Version] => stdClass Object
    (
        [ServiceId] => crs
        [Major] => 14
        [Intermediate] => 0
        [Minor] => 0
    )

[RateReplyDetails] => Array
    (
        [0] => stdClass Object
            (
                [ServiceType] => FIRST_OVERNIGHT
                [PackagingType] => YOUR_PACKAGING
                [DeliveryStation] => RTDA 
                [DeliveryDayOfWeek] => TUE
                [DeliveryTimestamp] => 2014-05-27T08:00:00
                [CommitDetails] => stdClass Object
                    (
                        [ServiceType] => FIRST_OVERNIGHT
                        [CommitTimestamp] => 2014-05-27T08:00:00
                        [DayOfWeek] => TUE
                        [DestinationServiceArea] => A1
                        [BrokerToDestinationDays] => 0
                        [DocumentContent] => NON_DOCUMENTS
                    )

                [DestinationAirportId] => MIA
                [IneligibleForMoneyBackGuarantee] => 
                [OriginServiceArea] => A4
                [DestinationServiceArea] => A1
                [SignatureOption] => SERVICE_DEFAULT
                [ActualRateType] => PAYOR_ACCOUNT_PACKAGE
                [RatedShipmentDetails] => Array
                    (
                        [0] => stdClass Object
                            (
                                [EffectiveNetDiscount] => stdClass Object
                                    (
                                        [Currency] => USD
                                        [Amount] => 0.0
                                    )

                                [ShipmentRateDetail] => stdClass Object
                                    (
                                        [RateType] => PAYOR_ACCOUNT_PACKAGE
                                        [RateScale] => 14
                                        [RateZone] => 6
                                        [PricingCode] => PACKAGE
                                        [RatedWeightMethod] => DIM
                                        [DimDivisor] => 166
                                        [FuelSurchargePercent] => 9.5
                                        [TotalBillingWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalDimWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalBaseCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 266.45
                                            )

                                        [TotalFreightDiscounts] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetFreight] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 266.45
                                            )

                                        [TotalSurcharges] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 25.31
                                            )

                                        [TotalNetFedExCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 291.76
                                            )

                                        [TotalTaxes] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 291.76
                                            )

                                        [TotalRebates] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [Surcharges] => stdClass Object
                                            (
                                                [SurchargeType] => FUEL
                                                [Description] => Fuel
                                                [Amount] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 25.31
                                                    )

                                            )

                                    )

                                [RatedPackages] => stdClass Object
                                    (
                                        [GroupNumber] => 0
                                        [EffectiveNetDiscount] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [PackageRateDetail] => stdClass Object
                                            (
                                                [RateType] => PAYOR_ACCOUNT_PACKAGE
                                                [RatedWeightMethod] => DIM
                                                [BillingWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [DimWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [BaseCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 266.45
                                                    )

                                                [TotalFreightDiscounts] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [NetFreight] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 266.45
                                                    )

                                                [TotalSurcharges] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 25.31
                                                    )

                                                [NetFedExCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 291.76
                                                    )

                                                [TotalTaxes] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [NetCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 291.76
                                                    )

                                                [TotalRebates] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [Surcharges] => stdClass Object
                                                    (
                                                        [SurchargeType] => FUEL
                                                        [Description] => Fuel
                                                        [Amount] => stdClass Object
                                                            (
                                                                [Currency] => USD
                                                                [Amount] => 25.31
                                                            )

                                                    )

                                            )

                                    )

                            )

                        [1] => stdClass Object
                            (
                                [EffectiveNetDiscount] => stdClass Object
                                    (
                                        [Currency] => USD
                                        [Amount] => 0.0
                                    )

                                [ShipmentRateDetail] => stdClass Object
                                    (
                                        [RateType] => RATED_ACCOUNT_PACKAGE
                                        [RateScale] => 14
                                        [RateZone] => 6
                                        [PricingCode] => PACKAGE
                                        [RatedWeightMethod] => DIM
                                        [DimDivisor] => 166
                                        [FuelSurchargePercent] => 9.5
                                        [TotalBillingWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalDimWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalBaseCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 266.45
                                            )

                                        [TotalFreightDiscounts] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetFreight] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 266.45
                                            )

                                        [TotalSurcharges] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 25.31
                                            )

                                        [TotalNetFedExCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 291.76
                                            )

                                        [TotalTaxes] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 291.76
                                            )

                                        [TotalRebates] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [Surcharges] => stdClass Object
                                            (
                                                [SurchargeType] => FUEL
                                                [Description] => Fuel
                                                [Amount] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 25.31
                                                    )

                                            )

                                    )

                                [RatedPackages] => stdClass Object
                                    (
                                        [GroupNumber] => 0
                                        [EffectiveNetDiscount] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [PackageRateDetail] => stdClass Object
                                            (
                                                [RateType] => RATED_ACCOUNT_PACKAGE
                                                [RatedWeightMethod] => DIM
                                                [BillingWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [DimWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [BaseCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 266.45
                                                    )

                                                [TotalFreightDiscounts] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [NetFreight] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 266.45
                                                    )

                                                [TotalSurcharges] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 25.31
                                                    )

                                                [NetFedExCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 291.76
                                                    )

                                                [TotalTaxes] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [NetCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 291.76
                                                    )

                                                [TotalRebates] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [Surcharges] => stdClass Object
                                                    (
                                                        [SurchargeType] => FUEL
                                                        [Description] => Fuel
                                                        [Amount] => stdClass Object
                                                            (
                                                                [Currency] => USD
                                                                [Amount] => 25.31
                                                            )

                                                    )

                                            )

                                    )

                            )

                        [2] => stdClass Object
                            (
                                [ShipmentRateDetail] => stdClass Object
                                    (
                                        [RateType] => PAYOR_LIST_PACKAGE
                                        [RateScale] => 14
                                        [RateZone] => 6
                                        [PricingCode] => PACKAGE
                                        [RatedWeightMethod] => DIM
                                        [DimDivisor] => 166
                                        [FuelSurchargePercent] => 9.5
                                        [TotalBillingWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalDimWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalBaseCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 266.45
                                            )

                                        [TotalFreightDiscounts] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetFreight] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 266.45
                                            )

                                        [TotalSurcharges] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 25.31
                                            )

                                        [TotalNetFedExCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 291.76
                                            )

                                        [TotalTaxes] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 291.76
                                            )

                                        [TotalRebates] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [Surcharges] => stdClass Object
                                            (
                                                [SurchargeType] => FUEL
                                                [Description] => Fuel
                                                [Amount] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 25.31
                                                    )

                                            )

                                    )

                                [RatedPackages] => stdClass Object
                                    (
                                        [GroupNumber] => 0
                                        [PackageRateDetail] => stdClass Object
                                            (
                                                [RateType] => PAYOR_LIST_PACKAGE
                                                [RatedWeightMethod] => DIM
                                                [BillingWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [DimWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [BaseCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 266.45
                                                    )

                                                [TotalFreightDiscounts] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [NetFreight] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 266.45
                                                    )

                                                [TotalSurcharges] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 25.31
                                                    )

                                                [NetFedExCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 291.76
                                                    )

                                                [TotalTaxes] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [NetCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 291.76
                                                    )

                                                [TotalRebates] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [Surcharges] => stdClass Object
                                                    (
                                                        [SurchargeType] => FUEL
                                                        [Description] => Fuel
                                                        [Amount] => stdClass Object
                                                            (
                                                                [Currency] => USD
                                                                [Amount] => 25.31
                                                            )

                                                    )

                                            )

                                    )

                            )

                        [3] => stdClass Object
                            (
                                [ShipmentRateDetail] => stdClass Object
                                    (
                                        [RateType] => RATED_LIST_PACKAGE
                                        [RateScale] => 14
                                        [RateZone] => 6
                                        [PricingCode] => PACKAGE
                                        [RatedWeightMethod] => DIM
                                        [DimDivisor] => 166
                                        [FuelSurchargePercent] => 9.5
                                        [TotalBillingWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalDimWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalBaseCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 266.45
                                            )

                                        [TotalFreightDiscounts] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetFreight] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 266.45
                                            )

                                        [TotalSurcharges] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 25.31
                                            )

                                        [TotalNetFedExCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 291.76
                                            )

                                        [TotalTaxes] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 291.76
                                            )

                                        [TotalRebates] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [Surcharges] => stdClass Object
                                            (
                                                [SurchargeType] => FUEL
                                                [Description] => Fuel
                                                [Amount] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 25.31
                                                    )

                                            )

                                    )

                                [RatedPackages] => stdClass Object
                                    (
                                        [GroupNumber] => 0
                                        [PackageRateDetail] => stdClass Object
                                            (
                                                [RateType] => RATED_LIST_PACKAGE
                                                [RatedWeightMethod] => DIM
                                                [BillingWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [DimWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [BaseCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 266.45
                                                    )

                                                [TotalFreightDiscounts] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [NetFreight] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 266.45
                                                    )

                                                [TotalSurcharges] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 25.31
                                                    )

                                                [NetFedExCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 291.76
                                                    )

                                                [TotalTaxes] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [NetCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 291.76
                                                    )

                                                [TotalRebates] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [Surcharges] => stdClass Object
                                                    (
                                                        [SurchargeType] => FUEL
                                                        [Description] => Fuel
                                                        [Amount] => stdClass Object
                                                            (
                                                                [Currency] => USD
                                                                [Amount] => 25.31
                                                            )

                                                    )

                                            )

                                    )

                            )

                    )

            )

        [1] => stdClass Object
            (
                [ServiceType] => PRIORITY_OVERNIGHT
                [PackagingType] => YOUR_PACKAGING
                [DeliveryStation] => RTDA 
                [DeliveryDayOfWeek] => TUE
                [DeliveryTimestamp] => 2014-05-27T10:30:00
                [CommitDetails] => stdClass Object
                    (
                        [ServiceType] => PRIORITY_OVERNIGHT
                        [CommitTimestamp] => 2014-05-27T10:30:00
                        [DayOfWeek] => TUE
                        [DestinationServiceArea] => A1
                        [BrokerToDestinationDays] => 0
                        [DocumentContent] => NON_DOCUMENTS
                    )

                [DestinationAirportId] => MIA
                [IneligibleForMoneyBackGuarantee] => 
                [OriginServiceArea] => A4
                [DestinationServiceArea] => A1
                [SignatureOption] => SERVICE_DEFAULT
                [ActualRateType] => PAYOR_ACCOUNT_PACKAGE
                [RatedShipmentDetails] => Array
                    (
                        [0] => stdClass Object
                            (
                                [EffectiveNetDiscount] => stdClass Object
                                    (
                                        [Currency] => USD
                                        [Amount] => 125.33
                                    )

                                [ShipmentRateDetail] => stdClass Object
                                    (
                                        [RateType] => PAYOR_ACCOUNT_PACKAGE
                                        [RateScale] => 1574
                                        [RateZone] => 6
                                        [PricingCode] => PACKAGE
                                        [RatedWeightMethod] => DIM
                                        [DimDivisor] => 166
                                        [FuelSurchargePercent] => 9.5
                                        [TotalBillingWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalDimWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalBaseCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 238.45
                                            )

                                        [TotalFreightDiscounts] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 114.46
                                            )

                                        [TotalNetFreight] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 123.99
                                            )

                                        [TotalSurcharges] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 11.78
                                            )

                                        [TotalNetFedExCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 135.77
                                            )

                                        [TotalTaxes] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 135.77
                                            )

                                        [TotalRebates] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [FreightDiscounts] => stdClass Object
                                            (
                                                [RateDiscountType] => VOLUME
                                                [Description] => Base
                                                [Amount] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 114.46
                                                    )

                                                [Percent] => 48.0
                                            )

                                        [Surcharges] => stdClass Object
                                            (
                                                [SurchargeType] => FUEL
                                                [Description] => Fuel
                                                [Amount] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 11.78
                                                    )

                                            )

                                    )

                                [RatedPackages] => stdClass Object
                                    (
                                        [GroupNumber] => 0
                                        [EffectiveNetDiscount] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 125.33
                                            )

                                        [PackageRateDetail] => stdClass Object
                                            (
                                                [RateType] => PAYOR_ACCOUNT_PACKAGE
                                                [RatedWeightMethod] => DIM
                                                [BillingWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [DimWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [BaseCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 238.45
                                                    )

                                                [TotalFreightDiscounts] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 114.46
                                                    )

                                                [NetFreight] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 123.99
                                                    )

                                                [TotalSurcharges] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 11.78
                                                    )

                                                [NetFedExCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 135.77
                                                    )

                                                [TotalTaxes] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [NetCharge] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 135.77
                                                    )

                                                [TotalRebates] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 0.0
                                                    )

                                                [FreightDiscounts] => stdClass Object
                                                    (
                                                        [RateDiscountType] => VOLUME
                                                        [Description] => Base
                                                        [Amount] => stdClass Object
                                                            (
                                                                [Currency] => USD
                                                                [Amount] => 114.46
                                                            )

                                                        [Percent] => 48.0
                                                    )

                                                [Surcharges] => stdClass Object
                                                    (
                                                        [SurchargeType] => FUEL
                                                        [Description] => Fuel
                                                        [Amount] => stdClass Object
                                                            (
                                                                [Currency] => USD
                                                                [Amount] => 11.78
                                                            )

                                                    )

                                            )

                                    )

                            )

                        [1] => stdClass Object
                            (
                                [EffectiveNetDiscount] => stdClass Object
                                    (
                                        [Currency] => USD
                                        [Amount] => 125.33
                                    )

                                [ShipmentRateDetail] => stdClass Object
                                    (
                                        [RateType] => RATED_ACCOUNT_PACKAGE
                                        [RateScale] => 1574
                                        [RateZone] => 6
                                        [PricingCode] => PACKAGE
                                        [RatedWeightMethod] => DIM
                                        [DimDivisor] => 166
                                        [FuelSurchargePercent] => 9.5
                                        [TotalBillingWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalDimWeight] => stdClass Object
                                            (
                                                [Units] => LB
                                                [Value] => 42.0
                                            )

                                        [TotalBaseCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 238.45
                                            )

                                        [TotalFreightDiscounts] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 114.46
                                            )

                                        [TotalNetFreight] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 123.99
                                            )

                                        [TotalSurcharges] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 11.78
                                            )

                                        [TotalNetFedExCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 135.77
                                            )

                                        [TotalTaxes] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [TotalNetCharge] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 135.77
                                            )

                                        [TotalRebates] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 0.0
                                            )

                                        [FreightDiscounts] => stdClass Object
                                            (
                                                [RateDiscountType] => VOLUME
                                                [Description] => Base
                                                [Amount] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 114.46
                                                    )

                                                [Percent] => 48.0
                                            )

                                        [Surcharges] => stdClass Object
                                            (
                                                [SurchargeType] => FUEL
                                                [Description] => Fuel
                                                [Amount] => stdClass Object
                                                    (
                                                        [Currency] => USD
                                                        [Amount] => 11.78
                                                    )

                                            )

                                    )

                                [RatedPackages] => stdClass Object
                                    (
                                        [GroupNumber] => 0
                                        [EffectiveNetDiscount] => stdClass Object
                                            (
                                                [Currency] => USD
                                                [Amount] => 125.33
                                            )

                                        [PackageRateDetail] => stdClass Object
                                            (
                                                [RateType] => RATED_ACCOUNT_PACKAGE
                                                [RatedWeightMethod] => DIM
                                                [BillingWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [DimWeight] => stdClass Object
                                                    (
                                                        [Units] => LB
                                                        [Value] => 42.0
                                                    )

                                                [Base
five23 commented 10 years ago

Ah,the Dimensional Weight (L x W x H / 139) is greater than the Actual Weight of the package so FedEx is charging you for a 42 LB package as opposed to a 24 LB package..

Hmm.... If you can fit the product in one of the FedEx Express Package types then dimensional weight won't be applied.. Also, you might try disabling dimensions completely -- you'll get better rates, but if the package is as you have specified then the charges will be applied anyway when FedEx picks up the package.

Any possibility of splitting the product into smaller boxes?

tvanhuis commented 10 years ago

I understand that the dimensional weight is greater, that is how it’s supposed to be – but there’s a problem when I have 2 of them. Looking at the 2nd log file, I get this:

[HighestSeverity] => WARNING [Notifications] => Array ( [0] => stdClass Object ( [Severity] => WARNING [Source] => crs [Code] => 304 [Message] => Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate. [LocalizedMessage] => Requested shipment package count did not match the summed total of group package count values; the summed total of group package count values was used to rate. )

and the total dimensional weight ends up to be 126 lbs, not just two 42 lb packages.

Tim

From: David Scott Kirby [mailto:notifications@github.com] Sent: Friday, May 23, 2014 1:13 PM To: five23/shipsync-community Cc: Van Huis, Tim Subject: Re: [shipsync-community] Rates are too high for multiple items of the same sku (#20)

Ah,the Dimensional Weight (L x W x H / 139) is greater than the Actual Weight of the package so FedEx is charging you for a 42 LB package as opposed to a 24 LB package..

Hmm.... If you can fit the product in one of the FedEx Express Package types then dimensional weight won't be applied.. Also, you might try disabling dimensions completely -- you'll get better rates, but if the package is as you have specified then the charges will be applied anyway when FedEx picks up the package.

Any possibility of splitting the product into smaller boxes?

— Reply to this email directly or view it on GitHubhttps://github.com/five23/shipsync-community/issues/20#issuecomment-44036974.

five23 commented 10 years ago

Oh, hrm... That's odd.. Can you verify that you're running the latest archive (https://github.com/five23/shipsync-community/archive/shipsync-v5.zip) -- just to make sure -- before I dig in and try to track down this bug.

five23 commented 10 years ago

Hey, might be easier to take this to email -> david@ecomatics.net

tvanhuis commented 10 years ago

I downloaded the current github distribution, and installed it – still get the same error. Also, now the Fedex Ground method isn’t working, only Fedex Home delivery. and the 2nd day and overnight rates are still pretty out there. Thanks again for your help,

Tim

From: David Scott Kirby [mailto:notifications@github.com] Sent: Friday, May 23, 2014 6:14 PM To: five23/shipsync-community Cc: Van Huis, Tim Subject: Re: [shipsync-community] Rates are too high for multiple items of the same sku (#20)

Hey, might be easier to take this to email -> david@ecomatics.netmailto:david@ecomatics.net

— Reply to this email directly or view it on GitHubhttps://github.com/five23/shipsync-community/issues/20#issuecomment-44066100.

five23 commented 10 years ago

The latest version changes the way Residential Delivery is handled, adding new configuration options that need to be set. Check your config -- it should be intuitive.

In regards to these odd rates it would definitely help to have a look at your cart -- having a hard time recreating the problem on my dev site. Email me.