UPS plug-in

  • Posts: 8
  • Thank you received: 0
7 years 8 months ago #263871

-- HikaShop version -- : 2.6.0

I cannot get my negotiated rates from UPS. When I log in to my UPS account I can see my negotiated rates but they are not returned when the plug in is displaying the rates. I have set "Negotiated Rates" to YES.

Attachments:
Last edit: 7 years 8 months ago by gjftoronto.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
7 years 8 months ago #263898

Hello,

We actually fixed that issue through the Hikashop 2.6.4 release, you should probably update your Hikashop version and test it again.
Or at least download the package of the last Hikashop version and then retrieve the files of the UPS plugin in that package.

Please Log in or Create an account to join the conversation.

  • Posts: 128
  • Thank you received: 3
7 years 8 months ago #264177

I just updated to Joomla 3.6.5 and Hikashop business 3.0.1. I get my negotiated rates if I only have 1 item in the cart but, if I have multiple items in the cart then I do not get negotiated rates but the published rates which are much higher. I do have group packages and negotiated rates set to Yes in the plugin settings.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
7 years 8 months ago #264218

Hello,

Do you get it right if you set the "Group package" option to a different value ?
The problem is that we don't actually know how UPS will group every products that you have set through their interface, but we are doing our best to group the maximum number of products into the minimum number of packages.

Please Log in or Create an account to join the conversation.

  • Posts: 128
  • Thank you received: 3
7 years 8 months ago #264292

Changing "group package" does not change anything.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
7 years 8 months ago #264295

Hello,

That's weird, in that case can you :
- Enable the "Debug" option of your UPS shipping configuration page
- Try it again and check in the comments of your Checkout workflow's HTML code ("f12") to directly see the code sent to the UPS platform
- Show it to me so that we can check differences for both case ( with one or multiple products in our cart).

Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 128
  • Thank you received: 3
7 years 8 months ago #264468

Ok I've got debug enabled. 2 products in the cart it comes back with a rate of $60.18. When I go to make the label in UPS World Ship the published rate that comes back is $58.43 and the negotiated rate is $49.74. If you add $1.75 to the $58.43 which is what I have set up for the shipping plugin you get $60.18 so it is definitely returning the published rate. Here's a screenshot of the checkout:



and here is the html code from debug:
<!-- <?xml version="1.0" ?>
<AccessRequest xml:lang='en-US'>
	<AccessLicenseNumber>6D22BE1476B716E8</AccessLicenseNumber>
	<UserId>tntammo</UserId>
	<Password>W@lther1</Password>
</AccessRequest>
<?xml version="1.0" ?>
<RatingServiceSelectionRequest>
	<Request>
		<TransactionReference>
			<CustomerContext>Rating and Service</CustomerContext>
			<XpciVersion>1.0</XpciVersion>
		</TransactionReference>
		<RequestAction>Rate</RequestAction>
		<RequestOption>shop</RequestOption>
	</Request>
	<PickupType>
		<Code>01</Code>
		<Description>Daily Pickup</Description>
	</PickupType>
	<Shipment>
		<Description>Rate Shopping - Domestic</Description>
		<Shipper>
			<ShipperNumber>1X568R</ShipperNumber>
			<Address>
				<City>Asheboro</City>
				<PostalCode>27205</PostalCode>
				<CountryCode>US</CountryCode>
			</Address>
		</Shipper>
		<ShipTo>
			<Address>
				<City>Klamath Falls</City>
				<StateProvinceCode>OR</StateProvinceCode>
				<PostalCode>97603</PostalCode>
				<CountryCode>US</CountryCode>
				<ResidentialAddressIndicator/>
			</Address>
		</ShipTo>
		<ShipFrom>
			<Address>
				<City>Asheboro</City>
				<StateProvinceCode>NC</StateProvinceCode>
				<PostalCode>27205</PostalCode>
				<CountryCode>US</CountryCode>
			</Address>
		</ShipFrom>
		<RateInformation><NegotiatedRatesIndicator/></RateInformation>
