Jump to content

UPS High Level View


Guest Denver Dave

Recommended Posts

Guest Denver Dave

Would someone mind describing a general high level view of how the UPS shipping module is supposed to work?

What is CC supposed to do and how does it interface with UPS?

Also, how do we tell the UPS module what countries that we ship to ? It does not seem to accept the Category countries, but that didn't seem to do anything and the 5 digit store zipcode in the UPS module and that did not seem to help.

Many thanks.

This is interesting, is it related to what we need for CC?

http://www.ups.com/e_comm_access/gettools_index?loc=en_US

Link to comment
Share on other sites

Guest Denver Dave

I thought we'd have a high level view about how UPS works in this post, but instead, perhaps a summary of the posts where CC 3 users are struggling with UPS might be useful:

Anyone have UPS working?

http://www.cubecart.com/site/forums/index....showtopic=11444

Sorry, we do not ship to your country, Shipping problem encountered at checkout

http://www.cubecart.com/site/forums/index....showtopic=11068

UPS Shipping, UPS shipping not calc correctly

http://www.cubecart.com/site/forums/index....showtopic=11447

shipping, I can not get any of the shipping mods to work

http://www.cubecart.com/site/forums/index....showtopic=11458

We do not ship to your country?

http://www.cubecart.com/site/forums/index....showtopic=11272

UPS High Level View

http://www.cubecart.com/site/forums/index....showtopic=11373

--- The following are not directly addressing UPS shipping, but might be useful

Documentation, User guide

http://www.cubecart.com/site/forums/index....showtopic=11357

Shipping in Cart - n/a - v 3.0.3

http://www.cubecart.com/site/forums/index....showtopic=11368

No Shipping - AT ALL - in 3.03

http://www.cubecart.com/site/forums/index....showtopic=11119

Whew ! :)

Link to comment
Share on other sites

Guest Denver Dave

Here appears to be the guts of the UPS price quote from UPS.php in the modules / UPS about line 158:

function getQuote(){

$upsAction = "3"; // You want 3. Don't change unless you are sure.

$url = join("&",

array("http://www.ups.com/using/services/rave/qcostcgi.cgi?accept_UPS_license_agreement=yes",

"10_action=$upsAction",

"13_product=$this->upsProductCode",

"14_origCountry=$this->originCountryCode",

"15_origPostal=$this->originPostalCode",

"19_destPostal=$this->destPostalCode",

"22_destCountry=$this->destCountryCode",

"23_weight=$this->packageWeight",

"47_rateChart=$this->rateCode",

"48_container=$this->containerCode",

"49_residential=$this->resComCode"

)

);

$fp = fopen($url, "r");

while(!feof($fp)){

$result = fgets($fp, 500);

. . . . . .

I wonder if someone could give example values for a request that works?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...