Jump to content

krnl

Members
  • Content count

    195
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Rick
  1. krnl

    [Contribution] - USPS Methods

    Had to give up for now and install 5.2.2 with previously discussed changes. Seems to be working. I don.t care about all the extra that 6.1 may provide. All I want is something that will serve shipping quotes to my customers, and 5.2.2 seems to do it.
  2. krnl

    [Contribution] - USPS Methods

    Alright - that didn't work... When I select the shipping option with no title, when I continue the checkout, it goes back to Priority Mail. I need to get this fixed ASAP.. Anyone have any ideas?
  3. krnl

    [Contribution] - USPS Methods

    Even though First Class (First-Class Mail Parcel) is being quoted now, I'm still missing the title "First-Class Mail<sup>®</sup> Parcel" title in checkout_shipping. So, for USPS, I have: Priority Mail ® $8.65 [blank] $4.99 [blank] should say "First-Class Mail<sup>®</sup> Parcel" as defined in $this->types = array( above.
  4. krnl

    [Contribution] - USPS Methods

    Looks like the updated arrays in the previous post added values for First-Class Package Service
  5. krnl

    [Contribution] - USPS Methods

    in .../includes/modules/shipping/usps.php - replace the arrays that define the shipping types with the following: (Proper values were determined by running the USPS_methods_utility.php that comes with the 6.1a version) After replacing the arrays, remove the module by clicking the rex "Remove" button, then reinstall. You will have to re-enter your User ID and all settings, so be sure you have at least your User ID written down. I'm not sure what changed, but I replaced all four arrays with the output from USPS_methods_utility.php and I get First Class offered now. Also, be sure to check your package tare weight under "Configuration -> Shipping/Packaging" $this->types = array( 'Express Mail' => 'Express Mail<sup>®</sup>', 'Express Mail Hold For Pickup' => 'Express Mail<sup>®</sup> Hold For Pickup', 'Express Mail Flat Rate Boxes' => 'Express Mail<sup>®</sup> Flat Rate Boxes', 'Express Mail Flat Rate Boxes Hold For Pickup' => 'Express Mail<sup>®</sup> Flat Rate Boxes Hold For Pickup', 'Express Mail Flat Rate Envelope' => 'Express Mail<sup>®</sup> Flat Rate Envelope', 'Express Mail Flat Rate Envelope Hold For Pickup' => 'Express Mail<sup>®</sup> Flat Rate Envelope Hold For Pickup', 'Express Mail Legal Flat Rate Envelope' => 'Express Mail<sup>®</sup> Legal Flat Rate Envelope', 'Express Mail Legal Flat Rate Envelope Hold For Pickup' => 'Express Mail<sup>®</sup> Legal Flat Rate Envelope Hold For Pickup', 'Priority Mail' => 'Priority Mail<sup>®</sup>', 'Priority Mail Hold For Pickup' => 'Priority Mail<sup>®</sup> Hold For Pickup', 'Priority Mail Large Flat Rate Box' => 'Priority Mail<sup>®</sup> Large Flat Rate Box', 'Priority Mail Large Flat Rate Box Hold For Pickup' => 'Priority Mail<sup>®</sup> Large Flat Rate Box Hold For Pickup', 'Priority Mail Medium Flat Rate Box' => 'Priority Mail<sup>®</sup> Medium Flat Rate Box', 'Priority Mail Medium Flat Rate Box Hold For Pickup' => 'Priority Mail<sup>®</sup> Medium Flat Rate Box Hold For Pickup', 'Priority Mail Small Flat Rate Box' => 'Priority Mail<sup>®</sup> Small Flat Rate Box', 'Priority Mail Small Flat Rate Box Hold For Pickup' => 'Priority Mail<sup>®</sup> Small Flat Rate Box Hold For Pickup', 'Priority Mail Regional Rate Box A' => 'Priority Mail<sup>®</sup> Regional Rate Box A', 'Priority Mail Regional Rate Box A Hold For Pickup' => 'Priority Mail<sup>®</sup> Regional Rate Box A Hold For Pickup', 'Priority Mail Regional Rate Box B' => 'Priority Mail<sup>®</sup> Regional Rate Box B', 'Priority Mail Regional Rate Box B Hold For Pickup' => 'Priority Mail<sup>®</sup> Regional Rate Box B Hold For Pickup', 'Priority Mail Regional Rate Box C' => 'Priority Mail<sup>®</sup> Regional Rate Box C', 'Priority Mail Regional Rate Box C Hold For Pickup' => 'Priority Mail<sup>®</sup> Regional Rate Box C Hold For Pickup', 'Priority Mail Flat Rate Envelope' => 'Priority Mail<sup>®</sup> Flat Rate Envelope', 'Priority Mail Flat Rate Envelope Hold For Pickup' => 'Priority Mail<sup>®</sup> Flat Rate Envelope Hold For Pickup', 'Priority Mail Legal Flat Rate Envelope' => 'Priority Mail<sup>®</sup> Legal Flat Rate Envelope', 'Priority Mail Legal Flat Rate Envelope Hold For Pickup' => 'Priority Mail<sup>®</sup> Legal Flat Rate Envelope Hold For Pickup', 'Priority Mail Padded Flat Rate Envelope' => 'Priority Mail<sup>®</sup> Padded Flat Rate Envelope', 'Priority Mail Padded Flat Rate Envelope Hold For Pickup' => 'Priority Mail<sup>®</sup> Padded Flat Rate Envelope Hold For Pickup', 'Priority Mail Gift Card Flat Rate Envelope' => 'Priority Mail<sup>®</sup> Gift Card Flat Rate Envelope', 'Priority Mail Gift Card Flat Rate Envelope Hold For Pickup' => 'Priority Mail<sup>®</sup> Gift Card Flat Rate Envelope Hold For Pickup', 'Priority Mail Small Flat Rate Envelope' => 'Priority Mail<sup>®</sup> Small Flat Rate Envelope', 'Priority Mail Small Flat Rate Envelope Hold For Pickup' => 'Priority Mail<sup>®</sup> Small Flat Rate Envelope Hold For Pickup', 'Priority Mail Window Flat Rate Envelope' => 'Priority Mail<sup>®</sup> Window Flat Rate Envelope', 'Priority Mail Window Flat Rate Envelope Hold For Pickup' => 'Priority Mail<sup>®</sup> Window Flat Rate Envelope Hold For Pickup', 'First-Class Mail Parcel' => 'First-Class Mail<sup>®</sup> Parcel', 'First-Class Mail Large Envelope' => 'First-Class Mail<sup>®</sup> Large Envelope', 'First-Class Mail Letter' => 'First-Class Mail<sup>®</sup> Letter', 'First-Class Package Service' => 'First-Class<sup>™</sup> Package Service', 'First-Class Package Service Hold For Pickup' => 'First-Class<sup>™</sup> Package Service Hold For Pickup', 'Parcel Post' => 'Parcel Post<sup>®</sup>', 'Media Mail' => 'Media Mail<sup>®</sup>', 'Library Mail' => 'Library Mail' ); $this->type_to_request = array( 'Express Mail' => 'Express Commercial', 'Express Mail Hold For Pickup' => 'Express HFP Commercial', 'Express Mail Flat Rate Boxes' => 'Express Commercial', 'Express Mail Flat Rate Boxes Hold For Pickup' => 'Express HFP Commercial', 'Express Mail Flat Rate Envelope' => 'Express Commercial', 'Express Mail Flat Rate Envelope Hold For Pickup' => 'Express HFP Commercial', 'Express Mail Legal Flat Rate Envelope' => 'Express Commercial', 'Express Mail Legal Flat Rate Envelope Hold For Pickup' => 'Express HFP Commercial', 'Priority Mail' => 'Priority Commercial', 'Priority Mail Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Large Flat Rate Box' => 'Priority Commercial', 'Priority Mail Large Flat Rate Box Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Medium Flat Rate Box' => 'Priority Commercial', 'Priority Mail Medium Flat Rate Box Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Small Flat Rate Box' => 'Priority Commercial', 'Priority Mail Small Flat Rate Box Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Regional Rate Box A' => 'Priority Commercial', 'Priority Mail Regional Rate Box A Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Regional Rate Box B' => 'Priority Commercial', 'Priority Mail Regional Rate Box B Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Regional Rate Box C' => 'Priority Commercial', 'Priority Mail Regional Rate Box C Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Flat Rate Envelope' => 'Priority Commercial', 'Priority Mail Flat Rate Envelope Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Legal Flat Rate Envelope' => 'Priority Commercial', 'Priority Mail Legal Flat Rate Envelope Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Padded Flat Rate Envelope' => 'Priority Commercial', 'Priority Mail Padded Flat Rate Envelope Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Gift Card Flat Rate Envelope' => 'Priority Commercial', 'Priority Mail Gift Card Flat Rate Envelope Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Small Flat Rate Envelope' => 'Priority Commercial', 'Priority Mail Small Flat Rate Envelope Hold For Pickup' => 'Priority HFP Commercial', 'Priority Mail Window Flat Rate Envelope' => 'Priority Commercial', 'Priority Mail Window Flat Rate Envelope Hold For Pickup' => 'Priority HFP Commercial', 'First-Class Mail Parcel' => 'First Class', 'First-Class Mail Large Envelope' => 'First Class', 'First-Class Mail Letter' => 'First Class', 'First-Class Package Service' => 'First Class Commercial', 'First-Class Package Service Hold For Pickup' => 'First Class HFP Commercial', 'Parcel Post' => 'Parcel', 'Media Mail' => 'Media', 'Library Mail' => 'Library' ); $this->type_to_container = array( 'Express Mail' => '', 'Express Mail Hold For Pickup' => '', 'Express Mail Flat Rate Boxes' => 'Flat Rate Boxes', 'Express Mail Flat Rate Boxes Hold For Pickup' => 'Flat Rate Boxes', 'Express Mail Flat Rate Envelope' => 'Flat Rate Envelope', 'Express Mail Flat Rate Envelope Hold For Pickup' => 'Flat Rate Envelope', 'Express Mail Legal Flat Rate Envelope' => 'Legal Flat Rate Envelope', 'Express Mail Legal Flat Rate Envelope Hold For Pickup' => 'Legal Flat Rate Envelope', 'Priority Mail' => '', 'Priority Mail Hold For Pickup' => '', 'Priority Mail Large Flat Rate Box' => 'LG Flat Rate Box', 'Priority Mail Large Flat Rate Box Hold For Pickup' => 'LG Flat Rate Box', 'Priority Mail Medium Flat Rate Box' => 'MD Flat Rate Box', 'Priority Mail Medium Flat Rate Box Hold For Pickup' => 'MD Flat Rate Box', 'Priority Mail Small Flat Rate Box' => 'SM Flat Rate Box', 'Priority Mail Small Flat Rate Box Hold For Pickup' => 'SM Flat Rate Box', 'Priority Mail Regional Rate Box A' => 'Regional Rate Box A', 'Priority Mail Regional Rate Box A Hold For Pickup' => 'Regional Rate Box A', 'Priority Mail Regional Rate Box B' => 'Regional Rate Box B', 'Priority Mail Regional Rate Box B Hold For Pickup' => 'Regional Rate Box B', 'Priority Mail Regional Rate Box C' => 'Regional Rate Box C', 'Priority Mail Regional Rate Box C Hold For Pickup' => 'Regional Rate Box C', 'Priority Mail Flat Rate Envelope' => 'Flat Rate Envelope', 'Priority Mail Flat Rate Envelope Hold For Pickup' => 'Flat Rate Envelope', 'Priority Mail Legal Flat Rate Envelope' => 'Legal Flat Rate Envelope', 'Priority Mail Legal Flat Rate Envelope Hold For Pickup' => 'Legal Flat Rate Envelope', 'Priority Mail Padded Flat Rate Envelope' => 'Padded Flat Rate Envelope', 'Priority Mail Padded Flat Rate Envelope Hold For Pickup' => 'Padded Flat Rate Envelope', 'Priority Mail Gift Card Flat Rate Envelope' => 'Gift Card Flat Rate Envelope', 'Priority Mail Gift Card Flat Rate Envelope Hold For Pickup' => 'Gift Card Flat Rate Envelope', 'Priority Mail Small Flat Rate Envelope' => 'SM Flat Rate Envelope', 'Priority Mail Small Flat Rate Envelope Hold For Pickup' => 'SM Flat Rate Envelope', 'Priority Mail Window Flat Rate Envelope' => 'Window Flat Rate Envelope', 'Priority Mail Window Flat Rate Envelope Hold For Pickup' => 'Window Flat Rate Envelope', 'First-Class Mail Parcel' => '', 'First-Class Mail Large Envelope' => '', 'First-Class Mail Letter' => '', 'First-Class Package Service' => '', 'First-Class Package Service Hold For Pickup' => '', 'Parcel Post' => '', 'Media Mail' => '', 'Library Mail' => '' ); $this->intl_types = array( 'Global Express Guaranteed (GXG)**' => 'Global Express Guaranteed<sup>®</sup> (GXG)**', 'Express Mail International' => 'Express Mail<sup>®</sup> International', 'Priority Mail International' => 'Priority Mail<sup>®</sup> International', 'USPS GXG Envelopes**' => 'USPS GXG<sup>™</sup> Envelopes**', 'Express Mail International Flat Rate Boxes' => 'Express Mail<sup>®</sup> International Flat Rate Boxes', 'Express Mail International Flat Rate Envelope' => 'Express Mail<sup>®</sup> International Flat Rate Envelope', 'Express Mail International Legal Flat Rate Envelope' => 'Express Mail<sup>®</sup> International Legal Flat Rate Envelope', 'Priority Mail International Large Flat Rate Box' => 'Priority Mail<sup>®</sup> International Large Flat Rate Box', 'Priority Mail International Medium Flat Rate Box' => 'Priority Mail<sup>®</sup> International Medium Flat Rate Box', 'Priority Mail International Small Flat Rate Box**' => 'Priority Mail<sup>®</sup> International Small Flat Rate Box**', 'Priority Mail International DVD Flat Rate priced box**' => 'Priority Mail<sup>®</sup> International DVD Flat Rate priced box**', 'Priority Mail International Large Video Flat Rate priced box**' => 'Priority Mail<sup>®</sup> International Large Video Flat Rate priced box**', 'Priority Mail International Flat Rate Envelope**' => 'Priority Mail<sup>®</sup> International Flat Rate Envelope**', 'Priority Mail International Legal Flat Rate Envelope**' => 'Priority Mail<sup>®</sup> International Legal Flat Rate Envelope**', 'Priority Mail International Padded Flat Rate Envelope**' => 'Priority Mail<sup>®</sup> International Padded Flat Rate Envelope**', 'Priority Mail International Gift Card Flat Rate Envelope**' => 'Priority Mail<sup>®</sup> International Gift Card Flat Rate Envelope**', 'Priority Mail International Small Flat Rate Envelope**' => 'Priority Mail<sup>®</sup> International Small Flat Rate Envelope**', 'Priority Mail International Window Flat Rate Envelope**' => 'Priority Mail<sup>®</sup> International Window Flat Rate Envelope**', 'First-Class Mail International Parcel**' => 'First-Class Mail<sup>®</sup> International Parcel**', 'First-Class Mail International Large Envelope**' => 'First-Class Mail<sup>®</sup> International Large Envelope**', 'First-Class Mail International Letter**' => 'First-Class Mail<sup>®</sup> International Letter**' );
  6. Is there a way to process all files at once from the command line or something so that they can be cached on the server and not have to be processed when someone loads a page with 20 products? It's pretty slow that way waiting for all the files to process and be rendered.
  7. krnl

    Oversize Shipping

    I did this in my store by adding a field 'products_oversized' in the products table, then checking that value during checkout and if it is set for any product in the cart, then it adds a $15.00 oversized item shipping charge.
  8. Hi Jack. I installed this contribution and it does a great job rewriting URLs for me, but it's messing up my order processing somehow and I can't put my finger on it. I go through the checkout process and everything seems OK. I place an order with payment method of check/money order so I can complete checkout - the order goes through - the order billing and delivery seem to be populated OK with the correct information and order ID, but the orders_total and orders_products tables are being fed an order ID of zero. Since there's no rewriting of any of the checkout pages, I don't see why this contrib is causing the problem, but I disable the module and orders are processed correctly. Any idea where to start looking? TIA, Rick
  9. the function mb_convert_case (mb_string) is not installed by default in php5. in file includes/classes/seo.class.php Replace this line: $anchor = ereg_replace($pattern, '', mb_convert_case($string, MB_CASE_LOWER, "utf-8")); with this line: $anchor = ereg_replace($pattern, '', strtolower($string));
  10. krnl

    UPS Ground shipping only

    No one knows how to accomplish this? I already have the hard part in place with setting the order to Ground Only - Just need to restrict the shipping methods/modules that are presented to the customer.
  11. I have added a column to the products table for GROUND_ONLY and have also set the order class so that it properly reflects Ground Only when certain products are added to the cart. The only problem I have is that USPS and UPS Air delivery options are still presented to the customer and they sometimes choose USPS due to it being cheaper even though the checkout specifically says "Your order contains items that can only be shipped UPS GROUND" So, how can I use the GROUND_ONLY switch in the order class to present ONLY UPS Ground as the shipping option?
  12. krnl

    Auth.net Gateway changes as of October 2008

    Then you should go ask that question in the Vger module support topic...
  13. krnl

    Auth.net Gateway changes as of October 2008

    No, they did *not* say values larger than 10 digits. They said they will be expanding to a 10 digit number larger than 2,147,483,647 ( sizeof(int) ) or 32 bits or 4 bytes. I haven't looked at the code yet, but I don't believe that osCommerce even uses the x_trans_id nor does it get saved to the database. So, long story short - don't worry about it. Here is the specific text from the email that applies: The Transaction ID, or x_trans_id, is specified as a 10-digit integer and will only be affected if that value is represented as an INT data type, which has a max value of 2,147,483,647. If you have specified the Transaction ID as a string value, then your system will not be affected. Failure to accommodate 10-digit values larger than 2,147,483,647 will result in your system's inability to accept Authorize.Net transactions.
  14. I have MS2.2 installed. I would like to install the RC2a Paypal Standard module. Can I just copy the files out of RC2a into my MS2.2 installation and expect it to work? Is there already a procedure for this posted around here somewhere?
  15. krnl

    Paypal IPN - Which version to use?

    So, this is new for RC2? My osCommerce install says that I'm using version 2.0. I thought that I installed MS2.2. Does the default MS2.2 version say 2.0 in the database settings? I really don't want to upgrade due to a huge amount of code changes and SEO that I have done. Maybe I should try this contrib - osCommerce PayPal IPN Module v1.0 For 2.2MS2 http://www.oscommerce.com/community/contributions,2679 Anyone have any experience (good or bad) with that one?
×