birddogsgarage Posted March 22, 2008 Share Posted March 22, 2008 I got it The files go in the catalog includes modules NOT admin include modules Might want to change or reword ********************* UPDATE 1.0->1.1a * ******************** 1. Remove the module in the admin (Modules->Order Total) 2. Upload included fileset to the appropriate folders 3. Re-edit files in Step 1 & Step 4 4. Install the module in the admin and select appropriate options in the readme file The addition of admin in Remove the module in the admin (Modules->Order Total) this line through it all off But thats probably just me hahaha! Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted April 2, 2008 Author Share Posted April 2, 2008 I got itThe files go in the catalog includes modules NOT admin include modules Might want to change or reword in the readme file The addition of admin in this line through it all off But thats probably just me hahaha! Nope, understand - I've done the same thing in installing addons beating my head against the wall all because I just misunderstood or misread the instructions... thanks for using my addon :) Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
j4k3 Posted April 10, 2008 Share Posted April 10, 2008 I have implemented the USPS Insurance module and everything was great. However, now I find out I have to calculate tax on shipping and insurance for Florida. I read all the posts in this thread and tried the suggestions. I am running the latest 1.1a. I have the order total modules aligned so tax is ordered below shipping and USPS Insurance. However, it still does not calculate tax on the USPS Insurance. For the other poster with the Paypal IPN version 2.3.3.0. I found a solution that seems to work for me. I edited the paypal_ipn.php file. Around line 315 I added a definition for $uspsinsurance: $subtotal = $order_total['ot_subtotal']; $uspsinsurance = $order_total['ot_uspsinsurance']; /* MY EDIT */ Around line 454 I editing the following line to add $uspsinsurance to the handling variable: $parameters['handling'] = number_format(($uspsinsurance+$order_total['ot_loworderfee']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency)); The total comes out properly now in Paypal. If only I could get tax calculated on the USPS Insurance my life would be all roses. Thanks for any help, kind regards, Jake Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted April 11, 2008 Author Share Posted April 11, 2008 Version 1.2 is out: http://addons.oscommerce.com/info/5782 Changes since v1.1 ------------------ * Code added to calculate tax including the shipping insurance if a tax class is chosen (thanks to Jake) Scott (olsonsp4c) Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
Dennisra Posted April 11, 2008 Share Posted April 11, 2008 Really a nice contribution. Now my customers pay exactly what the shipping and insurance charges are. No more and no less. No more over or under charge for delivery. Makes for a happier customer. Thank you!!!!! Quote Link to comment Share on other sites More sharing options...
varanus9 Posted April 20, 2008 Share Posted April 20, 2008 I have what might be a stupid question...Do you have to use the USPS shipping module to use this contribution, or will it work with any shipping module? The store I built for a client (Stamps, as in Philately) just has a one dollar shipping rate for every order, but he wants customers to be able to have the option for insurance...will this work? I read all the posts in this thread and it seems to me it will, but I just want to check before I go through the install. Thanks much Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted April 20, 2008 Author Share Posted April 20, 2008 (edited) I have what might be a stupid question...Do you have to use the USPS shipping module to use this contribution, or will it work with any shipping module? The store I built for a client (Stamps, as in Philately) just has a one dollar shipping rate for every order, but he wants customers to be able to have the option for insurance...will this work? I read all the posts in this thread and it seems to me it will, but I just want to check before I go through the install. Thanks much It could work; however, you should note that the rates listed are the USPS insurance rates that are determined by the price of the order total (with or without tax). It is easy to change the title of the module in the english file and adjust other aspects in the module file (ie. the usps logo). You can change the insurance charge per order total amount in the admin to whatever you desire; however, you'd need to change the table inserted in checkout_payment.php accordingly (the insurance amounts charged. You should take a look at the screenshots before using. Thanks! Scott Edited April 20, 2008 by olsonsp4c Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
varanus9 Posted April 20, 2008 Share Posted April 20, 2008 It could work; however, you should note that the rates listed are the USPS insurance rates that are determined by the price of the order total (with or without tax). It is easy to change the title of the module in the english file and adjust other aspects in the module file (ie. the usps logo). You can change the insurance charge per order total amount in the admin to whatever you desire; however, you'd need to change the table inserted in checkout_payment.php accordingly (the insurance amounts charged. You should take a look at the screenshots before using. Thanks! Scott Thank you Scott! That's what I thought - he actually does use the USPS and their insurance rates, so that's fine - we just don't use any weight calculations for the site as the items weigh next to nothing, so it's easier just to use a flat rate, but it will be nice to have the optional insurance module in there... Thanks again for the response... Phil Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted April 20, 2008 Author Share Posted April 20, 2008 Thank you Scott! That's what I thought - he actually does use the USPS and their insurance rates, so that's fine - we just don't use any weight calculations for the site as the items weigh next to nothing, so it's easier just to use a flat rate, but it will be nice to have the optional insurance module in there... Thanks again for the response... Phil Your welcome - you should also note that my module will only insure for 1 package per order at this time, until I figure out how to import the $shipping_num_boxes variable from the shipping class. Once I figure that out, I already have it coded to work for multiple packages. Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
olsonsp4c Posted May 13, 2008 Author Share Posted May 13, 2008 (edited) ANNOUNCEMENT: Everybody! USPS changed almost all of their domestic and international insurance rates TODAY... Go in the admin->modules->order totals->USPS Shipping Insurance to see the links to the rates pages and update your rates in the addon accordingly or you'll be undercharging your customers (your checkout shipping [checkout payment in older versions] page will be automatically updated when you adjust the price in the admin)! Also, anyone out there willing to help me figure out how to import the $shipping_num_boxes variable from the shipping class? Once that is done, this addon will be complete... Scott Edited May 13, 2008 by olsonsp4c Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
thenook Posted May 13, 2008 Share Posted May 13, 2008 Hi, I do not have this: ********** * STEP 6 * ********** In catalog/includes/stylesheet.css: FIND this: TD.smallText, SPAN.smallText, P.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; My Stylesheet.css is in the catalog directory... I see someone else mentioned this I just want to make sure this is the correct file to edit! N Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted May 14, 2008 Author Share Posted May 14, 2008 Hi, I do not have this: ********** * STEP 6 * ********** In catalog/includes/stylesheet.css: FIND this: TD.smallText, SPAN.smallText, P.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; My Stylesheet.css is in the catalog directory... I see someone else mentioned this I just want to make sure this is the correct file to edit! N I apologize - it is in catalog/ you think you have it all correct and then find these kinds of errors :) thanks. Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
thenook Posted May 16, 2008 Share Posted May 16, 2008 Hello, I added this mod and followed the directios to the letter, I activated it in the modules, set the rates, but yet nothing shows for insurance in checkout. Any suggestions where to start fixing? Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted May 16, 2008 Author Share Posted May 16, 2008 (edited) Hello, I added this mod and followed the directios to the letter, I activated it in the modules, set the rates, but yet nothing shows for insurance in checkout. Any suggestions where to start fixing? what version are you using? Scott Edited May 16, 2008 by olsonsp4c Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
thenook Posted May 16, 2008 Share Posted May 16, 2008 (edited) what version are you using? Scott 1.3..... ! One of my other sites got hacked, so my host turned off global allow, but I had them turn it back on, but the problem remains so I am not sure it's related. Imma comb through the directions one more time and see if I can get it going. Edited May 16, 2008 by thenook Quote Link to comment Share on other sites More sharing options...
thenook Posted May 16, 2008 Share Posted May 16, 2008 1.3..... ! One of my other sites got hacked, so my host turned off global allow, but I had them turn it back on, but the problem remains so I am not sure it's related. Imma comb through the directions one more time and see if I can get it going. I has em all zipped as modded if anyone wants to peek http://wjowsa.com/usps13.zip I put the files in their directories , and the originals ar in the backup. Im seeing crosseyed after trying to troubleshoot 3-4 mods.. Head needs a break. N Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted May 16, 2008 Author Share Posted May 16, 2008 I has em all zipped as modded if anyone wants to peek http://wjowsa.com/usps13.zip I put the files in their directories , and the originals ar in the backup. Im seeing crosseyed after trying to troubleshoot 3-4 mods.. Head needs a break. N your shipping insurance inserts should be in checkout_shipping.php - without this, nothing can show up - look there 1st. Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
thenook Posted May 16, 2008 Share Posted May 16, 2008 your shipping insurance inserts should be in checkout_shipping.php - without this, nothing can show up - look there 1st. Scott Thanks man, I made progress.... but not enough. I am going to wipe and try them again. Somehow I overwrote the ones I edited and uploaded the ones without editing. But progress!: Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted May 16, 2008 Author Share Posted May 16, 2008 Thanks man, I made progress.... but not enough. I am going to wipe and try them again. Somehow I overwrote the ones I edited and uploaded the ones without editing. But progress!: looks like the edits to includes/languages/english.php are missing also note that the stylesheet.css file is in the root directory NOT includes/ Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
thenook Posted May 16, 2008 Share Posted May 16, 2008 Somehow I got the files oerwritten and having another problem with one odd othe rpart of the site, I nuked and paved it. It's all back with no mods, im going to add the google tracker and take another crack at the insurance mod here shortly..... N Quote Link to comment Share on other sites More sharing options...
thenook Posted May 16, 2008 Share Posted May 16, 2008 Woot, went over it again, worked fine. Not sure how I overwrote the changes I made yesterday, works like a champ. Quote Link to comment Share on other sites More sharing options...
VITW Posted June 18, 2008 Share Posted June 18, 2008 Help! I installed version 1.3 and I'm having three problems with the module: 1) The order history doesn't show that insurance was ordered. 2) The cost is not carrying through to PayPal (but it does carry over to Authorize.net). 3) If I move from "Confirmation" back to "Payment", it doesn't retain the fact that insurance was requested. What am I doing wrong? Thanks, Rich BTW, I'm not charging tax on insurance. Quote Link to comment Share on other sites More sharing options...
olsonsp4c Posted June 20, 2008 Author Share Posted June 20, 2008 Help! I installed version 1.3 and I'm having three problems with the module:1) The order history doesn't show that insurance was ordered. 2) The cost is not carrying through to PayPal (but it does carry over to Authorize.net). 3) If I move from "Confirmation" back to "Payment", it doesn't retain the fact that insurance was requested. What am I doing wrong? Thanks, Rich BTW, I'm not charging tax on insurance. thanks Rich, I appreciate the feedback... Issue 1 - this would be a good feature to consider adding in the future, but I'm not sure how to do it at this point Issue 2 - with Paypal you will probably have to add the section you added to checkout_confirmation.php to your paypal file - paypal has lots of issues like this Issue 3 - i've known about this; however, I don't know how to fix it honestly, maybe someone else has an idea - the best idea probably is to use 1.2 which has the selection on checkout_payment.php page, then when they go back, they'll have to reselect insurance. Not optimal, but it's a quicker fix. Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
PropioWeb Posted June 23, 2008 Share Posted June 23, 2008 Issue 2 - with Paypal you will probably have to add the section you added to checkout_confirmation.php to your paypal file - paypal has lots of issues like this Hey Scott, I have the same PayPal issue but I cannot figure out where to add the code on the paypal file. It's just too much going on in there and I'm not too PHP savvy. A little help from anyone would be great. Quote Samuel Mateo, Jr. osC 2.2 MS2 Installed Mods: WYSIWYG HTMLArea 1.7 | Basic Template System 1.0 | osC-Affiliate | OSC-SupportTicket Featured Products 1.3 | LoginBox 5.2 | LatestNews 1.1.3 | Extras for IE Link to comment Share on other sites More sharing options...
olsonsp4c Posted June 25, 2008 Author Share Posted June 25, 2008 Hey Scott,I have the same PayPal issue but I cannot figure out where to add the code on the paypal file. It's just too much going on in there and I'm not too PHP savvy. A little help from anyone would be great. it depends on which Paypal addon you are using, that's part of the problem... could be either: paypal_ipn.php OR paypal.php OR ipn.php Scott Quote Addons I've crafted: osC reCaptcha | Live Support phpOnline | Store Mode | Simple Categories Header | Authorize.Net Infobox Package Tracking Plus | USPS Flat Rate Shipping | USPS Shipping Insurance | RapidSSL Infobox Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.