<Package>
	<PackagingType>
		<Code>02</Code>
	</PackagingType>
	<Description>Shop</Description>

	<Dimensions>
		<UnitOfMeasurement>
			<Code>IN</Code>
		</UnitOfMeasurement>
		<Length>7</Length>
		<Width>7</Width>
		<Height>7</Height>
	</Dimensions>
	<PackageWeight>
		<UnitOfMeasurement>
			<Code>LBS</Code>
		</UnitOfMeasurement>
		<Weight>23.1</Weight>
	</PackageWeight>

	<PackageServiceOptions>
		<InsuredValue>
			<CurrencyCode>USD</CurrencyCode>
			<MonetaryValue>230.00000</MonetaryValue>
		</InsuredValue>
	</PackageServiceOptions>
</Package>
<Package>
	<PackagingType>
		<Code>02</Code>
	</PackagingType>
	<Description>Shop</Description>

	<Dimensions>
		<UnitOfMeasurement>
			<Code>IN</Code>
		</UnitOfMeasurement>
		<Length>7</Length>
		<Width>7</Width>
		<Height>7</Height>
	</Dimensions>
	<PackageWeight>
		<UnitOfMeasurement>
			<Code>LBS</Code>
		</UnitOfMeasurement>
		<Weight>18.9</Weight>
	</PackageWeight>

	<PackageServiceOptions>
		<InsuredValue>
			<CurrencyCode>USD</CurrencyCode>
			<MonetaryValue>210.00000</MonetaryValue>
		</InsuredValue>
	</PackageServiceOptions>
</Package>
		<ShipmentServiceOptions />
	</Shipment>
</RatingServiceSelectionRequest> -->
<!-- HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Server: Apache
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15768000; includeSubDomains
Pragma: no-cache
Content-Length: 11272
X-Content-Type-Options: nosniff
Content-Type: application/xml
Date: Wed, 08 Mar 2017 15:11:12 GMT
Connection: keep-alive

<?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><Code>03</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>43.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>66.11</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>5.40</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>71.51</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery/><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>36.07</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>38.77</MonetaryValue></TotalCharges><Weight>23.1</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>24.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>30.04</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>32.74</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>58.43</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>12</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>43.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>190.70</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>5.40</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>196.10</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>3</GuaranteedDaysToDelivery><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>103.16</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>105.86</MonetaryValue></TotalCharges><Weight>23.1</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>24.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>87.54</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>90.24</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>123.88</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>02</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>43.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>281.94</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>5.40</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>287.34</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>153.90</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>156.60</MonetaryValue></TotalCharges><Weight>23.1</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>24.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>128.04</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>130.74</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>197.09</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>13</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>43.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>395.14</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>5.40</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>400.54</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>214.22</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>216.92</MonetaryValue></TotalCharges><Weight>23.1</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>24.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>180.92</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>183.62</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>261.33</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>14</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>43.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>483.62</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>5.40</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>489.02</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>10:00 A.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>257.20</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>259.90</MonetaryValue></TotalCharges><Weight>23.1</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>24.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>226.42</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>229.12</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>489.02</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>01</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>43.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>420.47</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>5.40</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>425.87</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>12:00 Noon</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>225.62</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>228.32</MonetaryValue></TotalCharges><Weight>23.1</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>24.0</Weight></BillingWeight></RatedPackage><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>194.85</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>197.55</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>277.54</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment></RatingServiceSelectionResponse> -->

1 product in the cart it comes back with a rate of $28.25. When I go to make the label in UPS World Ship the published rate that comes back is $32.74 and the negotiated rate is $26.50. If you add $1.75 to the $26.50 which is what I have set up for the shipping plugin you get $28.25 so it is definitely returning the negotiated rate in this case. Here's a screenshot of the checkout:



and here is the html code from debug:
<!-- <?xml version="1.0" ?>
<AccessRequest xml:lang='en-US'>
	<AccessLicenseNumber>6D22BE1476B716E8</AccessLicenseNumber>
	<UserId>tntammo</UserId>
	<Password>W@lther1</Password>
