Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UPS Shipping Module


Mormegil

Recommended Posts

For some reason all of the UPS shipment options except Ground, Next Day Air and 3Day Select are not working. They simply go back to the checkout_address page instead of checkout_payment. The files checkout_payment, checkout_address, classes/ups, shipping/ups and shipping are all intact as received from the website. The selections all have the appropriate value (1DA, GND, etc) in there. The values are getting passed. I have even tried manually intervening. In classes/ups in the getQuote() function, I edited

"13_product=$this->upsProductCode"

to read

"13_product=STD" and "13_product=1DA"

 

As I said, 1DA works, but not STD. I can't get it for the life of me.

Any suggestions?

 

Thanks in advance.

Link to comment
Share on other sites

Nevermind. I'm an idiot. :roll:

Two zip codes that are five miles apart won't have all of the options. Of course, this brings up a point: If it confused me that the page automatically returns to the checkout_address page when the ups server has not returned a value for that particular shipping method, wouldn't it make the user wonder what they are supposed to be doing next.

 

I'm going to have to write a module to print out the prices for ALL of the methods and allow the user to see them at once and select which one they wish to use. Since the website will only be doing UPS, this should be easy. But perhaps it should be done for all of the shippers. Or at least have some red text that comes up when you return to the page that says "that shipping method is not available. Please select another."

 

s'ma two cents.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...