Jump to content

johnnymke

♥Ambassador
  • Content count

    103
  • Joined

  • Last visited

Everything posted by johnnymke

  1. My issue is bizzarre...Text box options only work if one and any select option is assigned to a product. If the select is missing, add the text option to the cart is gone. Perhaps dracono's fixes needs to be added to 2.01 quickly...im going through his diff file tonite...
  2. johnnymke

    I need to pass my order ID to my payment gateway.

    Allow me to bump this for you...Ive been trying to do this for months...basically you cant include an order_id with a payment module until AFTER the checkout_process.php page is complete. Im also looking for a solution to this issue, seems crazy no one has figured this out before!
  3. Yes this fix works for most payment modules and any additional order totals...
  4. Hi- product_thumbs.php cause mod_evasive to flip and block requests, especially on pages producing alot of thumbs. This is cited on this thread too: http://forums.oscommerce.com/index.php?showtopic=122761 Any help on that front? Here's my mod_evasive parameters: DOSHashTableSize 3097 DOSPageCount 100 DOSSiteCount 500 DOSPageInterval 1 DOSSiteInterval 1 DOSBlockingPeriod 1 I know its not the safest, but I figure DDoS attacks are generally pushing alot more requests than whats here... Any help appreciated...
  5. johnnymke

    WYSIWYG SPAW EDITOR Support Thread

    I kinda solved it. I changed email.php in admin/includes/classes. I was having line breaks inserting <br> tags in the email html... From function add_html($html, $text = NULL, $images_dir = NULL) { $this->html = tep_convert_linefeeds(array("\r\n", "\n", "\r"), '<br> ', $html); $this->html_text = tep_convert_linefeeds(array("\r\n", "\n", "\r"), $this->lf, $text); To this: function add_html($html, $text = NULL, $images_dir = NULL) { $this->html = tep_convert_linefeeds(array("\r\n", "\n", "\r"), ' ', $html); $this->html_text = tep_convert_linefeeds(array("\r\n", "\n", "\r"), $this->lf, $text); Now my emails come correctly formatted. However, it seems this is needed for sending out order updates (no line breaks, creates run-on text emails). I turned off send emails in MIME Html under Configuration>Email Options to see if that works...
  6. johnnymke

    WYSIWYG SPAW EDITOR Support Thread

    Same here...any ideas? Whats so different between newsletter.php and mail.php? I dont know, but I hope to find out...
  7. johnnymke

    [Contribution] FCKosc 2.2 Support

    Yes, on the image upload, where is the path to the "images" dir supposed to go?
  8. johnnymke

    Alternative Checkout System

    Cannot instantiate non-existent class: httpclient It says I dont have any class! Im quite classy, and handsome in a tux IMHO. Seriously, what?! Ive used Fast-Buy Beta8 before without error...didnt see anything about classes needed to be added...
  9. Can someone please post a hack to disable the requirement of email addresses having to be different? Some of us want to disable accounts all together and we cant since repeat customers generally will enter their same email address over and over again...
  10. johnnymke

    Automated FedEx Labels

    Hi Everyone- I got a call from a Web Integretion rep @ fedex wondering if I was the developer of this module amongst other questions in my quest to be certified for the production server. I explained a little about oscommerce and in particular about this module. The rep seemed rather excited about the project and promised to forward the links to their programmers. I expressed my hope they will consider supporting this and other fedex modules in the future considering that when I call USPS or Authorize.net to setup an account they know what I mean when I say "OSCommerce". Thought I'd share that....
  11. Hi- I never bothered to notice, but a customer of mine pointed this out: The sales tax is only applied to the shipping address, not the billing address. In talking to my CPA, it seems, at least in my state, sales tax must be applied to person who pays for the sale, regardless of the shipping address. My question then is this: Is my site the only one not calculating this properly? Also, what could I do to fix this? Thanks everyone...
  12. johnnymke

    Sales Tax to Billing Address

    Right, but what if the billing address differs from the delivery address? Considering Im from Wisconsin, and I buy something from a Wisconsin-based sales operation, and then ship it to Granny in Michigan, I would still be charged the sales tax...since both I and the business are from Wisconsin. It doesnt make sense to figure the sales tax based on the delivery address all the time....
  13. johnnymke

    Sales Tax to Billing Address

    Update: I found two areas that I think this is calculated from (maybe someone can enlighten me) in catalog/includes/modules/order_total/ot_shipping.php CODE $shipping_tax = tep_get_tax_rate($GLOBALS[$module]->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']); $shipping_tax_description = tep_get_tax_description($GLOBALS[$module]->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']); $order->info['tax'] += tep_calculate_tax($order->info['shipping_cost'], $shipping_tax); $order->info['tax_groups']["$shipping_tax_description"] += tep_calculate_tax($order->info['shipping_cost'], $shipping_tax); $order->info['total'] += tep_calculate_tax($order->info['shipping_cost'], $shipping_tax); if (DISPLAY_PRICE_WITH_TAX == 'true') $order->info['shipping_cost'] += tep_calculate_tax($order->info['shipping_cost'], $shipping_tax); } This certainly looks like tax is based off of the delivery address exclusively...How could I port this to the billing address if thats the case? OR catalog/includes/classes/order.php CODE $tax_address_query = tep_db_query("select ab.entry_country_id, ab.entry_zone_id from " . TABLE_ADDRESS_BOOK . " ab left join " . TABLE_ZONES . " z on (ab.entry_zone_id = z.zone_id) where ab.customers_id = '" . (int)$customer_id . "' and ab.address_book_id = '" . (int)($this->content_type == 'virtual' ? $billto : $sendto) . "'"); $tax_address = tep_db_fetch_array($tax_address_query); Should I modfy this query? I also found this advice but I cannot find the referenced code anywhere in order.php: QUOTE I've found a solution for the tax calculation being based in the shipping address instead of the billing address! In the catalog/includes/classes/order.php find the $tax_address_query replace it by the $billing_address_query (find it a couple of lines before). In the following line: $billing_address = tep_db_fetch_array($tax_address_query); replace it by: $billing_address = tep_db_fetch_array($billing_address_query); And that's it! You now have the tax calculated according to the billing address. Since its a live store I dont want to mess around to much without knowing for sure... Im not the only one taking consideration to this issue... http://forums.oscommerce.com/index.php?showtopic=66450 Calculating sales tax on the shipping address is not sound since the BILLING address is the location/zone/whatever that the payee resides in, and therefore would be subject to taxation. However, I dont want them taxed TWICE, once for billing and again for shipping so you see the issues here...
  14. johnnymke

    [contribution] Total B2B

    There are problems with this contribution that have been posted but no follow-ups on how to fix them.... Please, anybody who got this fixed, post the solution!
  15. Ok here we go... account_history_info.php, line 263 edit: <?php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_BOXES . 'downloads.php'); ?> <?php if (DOWNLOAD_ENABLED == 'true') include(DIR_WS_MODULES . 'downloads.php'); ?>
  16. I get the same error, anyone else? Warning: main(includes/boxes/downloads.php): failed to open stream: No such file or directory in /home/solution/public_html/account_history_info.php on line 263 Im gonna check any back contrib. releases for this file....
  17. johnnymke

    Automated FedEx Labels

    I forgot... Im getting the following error when cancelling a shipment: ERRORFedEx Return Error 1F25 : Ship date must be 8 digits CCYYMMDD
  18. johnnymke

    Automated FedEx Labels

    In ship_fedex.php: 1368 => 2 // label type (2 is standard) What would the other label types be then? Just wondering...
  19. johnnymke

    [Contribution]Paypal IPN - Devosc

    Dunno, but ipn.php is showing up blank... I *think* I followed the directions correctly...anything Im missing?
  20. johnnymke

    [Contribution]Paypal IPN - Devosc

    I ran the IPN test. I noticed in admin/orders.php under the edit, delete, invoice, packing slip buttons it shows up like this... Date Created: 10/20/2004 Last Modified: 10/20/2004 Payment Method: PayPal TABLE_HEADING_PAYMENT_STATUS: I still get what I posted above so the directions on the page about TransactionIDs Etc. do not make any sense... Thanks!
  21. johnnymke

    [Contribution]Paypal IPN - Devosc

    Hi- I just installed this recent version. I had some issues with the install (mostly mysql probs since this was an upgrade) In the last 2 transactions the store had, I see this under 'Transaction Activity' in admin/orders.php: No PayPal Transaction Information Available (1264e60a3291d535bea0af1a20946bfe) Any ideas? This thread is entirely too huge to see if this has been addressed...Perhaps furhter threads can be broken up according to releases? Just a thought...
  22. johnnymke

    NIMMIT SEF Support thread

    tell-a-friend is also fried from this however I dont have a fix for it (my past fix has been to replace the include to application_top.php to something that doesnt include nimmit_sef). Farrukh, can your above solution also apply to tell-a-friend?
  23. johnnymke

    RMA Returns error for 2.2 MS2

    No one else found this?! Rather embarrassing... Did a search on the database and the includes, nothing...
  24. johnnymke

    RMA Returns error for 2.2 MS2

    Yo- I found this tel. no. in when a user is refused an RMA.... 337-229-9292 Where the hell can i change this?? I went through the language files to no avail... Thanks!
  25. johnnymke

    FREEAMOUNT Contribution

    So I guess using the weight limit works for everyone but me?
×