</AccessRequest>
<?xml version="1.0" ?>
<RatingServiceSelectionRequest>
	<Request>
		<TransactionReference>
			<CustomerContext>Rating and Service</CustomerContext>
			<XpciVersion>1.0</XpciVersion>
		</TransactionReference>
		<RequestAction>Rate</RequestAction>
		<RequestOption>shop</RequestOption>
	</Request>
	<PickupType>
		<Code>01</Code>
		<Description>Daily Pickup</Description>
	</PickupType>
	<Shipment>
		<Description>Rate Shopping - Domestic</Description>
		<Shipper>
			<ShipperNumber>1X568R</ShipperNumber>
			<Address>
				<City>Asheboro</City>
				<PostalCode>27205</PostalCode>
				<CountryCode>US</CountryCode>
			</Address>
		</Shipper>
		<ShipTo>
			<Address>
				<City>Klamath Falls</City>
				<StateProvinceCode>OR</StateProvinceCode>
				<PostalCode>97603</PostalCode>
				<CountryCode>US</CountryCode>
				<ResidentialAddressIndicator/>
			</Address>
		</ShipTo>
		<ShipFrom>
			<Address>
				<City>Asheboro</City>
				<StateProvinceCode>NC</StateProvinceCode>
				<PostalCode>27205</PostalCode>
				<CountryCode>US</CountryCode>
			</Address>
		</ShipFrom>
		<RateInformation><NegotiatedRatesIndicator/></RateInformation>
<Package>
	<PackagingType>
		<Code>02</Code>
	</PackagingType>
	<Description>Shop</Description>

	<Dimensions>
		<UnitOfMeasurement>
			<Code>IN</Code>
		</UnitOfMeasurement>
		<Length>7</Length>
		<Width>7</Width>
		<Height>7</Height>
	</Dimensions>
	<PackageWeight>
		<UnitOfMeasurement>
			<Code>LBS</Code>
		</UnitOfMeasurement>
		<Weight>18.9</Weight>
	</PackageWeight>

	<PackageServiceOptions>
		<InsuredValue>
			<CurrencyCode>USD</CurrencyCode>
			<MonetaryValue>210.00000</MonetaryValue>
		</InsuredValue>
	</PackageServiceOptions>
</Package>
		<ShipmentServiceOptions />
	</Shipment>
</RatingServiceSelectionRequest> -->
<!-- HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Server: Apache
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15768000; includeSubDomains
Pragma: no-cache
Content-Length: 8360
X-Content-Type-Options: nosniff
Content-Type: application/xml
Date: Wed, 08 Mar 2017 15:27:24 GMT
Connection: keep-alive

<?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><Code>03</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>30.04</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>32.74</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery/><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>30.04</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>32.74</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>26.50</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>12</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>87.54</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>90.24</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>3</GuaranteedDaysToDelivery><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>87.54</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>90.24</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>56.86</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>02</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>128.04</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>130.74</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>128.04</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>130.74</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>89.88</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>13</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>180.92</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>183.62</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>180.92</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>183.62</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>120.01</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>14</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>226.42</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>229.12</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>10:00 A.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>226.42</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>229.12</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>229.12</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment><RatedShipment><Service><Code>01</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>194.85</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>197.55</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>12:00 Noon</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>194.85</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>197.55</MonetaryValue></TotalCharges><Weight>18.9</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight></RatedPackage><NegotiatedRates><NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>128.92</MonetaryValue></GrandTotal></NetSummaryCharges></NegotiatedRates></RatedShipment></RatingServiceSelectionResponse> -->

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
7 years 8 months ago #264472

Hello,

Here is a piece of the code returned from the UPS platform when you actually add 2 products :

