Jump to content

shutack

Member
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

shutack's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Contact bsmither if you need a fix to this problem. He's a great resource for the CC community!
  2. The website just uses US dollars, Euros, and British Pounds. We want to enable Australian dollars at some point.
  3. As of November 2, 2017, Yahoo stopped supporting the downloading of a CSV file that contains various currency rates. This is how CC4 implemented its auto update of the currencies. I see that CC5 and CC6 use a different means to update the currencies. Does anyone have an update/fix to the CC4 currency code? Thanks for your help.
  4. One more piece of information to get the protocol working: In the file class.usps.php, near line 427, find: $this->request_xml .= '<Country>' . $attribs['country'] . '</Country>'; On a new line just after it, add: $this->request_xml .= '<Container>' . $attribs['container'] . '</Container>'; // RECTANGULAR or NONRECTANGULAR - Required when Size is 'LARGE' $this->request_xml .= '<Size>' . $attribs['size'] . '</Size>'; // REGULAR: all edges <= 12", LARGE: any edge > 12" $this->request_xml .= '<Width>' . $attribs['width'] . '</Width>'; // Required when Size is 'LARGE' $this->request_xml .= '<Length>' . $attribs['length'] . '</Length>'; // Required when Size is 'LARGE' $this->request_xml .= '<Height>' . $attribs['height'] . </Height>'; // Required when Size is 'LARGE' if($attribs['container']=="NONRECTANGULAR") { $this->request_xml .= '<Girth>' . $attribs['girth'] . '</Girth>'; // Longest Width + Longest Length + Longest Height } else { $this->request_xml .= '<Girth></Girth>'; }
  5. From the USPS document (2014-rate-webtools-v3-v4-transition-guide.rtf) 1 RateV3 Retirement We advise integrators currently using RateV3 to transition to RateV4 as soon as possible in preparation for the planned retirement of the API on September 28, 2014. Corrections on how to update CC4 USPS module can be found here: http://www.cubecartforums.org/lofiversion/index.php?t18105.html After working with Brian Smither yesterday, we discovered a couple things to add to this topic: Also, go through both the calc.php and class.usps.php files and change all occurrences of: IntlRate to IntlRateV2 (changed IntlRate2 to IntlRateV2) RateV3 to RateV4 There are many types of International Shipping options. The admin/index.inc.php could be updated with these options (numbers are included for reference to the USPS document): 1 Priority Mail Express International 2 Priority Mail International 4 Global Express Guaranteed GXG 5 Global Express Guaranteed Document 6 Global Express Guaranteed Non-Document Rectangular 7 Global Express Guaranteed Non-Document Non-Rectangular 8 Priority Mail International Flat-Rate Envelope 9 Priority Mail International Medium Flat-Rate Box 10 Priority Mail Express International Flat-Rate Envelope 11 Priority Mail International Large Flat-Rate Box 12 USPS GXG Envelopes 13 First-Class Mail International Letter 14 First-Class Mail International Large Envelope 15 First-Class Package International Service 16 Priority Mail International Small Flat-Rate Box 17 Priority Mail Express International Legal Flat-Rate Envelope 18 Priority Mail International Gift Card Flat-Rate Envelope 19 Priority Mail International Window Flat-Rate Envelope 20 Priority Mail International Small Flat-Rate Envelope 21 First-Class Mail International Postcard 22 Priority Mail International Legal Flat-Rate Envelope 23 Priority Mail International Padded Flat-Rate Envelope 24 Priority Mail International DVD Flat-Rate Priced Box 25 Priority Mail International Large Video Flat-Rate Priced Box 26 Priority Mail Express International Flat-Rate Boxes 27 Priority Mail Express International Padded Flat-Rate Envelope
  6. I am also having this problem on 4.4.2. It is very intermittent. When you click the Shopping Cart or view what is in the basket, sometimes the cart displays OK other times I get this error. Any help or insights would be appreciated.
×
×
  • Create New...