Forums / Addon Shipping Modules / UPS discounted rates not showing in UPS XML

UPS discounted rates not showing in UPS XML

Views: 35,781

Results 21 to 40 of 52
30 Jun 2009, 10:11 PM
#21
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
522
Plugin Contributions:
2

UPS discounted rates not showing in UPS XML

tat2nu I'm thinking your issue is that your online account is not setup for the negotiated rates, I would email UPS tech support and ask them if your UPS User Id and UPS Account number are authorized for negotiated rates. They are pretty good at responding the next day to these type of questions.

Also don't take your reps word for it talk to tech support, my rep thought I was and I had to show him the email from UPS stating that it was and have him authorize it.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.12 | MariaDB 10.11.14

30 Jun 2009, 10:17 PM
#22
cspan27 avatar

cspan27

New Zenner

Join Date:
Jun 2009
Location:
Saskatoon, SK Canada
Posts:
20
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

Marco.....I figured it out and I don't know who is responsible for the glitch.....whether it is the module or Zen Cart itself but here is the solution:

It is only allowing 64 characters in length for the labels on the list ofcosts at check out. The shipping label that says "United Parcel Service (1 x 0.21lbs) ETA:........" far exceeds the 64 character count. So I went into the code and abbreviated United Parcel Service to UPS, which cut the label to below 64 characters and everything worked!!

Have you ever heard of this or has any one? I would like to change that 64 character limit to something higher but I don't know where to go to do this so right now I have found this solution. :D

30 Jun 2009, 10:46 PM
#23
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
522
Plugin Contributions:
2

Re: UPS discounted rates not showing in UPS XML

I do not use any of that (1 x 0.21lbs) within the name so it keeps the names short and simple.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.12 | MariaDB 10.11.14

1 Jul 2009, 3:29 PM
#24
tat2nu avatar

tat2nu

Zen Follower

Join Date:
Jan 2005
Posts:
178
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

I have confirmed with UPS that my negotiated rates are set up. The negotiated rates show up in Worldship now just fine. I uninstalled the UPSXML module and reinstalled it with your modified file just to be sure. I even tried my UPS account number with both an upper case letter and a lower case letter but I still get similar results. Only the next day quote is now showing as $1.00 in stead of $13.00. So something changed a little but in the wrong direction. LOL.

I am going to try the mods on me new test site where I can tweak them without fear of losing sales or having to ship 'next day' for $1.00

Any ideas on what to look for?

Marc

1 Jul 2009, 4:02 PM
#25
tat2nu avatar

tat2nu

Zen Follower

Join Date:
Jan 2005
Posts:
178
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

OK, I had the UPS XML mod set up on a fresh 1.3.8s test site and it was returning published rates.

I changed the includes/modules/shipping/upsxml.php file with yours and added my UPS shipper number in the space described. I now am getting no rates returned at all for UPS.

Can it be that my negotiated rates were only installed today that they are just not showing up yet? I am confused to say the least at this point.

Marc

1 Jul 2009, 4:23 PM
#26
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
522
Plugin Contributions:
2

Re: UPS discounted rates not showing in UPS XML

Once they turn it on from what I am told it takes 24 hours to start receiving the rates.

You can turn on the debug mode inside the file and see what UPS is returning to you.

Another way to check is to go to UPS.com and do some calculations if the discount rate is showing there then they should be on your website as well.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.12 | MariaDB 10.11.14

1 Jul 2009, 10:53 PM
#27
tat2nu avatar

tat2nu

Zen Follower

Join Date:
Jan 2005
Posts:
178
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

I am not set with UPS.com I use Worldship 11 and that is returning the correct rates and even give me the comparison to the published rates in my days end report.

I am a little confused. I created a upsxml.log file at includes/modules/shipping/upsxml.log

I un commented the next line to look like this

    $this->logfile = '/upsxml.log';

Then while trying to check out with a test order on my test site no rates were returned for UPS at all and no errors given. I went back to my FTP program to check the upsxml.log file but it was still empty. Did I do something wrong here?

