-
Posts
103 -
Joined
-
Last visited
Posts posted by johnnymke
-
-
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!
-
Thanks for your reply. I subsequently found this fix:
Authorize Net AIM module (GPL)
v121 [bUG] - Totals calculated before dicounts
I applied the fix, and, while I haven't confirmed yet, it sounds like it should do the trick.
Yes this fix works for most payment modules and any additional order totals...
-
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://www.oscommerce.com/forums/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...
-
please let me know if you find out the answer :-)
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...
-
sadly, normal email sending isn't working... all i get is pure html code
Same here...any ideas? Whats so different between newsletter.php and mail.php? I dont know, but I hope to find out...
-
Yes, on the image upload, where is the path to the "images" dir supposed to go?
-
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...
-
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...
-
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....
-
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....
In Ohio, you need to calculate the sales tax based on the delivery 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://www.oscommerce.com/forums/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...
-
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...
-
There are problems with this contribution that have been posted but no follow-ups on how to fix them....
Warning: Missing argument 3 for display_price() in E:\Miata\dividi\includes\classes\currencies.php on line 72Warning: Missing argument 3 for display_price() in ...\apache\htdocs\b2bshop\includes\classes\currencies.php on line 72Please, anybody who got this fixed, post the solution!
-
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....
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'); ?>
-
Can't get downloads to work. I get the following message
Warning: main(includes/boxes/downloads.php): failed to open stream: No such file or directory in
Is there supposed to be a file called downloads.php in catalog/includes/boxes? Because is there is, I don't have it.
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....
-
I forgot...
Im getting the following error when cancelling a shipment:
ERRORFedEx Return Error 1F25 : Ship date must be 8 digits CCYYMMDD
-
In ship_fedex.php:
1368 => 2 // label type (2 is standard)
What would the other label types be then?
Just wondering...
-
Dunno, but ipn.php is showing up blank...
I *think* I followed the directions correctly...anything Im missing?
-
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!
-
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...
-
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?
-
No one else found this?! Rather embarrassing...
Your return request has been declined.Please contact us at (337) 229-9292 for more information.
Did a search on the database and the includes, nothing...
-
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!
-
So I guess using the weight limit works for everyone but me?
Product Attributes - Option Type Feature v1.3
in General Add-Ons Support
Posted
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...