<RatingServiceSelectionResponse>
<Response>
<TransactionReference>
<CustomerContext>Rating and Service</CustomerContext>
<XpciVersion>1.0</XpciVersion>
</TransactionReference>
<ResponseStatusCode>1</ResponseStatusCode>
<ResponseStatusDescription>Success</ResponseStatusDescription>
</Response>
<RatedShipment>
<Service><Code>03</Code></Service>
<RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning>
<BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>43.0</Weight></BillingWeight>
<TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>66.11</MonetaryValue></TransportationCharges>
<ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>5.40</MonetaryValue></ServiceOptionsCharges>
<TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>71.51</MonetaryValue></TotalCharges>
<GuaranteedDaysToDelivery/><ScheduledDeliveryTime/>
<RatedPackage>
<TransportationCharges>
<CurrencyCode>USD</CurrencyCode>
<MonetaryValue>36.07</MonetaryValue>
</TransportationCharges>
<ServiceOptionsCharges>
<CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue>
</ServiceOptionsCharges>
<TotalCharges>
<CurrencyCode>USD</CurrencyCode><MonetaryValue>38.77</MonetaryValue>
</TotalCharges>
<Weight>23.1</Weight>
<BillingWeight>
<UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement>
<Weight>24.0</Weight>
</BillingWeight>
</RatedPackage>
<RatedPackage>
<TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>30.04</MonetaryValue></TransportationCharges>
<ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>2.70</MonetaryValue></ServiceOptionsCharges>
<TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>32.74</MonetaryValue></TotalCharges>
<Weight>18.9</Weight>
<BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>19.0</Weight></BillingWeight>
</RatedPackage>
<NegotiatedRates>
<NetSummaryCharges><GrandTotal><CurrencyCode>USD</CurrencyCode><MonetaryValue>58.43</MonetaryValue></GrandTotal></NetSummaryCharges>
</NegotiatedRates>


So instead of returning 71.51 + 1.75 (normal price), the UPS plugin is returning 58.43 + 1.75 = $60.18 (negotiated price) returned by UPS.

Please Log in or Create an account to join the conversation.

  • Posts: 128
  • Thank you received: 3
7 years 8 months ago #264502

Well can you explain to me why the negotiated rate returned here is equal to my normal price rate attached to my account in UPS Worldship when I create my label? I never see the 71.51 when I create a label in UPS Worldship

Please Log in or Create an account to join the conversation.

  • Posts: 128
  • Thank you received: 3
7 years 8 months ago #264504

Actually I think I may know why the prices are different but I can let you know for sure when I go back into the office. In the above code you have 2 packages so they're not getting grouped into one package even though I have "Group Packages" set to yes in the plugin. It should return 1 <RatedPackage> with dimensions of 14x7x7 and with a weight of 43. When I create the label in UPS Worldship I do it as 1 package. I bet the difference in what I'm coming up with in with in UPS WorldShip versus what's coming back in the plugin is because of the difference in the number of packages. That's probably also why if there's only 1 item in the cart then the rate returned by the plugin matches the rate in UPS Worldship. This really needs to be fixed. If "Group Package" is set to Yes it should group them all into as few of packages possible.

Last edit: 7 years 8 months ago by deuce4884.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
7 years 8 months ago #264540

Hello,

In the above code you have 2 packages so they're not getting grouped into one package even though I have "Group Packages" set to yes in the plugin. It should return 1 <RatedPackage> with dimensions of 14x7x7 and with a weight of 43.


You're right, UPS limits for LBS / INS are 150 lbs and a max dimension of 165 in.

We actually completely changed the UPS plugin group package algorithm structure, and it will be available through the next Hikashop release, but here is the last UPS shipping version, can you test it with it ?

Attachments:
Last edit: 7 years 8 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
7 years 8 months ago #264767

I have updated everything but still do not get the correct negotiated rates returned. Is there anyway to enter the default package size and a maximum weight fro each package, similar to what's on the UPS shipping website?

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
7 years 8 months ago #264867

Hello,

Thank you for your feedback, it should work better with that following UPS shipping version.

Attachments:
Last edit: 7 years 8 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
7 years 8 months ago #264912

I have upgraded everything including the file you attached. Hockshop seems to be calculating the correct number of boxes but is not returning the correct shipping charge. I have attached the screen shot of the UPS Info and the info HikaShop shows.

All of our products are sized in metric. The ones in this example are 15x11.5x0.5 60g each. The boxes we use hold approx. 150 of these.

I just don't know where to start looking to get this working. The FedEx plug-in seems to work fine, I did a test using it but we don't ship with FedEx.

Any assistance will be appreciated.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
7 years 8 months ago #264964

Hello,

Can you also show us the code that was sent and received from the UPS platform ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.129 seconds
Powered by Kunena Forum