My test site is www.needlejig.com/test if you would take a look and see if there is something that I am missing.

Marc

1 Jul 2009, 11:13 PM
#28
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
522
Plugin Contributions:
2

Re: UPS discounted rates not showing in UPS XML

I use worldship as well however to get the negotiated rates with this module UPS has to do some backend work, you have to email them and see what they say. Basically once you can login to UPS.com and see your discounted rates there you should be good to go with this module.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.12 | MariaDB 10.11.14

1 Jul 2009, 11:20 PM
#29
tat2nu avatar

tat2nu

Zen Follower

Join Date:
Jan 2005
Posts:
178
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

Thanks for the quick response.

OK, I set up a ups.com account that is associated with my UPS account number and I am seeing published rates on there. Can you tell me what department you contacted to get your negotiated rates to show online? I just hate being passed from person to person for days on end.

Marc

1 Jul 2009, 11:35 PM
#30
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
522
Plugin Contributions:
2

Re: UPS discounted rates not showing in UPS XML

I emailed whatever the link was online, forgot now I think is a general form with options guiding you to the right department.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.12 | MariaDB 10.11.14

2 Jul 2009, 6:15 PM
#31
tat2nu avatar

tat2nu

Zen Follower

Join Date:
Jan 2005
Posts:
178
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

:clap: I got it!!!

Thanks guys. Once UPS got my webtools account to reflect the negotiated rates everything showed up perfectly.

Marc

2 Jul 2009, 7:09 PM
#32
cspan27 avatar

cspan27

New Zenner

Join Date:
Jun 2009
Location:
Saskatoon, SK Canada
Posts:
20
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

Marco - How do you get rid of the (1 x 0.21lbs) thing in the title? I have looked everywhere and keep getting the same answer....to turn it off in Admin -> Config -> Shipping/Packaging. I have done this but it still shows up on check out.

Also quick question....now that everything checks out ok and the UPS module works, when someone places and order does that info get sent to my UPS account automatically? How do you deal with sending your customers tracking numbers and such?

Thanks.

2 Jul 2009, 8:12 PM
#33
marcopolo avatar

marcopolo

Totally Zenned

Join Date:
May 2008
Location:
United States
Posts:
522
Plugin Contributions:
2

Re: UPS discounted rates not showing in UPS XML

You have to modify the file /includes/modules/shipping/upsxml.php

Change this code (around line 230)

// BOF Time In Transit: 
        // comment out this section if you don't want/need to have expected delivery dates
        $this->servicesTimeintransit = $this->_upsGetTimeServices();
        if ($this->logfile) {
            error_log("------------------------------------------\n", 3, $this->logfile);
            error_log("Time in Transit: " . $this->timeintransit . "\n", 3, $this->logfile);
        }
        // EOF Time In Transit

        $upsQuote = $this->_upsGetQuote();
        if ((is_array($upsQuote)) && (sizeof($upsQuote) > 0)) {
            if (DIMENSIONS_SUPPORTED) {
                $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $this->boxCount . ($this->boxCount > 1 ? ' pkg(s), ' : ' pkg, ') . $totalWeight . ' ' . strtolower($this->unit_weight) . ' total)');
            } else {
                $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $shipping_num_boxes . ($this->boxCount > 1 ? ' pkg(s) x ' : ' pkg x ') . number_format($shipping_weight,2) . ' ' . strtolower($this->unit_weight) . ' total)');
            }

to this code:

// BOF Time In Transit: 
        // comment out this section if you don't want/need to have expected delivery dates
        // $this->servicesTimeintransit = $this->_upsGetTimeServices();
        // if ($this->logfile) {
        //    error_log("------------------------------------------\n", 3, $this->logfile);
        //    error_log("Time in Transit: " . $this->timeintransit . "\n", 3, $this->logfile);
        // }
        // EOF Time In Transit

        $upsQuote = $this->_upsGetQuote();
        if ((is_array($upsQuote)) && (sizeof($upsQuote) > 0)) {
            if (DIMENSIONS_SUPPORTED) {
                $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $this->boxCount . ($this->boxCount > 1 ? ' pkg(s), ' : ' pkg, ') . $totalWeight . ' ' . strtolower($this->unit_weight) . ' total)');
            } else {
                $this->quotes = array('id' => $this->code);
                // $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $shipping_num_boxes . ($this->boxCount > 1 ? ' pkg(s) x ' : ' pkg x ') . number_format($shipping_weight,2) . ' ' . strtolower($this->unit_weight) . ' total)');
            }

