[Skip to main content](#vessel-content)

#   UPS Negotiated Rate

##

- **[reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")**
- [![reedstickets's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33139-reedstickets "View reedstickets's Profile") Topic Author
- [ Offline](/forum/user/33139-reedstickets)

Less More

- Posts: 121
- Thank you received: 0
-
-

12 years 3 weeks ago [\#177786](#177786) by [reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")  *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#177786 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")* was created by *[reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")*

-- url of the page with the problem -- : [ www.casesmithcustoms.com](http://www.casesmithcustoms.com)
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.4

Still no luck with the UPS shipping plugin for showing a "Negotiated Rate" in checkout..

I had this working and then is just reverted back..

Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?

any ideas of why it is not working for me?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 3 weeks ago [\#177859](#177859) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#177859 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hello,
I'm currently doing some modifications on the UPS plugin regarding the Negotiated rate option, so I'll give you the last UPS plugin version when I'll finish it ![:)](/media/kunena/emoticons/3.png ":)").

The following user(s) said Thank You: [pouce](/forum/user/18026-pouce "View pouce's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")**
- [![reedstickets's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33139-reedstickets "View reedstickets's Profile") Topic Author
- [ Offline](/forum/user/33139-reedstickets)

Less More

- Posts: 121
- Thank you received: 0
-
-

12 years 3 weeks ago [\#177864](#177864) by [reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")  Replied by *[reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#177864 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Great news... thanks! No rush, I look forward to seeing it...

Reed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pouce](/forum/user/18026-pouce "View pouce's Profile")**
- [![pouce's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar18026.png)](/forum/user/18026-pouce "View pouce's Profile")
- [ Offline](/forum/user/18026-pouce)

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

12 years 2 weeks ago -  12 years 2 weeks ago [\#178966](#178966) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  Replied by *[pouce](/forum/user/18026-pouce "View pouce's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#178966 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

It's displaying the public rates for me also.

I was with a technical commercial of ups this morning whom asked me to show the xml file but I wasn't able to show it to him

I found on the forum that you can get the xml file by addind : var_dump($xml);exit;
just after curl_setopt($session,CURLOPT_POSTFIELDS,$xml); on line ~828
but did not work.
Well It was for canadian post but thought it could work for ups

I tested this solution in a local webserver

UPDATE : The file is plugins/hikashopshipping/ups/ups.php

joomla 3.3.6
hikashop 2.3.4

Last edit: 12 years 2 weeks ago by [pouce](/forum/user/18026-pouce "View pouce's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 2 weeks ago [\#179341](#179341) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#179341 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hello,
Note that I already changed the code of the ups negotiated rate option and I'm actually testing it on my end.
If you want to display the xml code that is sent to UPS, you'll have to un-comment that line : Code:

//echo '&lt;!-- '. $result. ' --&gt;'; // THIS LINE IS FOR DEBUG PURPOSES ONLY-IT WILL SHOW IN HTML COMMENTS

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pouce](/forum/user/18026-pouce "View pouce's Profile")**
- [![pouce's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar18026.png)](/forum/user/18026-pouce "View pouce's Profile")
- [ Offline](/forum/user/18026-pouce)

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

12 years 2 weeks ago [\#179422](#179422) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  Replied by *[pouce](/forum/user/18026-pouce "View pouce's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#179422 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hello,

I can't find this commented line on the ups.php file. In which file shall I find it or where to add this line in ups.php, please ?

Regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 1 week ago [\#179424](#179424) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#179424 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

You'll have to add that line : Code:

echo '&lt;!-- '. $result. ' --&gt;'; // THIS LINE IS FOR DEBUG PURPOSES ONLY-IT WILL SHOW IN HTML COMMENTS

just before these lines : Code:

$session = curl_init("https://www.ups.com/ups.app/xml/Rate"); curl_setopt($session, CURLOPT_HEADER, 1); curl_setopt($session,CURLOPT_POST,1); curl_setopt($session,CURLOPT_TIMEOUT, 30); curl_setopt($session,CURLOPT_RETURNTRANSFER,1); curl_setopt ($session, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt ($session, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($session,CURLOPT_POSTFIELDS,$xml);

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pouce](/forum/user/18026-pouce "View pouce's Profile")**
- [![pouce's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar18026.png)](/forum/user/18026-pouce "View pouce's Profile")
- [ Offline](/forum/user/18026-pouce)

Less More

- Posts: 79
- Thank you received: 5
-
-
-
- [](http://www.the-m-equipment.com)
-

12 years 1 week ago [\#179740](#179740) by [pouce](/forum/user/18026-pouce "View pouce's Profile")  Replied by *[pouce](/forum/user/18026-pouce "View pouce's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#179740 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Sorry I can't get it show the html comments
I went to the end of the order process, at which step of the order is it shown ?
The order wasn't confirmed as our shop is already online and ![:P](/media/kunena/emoticons/14.png ":P") I don't want to buy one of our products
Thank you I'm a newbie Hikashop.

Just want to say that hikashop is the best e-commerce solution for joomla!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 1 week ago [\#179794](#179794) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#179794 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hello,

> Sorry I can't get it show the html comments

If you have correctly added the code on the ups shipping method, you'll find it on the html comments of the shipping step of your checkout workflow.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")**
- [![reedstickets's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33139-reedstickets "View reedstickets's Profile") Topic Author
- [ Offline](/forum/user/33139-reedstickets)

Less More

- Posts: 121
- Thank you received: 0
-
-

11 years 11 months ago [\#182603](#182603) by [reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")  Replied by *[reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#182603 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hi,

Any luck with the UPS plugin and negotiated rates? Just curious if it looks like the project will be completed?

Thanks,
Reed

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 11 months ago [\#182623](#182623) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#182623 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hello Reed,
I already added and fixed the code of the negotiated rate option (now you'll have to add a state/province code through your warehouse address)

The following user(s) said Thank You: [reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")**
- [![reedstickets's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33139-reedstickets "View reedstickets's Profile") Topic Author
- [ Offline](/forum/user/33139-reedstickets)

Less More

- Posts: 121
- Thank you received: 0
-
-

11 years 11 months ago [\#183838](#183838) by [reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")  Replied by *[reedstickets](/forum/user/33139-reedstickets "View reedstickets's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#183838 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Great! Seems to work now... Thanks for all the help and work on this Mohamed!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")**
- [![irfanhanfi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")
- [ Offline](/forum/user/23811-irfanhanfi)

Less More

- Posts: 64
- Thank you received: 0
-
-

11 years 3 months ago [\#210999](#210999) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  Replied by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#210999 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hi,

I tried negotiated rate but I am getting regular price.It does not make any change if I change negotiated setting to "Yes" or "No".I am able to see negotiated rate on UPS.com but not in hikashop.Could you please tell me if there is any setting I need to do on UPS?

Thank you.

- [ ![hikashop.png](/forum/attachment/25885) ](/forum/attachment/25885 "hikashop.png") [ ](/forum/attachment/25885?download=1 "hikashop.png")
- [ ![ups.png](/forum/attachment/25886) ](/forum/attachment/25886 "ups.png") [ ](/forum/attachment/25886?download=1 "ups.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

11 years 3 months ago [\#211010](#211010) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#211010 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hi,

Can you make sure that you have the latest version of HikaShop ?
Old versions of the UPS plugin had an issue with negociated rates.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")**
- [![irfanhanfi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")
- [ Offline](/forum/user/23811-irfanhanfi)

Less More

- Posts: 64
- Thank you received: 0
-
-

11 years 3 months ago [\#211042](#211042) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  Replied by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#211042 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Yes,I have checked this with new hikashop setup but negotiated retes are not showing?On the other hand I am able to see negotiated rate.

Thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

11 years 3 months ago [\#211071](#211071) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#211071 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hi,

Can you make sure with UPS that your UPS account has the negotiated rates activated for the "shipping and rating API" ?
It's possible to have a UPS account with the negotiated rates activated for the online website but not the API so maybe you're in that case.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")**
- [![irfanhanfi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")
- [ Offline](/forum/user/23811-irfanhanfi)

Less More

- Posts: 64
- Thank you received: 0
-
-

11 years 3 months ago -  11 years 3 months ago [\#211074](#211074) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  Replied by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#211074 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

I checked xml and I am getting negotiated rates with regular rates.So it seems code is handling only regular rates.After changes I am able to get negotiated rate.Below is the code changes in if condition **if(!empty($is\_negotiated\_rate)) {**,it would be great if you can confirm if this is fine.
Code:

foreach($xml-&gt;RatedShipment as $rate){ $shipment[$i]['value'] = (string) $rate-&gt;TotalCharges-&gt;MonetaryValue; $shipment[$i]['currency_code'] = (string)$rate-&gt;TotalCharges-&gt;CurrencyCode; $shipment[$i]['old_currency_code'] = (string)$rate-&gt;TotalCharges-&gt;CurrencyCode; if(!empty($is_negotiated_rate)) { if(isset($rate-&gt;NegotiatedRates-&gt;NetSummaryCharges-&gt;GrandTotal-&gt;MonetaryValue) &amp;&amp; isset($rate-&gt;NegotiatedRates-&gt;NetSummaryCharges-&gt;GrandTotal-&gt;CurrencyCode)){ $shipment[$i]['value'] = (string)$rate-&gt;NegotiatedRates-&gt;NetSummaryCharges-&gt;GrandTotal-&gt;MonetaryValue; $shipment[$i]['currency_code']= (string)$rate-&gt;NegotiatedRates-&gt;NetSummaryCharges-&gt;GrandTotal-&gt;CurrencyCode; $shipment[$i]['old_currency_code']= (string)$rate-&gt;NegotiatedRates-&gt;NetSummaryCharges-&gt;GrandTotal-&gt;CurrencyCode; } } $shipment[$i]['code'] = (string)$rate-&gt;Service-&gt;Code; $shipment[$i]['delivery_day'] = (string)$rate-&gt;GuaranteedDaysToDelivery; $shipment[$i]['delivery_time'] = (string)$rate-&gt;ScheduledDeliveryTime; $i++; }

Thanks,

Last edit: 11 years 3 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: clean code

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 3 months ago [\#211142](#211142) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[UPS Negotiated Rate](/forum/28-shipping-methods/872724-ups-negotiated-rate#211142 "-- url of the page with the problem -- :   www.casesmithcustoms.com  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  Still no luck with the UPS shipping plugin for showing a &quot;Negotiated Rate&quot; in checkout..  I had this working and then is just reverted back..  Does anyone have the negotiated rate for UPS shipping working for their checkout and showing the discounted shipping prices?  any ideas of why it is not working for me?")*

Hello,
That code will work fine if you've correctly set the **is\_negotiated\_rate** variable, also regarding the "$rate-&gt;NegotiatedRates" you're correctly testing if it's set, so that code will probably correctly do what you want, I'll also re-do some tests regarding the "Negotiated Rates" option on my end.
Thanks for your feedback.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcyNzI0LXVwcy1uZWdvdGlhdGVkLXJhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.123 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
