Jump to content

FixItPete

Members
  • Content count

    355
  • Joined

  • Last visited

1 Follower

Profile Information

  1. Is there something wrong with USPS? Here's my usps.php (the forum wouldn't let me post the whole thing... so here's part of it that mentions v4): <?php /* $Id: usps.php 5.2.1 - 2.2. RC2a and 2.3 compatible; php 5.3 compatible +++++ Original contribution by Brad Waite and Fritz Clapp ++++ ++++ Revisions and Modifications made by Greg Deeth, 2008 ++++ Copyright 2008 osCommerce Released under the GNU General Public License //VERSION: 5.2.1 Updated to July 28 2013 Changes */ ///////////////////////////////////////// ////////// Sets up USPS Class /////////// ///////////////////////////////////////// class usps { ///////////////////////////////////////// ///////////// Sets Variables //////////// ///////////////////////////////////////// var $code, $title, $description, $icon, $enabled, $countries; function usps() { if ( !function_exists('htmlspecialchars_decode') ) { function htmlspecialchars_decode($text) { return strtr($text, array_flip(get_html_translation_table(HTML_SPECIALCHARS))); } } global $order; $this->code = 'usps'; . . . . . . . break; case 'Priority Commercial': $transreq[$transid] = 'API=PriorityMail&XML=' . urlencode( '<PriorityMailRequest ' . $transitreq . '</PriorityMailRequest>'); break; default: $transreq[$transid] = ''; break; } } ///////////////////////////////////////// //////// END USPS TRANSIT REQUEST /////// ///////////////////////////////////////// $services_count++; } ///////////////////////////////////////// ////// END IF WITHIN ALLOWED LIST /////// ///////////////////////////////////////// $request .= '</RateV4Request>'; $request = 'API=RateV4&XML=' . urlencode($request); } ///////////////////////////////////////// /////// END USPS DOMESTIC REQUEST /////// ///////////////////////////////////////// else ///////////////////////////////////////// //// START USPS INTERNATIONAL REQUEST /// ///////////////////////////////////////// { $request = '<IntlRateV2Request USERID="' . $Authentication[0] . '">' . '<Revision>2</Revision>' . '<Package ID="0">' . '<Pounds>' . $this->pounds . '</Pounds>' . '<Ounces>' . $this->ounces . '</Ounces>' . '<Machinable>True</Machinable>' . '<MailType>All</MailType>' . '<GXG>' . '<POBoxFlag>N</POBoxFlag>' . Something I need to do? Please help. :) Thanks!
  2. Could you provide a link to the exact version you're talking about? The one that I found does not have "VERSION: 5.2.1 Updated to July 28 2013 Changes" at the top of the file...
  3. P.S. I'm using: $Id: usps.php 5.2.1
  4. Niether. Here is what mine looks like: $this->types = array( 'First-Class Mail' => 'First-Class Mail', 'Media Mail' => 'Media Mail', 'Parcel Post' => 'Parcel Post', 'Priority Mail' => 'Priority Mail', 'Priority Mail Flat Rate Envelope' => 'Priority Mail Flat Rate Envelope', 'Priority Mail Small Flat Rate Box' => 'Priority Mail Small Flat Rate Box', 'Priority Mail Medium Flat Rate Box' => 'Priority Mail Medium Flat Rate Box', 'Priority Mail Large Flat Rate Box' => 'Priority Mail Large Flat Rate Box', 'Express Mail' => 'Express Mail', 'Express Mail Flat Rate Envelope' => 'Express Mail Flat Rate Envelope' );
  5. Hi, Both worked exactly like they should be fore the USPS re-name issues of late...
  6. I've got two sites... the actual amounts and everything work fine, however the "presentation" is horrible. One site shows: United States Postal Service (Standard Post<sup>®</sup>): $7.35 The other site shows: United States Postal Service (Priority Mail Express 1-Day<sup>™</sup>) $35.95 Thoughts?
  7. FixItPete

    Automatically send data feed to Froogle

    Thank you Jack!!! That fixed it!!!!
  8. MANY Thanks!!! That was the problem!!! Thank you!!! :) :)
  9. FixItPete

    Automatically send data feed to Froogle

    Hi, I have 1845 products. When I run this feeder why do I only get 1645 products to show up in the Google txt file, however when I do the Bing txt file it shows all the products? Thanks, Pete
  10. Jack, I have 1845 products. When I run your feeder why do I only get 1645 products to show up in the txt file, however when I do the Bing file it shows all the files? Thanks, Pete
  11. Awesome osCommerce member! :) Pete

  12. Please visit www.thebestcandles.com and type 60000 in the search box and put one in your cart. I'm trying to figure out a few things. 1) Why doesn't it put the checkmark (and make bold) the most inexpensive shipping? 2) How can I sort the results so that it lists from lowest to highest? 3) How come when an account is created it doesn't show anything? Meaning the estimator doesn't work at all. :( Thanks, Pete
  13. FixItPete

    USPS Methods

    Complete packages? I've upgraded from an old 2.7b to 5.1 And now I'd like to go to 5.2 or something and it looks like the new versions are a mess. Can anyone tell me where a complete package is that is also stable? Thanks, Janet
  14. FixItPete

    August 24,2011 Rate and RateV2 will be retired

    Can somebody please tell what you do if your line looks like this: $request = '<RateRequest USERID="' . MODULE_SHIPPING_USPS_USERID . '" PASSWORD="' . MODULE_SHIPPING_USPS_PASSWORD . '">'; Or like this: $request .= '</RateV3Request>'; //'</RateRequest>'; //Changed by Greg Deeth April 30, 2008 Even in the case of the current osCommerce download it still shows V3 in the USPS module code... Can somebody tell me if this is just something that I can change the 3 to a 4 and that's it, or is there more to it? Thanks, Janet
×