I would suggest using the Quantum View Notify option when printing your UPS labels, your customer will be emailed the tracking details automatically.

marcopolo
Zen Cart 2.2.2 | PHP 8.5.12 | MariaDB 10.11.14

3 Jul 2009, 5:54 PM
#34
cspan27 avatar

cspan27

New Zenner

Join Date:
Jun 2009
Location:
Saskatoon, SK Canada
Posts:
20
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

Hey Marco - No....I don't want to get rid of the ETA: I want to get rid of the (1 x 0.21lbs). The instructions you sent me only got rid of the ETA and I would like to keep that part.

Also you say to use Quantium View to send customers their tracking numbers automatically? What the heck is Quantium view and how do I get it?

Thanks again!

3 Feb 2010, 11:12 PM
#35
cwhittaker avatar

cwhittaker

New Zenner

Join Date:
Jan 2010
Posts:
28
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

tat2nu:

I am not sure if this will be helpful or not but I have been using the UPS XML module for some time now. It seems to get the prioritized(3-day, 2nd Day, Next Day) negotiated rate right always seems to be a little off on the ground rates. I looked into it and could not figure it out so I just accept it that way. I would be interested if you find and solution though.

Marc

Hi Marc,

I'm hoping you can help me, I am trying to install the UPS XML Shipping module into my online store and cannot find any information on how to do this. Could you give me some information or point me in the right direction?

Thanks in advance.

Cynthia.

21 Jun 2011, 8:42 PM
#36
dazana avatar

dazana

New Zenner

Join Date:
Apr 2009
Posts:
45
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

Thsi works great thank you!

29 Feb 2012, 4:40 PM
#37
jjone avatar

jjone

New Zenner

Join Date:
Oct 2008
Posts:
10
Plugin Contributions:
1

Re: UPS discounted rates not showing in UPS XML

HI,

the estimate does not show shipping rates by entering just zipcodes when the states/ provinces is not selected. the original UPS XML module shows rate with just zipcode without selecting states/provinces. this negotiated rate UPS XML does not work.

anyone knows how to fix this estimate rate for this negotiated rate UPS XML.?

thanks alot.

13 May 2012, 11:02 PM
#38
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

I am using this negotiated rates add-on, but have a problem with the info it passes on to the admin. Instead of passing the customer's selected shipping rate such as "UPS Standard" or "UPS 3 Day Select" on to the admin, all orders show as the module description such as "United Parcel Service (1 pkg x 1.60 lbs total)".

This is a problem, because I can't differentiate whether the customer has selected standard or express shipping... Does anyone else have this problem? How could I correct this?

14 May 2012, 11:36 AM
#39
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

abcisme:

I am using this negotiated rates add-on, but have a problem with the info it passes on to the admin. Instead of passing the customer's selected shipping rate such as "UPS Standard" or "UPS 3 Day Select" on to the admin, all orders show as the module description such as "United Parcel Service (1 pkg x 1.60 lbs total)".

This is a problem, because I can't differentiate whether the customer has selected standard or express shipping... Does anyone else have this problem? How could I correct this?

This was not an error with this module. I had implemented this change and it stopped sending the info to the order.

8 Jun 2012, 5:50 AM
#40
ejeffay avatar

ejeffay

New Zenner

Join Date:
May 2005
Posts:
60
Plugin Contributions:
0

Re: UPS discounted rates not showing in UPS XML

Does anyone know how to make the UPSXML module work with the new zencart 1.5? I have another site on an older zencart and it works fine but when i try to install this on a fresh zencart 1.5 it does not seem to work.