Jump to content

cfisupply

Members
  • Content count

    34
  • Joined

  • Last visited

Everything posted by cfisupply

  1. Hi, I have a 'relatively simple' question. New York STATE requires that retailers charge sales tax based on where the sale takes place. So if it shipped via UPS to another tax jurisdiction I have to charge their sales tax. the NYS Tax Department offers a search function located at http://www8.nystax.gov/STLR/stlrHome. I didn't know if there was any way to be able to have the NY customers type their address and 5 digit zip code into a search box and run it through the tax departments site and fetch the tax rate / code. Possibly this would be able to change the tax rate that they are being charged to the correct one based on their location. Of course all out of state sales are exempt from NYS Sales Tax. Anyone have any ideas on how to make this work?
  2. Hi Folks. I have installed OsCommerce and used the PayPal IPN Module 2.3.4.6 contribution. When a customer checks out, the OsCommerce cart shows the correct total Sub-Total+Shipping+Handling Fee+Low Order Fee+Tax, ECT. But when it sends the request to PayPal it only requests the Sub-Total+Shipping. This causes a problem. The customer is billed one price on my site, but pays less. Are there any recommendations??? Thanks in advanced.
  3. cfisupply

    [Contribution] - USPS Methods

    Hi Folks, I have installed USPS Methods 4.3.1 on my site, but have found a problem. The installation seems to have gone smooth, but nothing show up during the checkout process. I have UPS and USPS Flat Rate shipping modules installed and they show up and work correctly. but the regular USPS shipping option doesn't show. There are no errors even. I'm not sure what is wrong. I already have my USPS api account on the production server, although I have not been able to verify that it works because of this module not working. Any help would be appreciated. Thanks in advanced.
  4. cfisupply

    Pay Pal IPN Error - Please Help

    Hi Folks. I received the following error when I started testing my new installation of the Pay Pal IPN Module (http://addons.oscommerce.com/info/2679). It appears that the file was not created. I am using a Go Daddy Host if this helps. I would appreciate any help you can give.. Thanks. Warning: fopen(/413022-8-data.txt) [function.fopen]: failed to open stream: Permission denied in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 535 Warning: fwrite(): supplied argument is not a valid stream resource in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 536 Warning: fclose(): supplied argument is not a valid stream resource in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 537 Warning: openssl_pkcs7_sign() [function.openssl-pkcs7-sign]: error getting private key in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 542 Warning: unlink(/413022-8-data.txt) [function.unlink]: No such file or directory in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 544 Warning: file_get_contents(/413022-8-signed.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 547 Warning: fopen(/413022-8-signed.txt) [function.fopen]: failed to open stream: Permission denied in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 551 Warning: fclose(): supplied argument is not a valid stream resource in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 553 Warning: unlink(/413022-8-signed.txt) [function.unlink]: No such file or directory in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 559 Warning: file_get_contents(/413022-8-encrypted.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 562 Warning: unlink(/413022-8-encrypted.txt) [function.unlink]: No such file or directory in /html/store/catalog/includes/modules/payment/paypal_ipn.php on line 566
  5. cfisupply

    Printer Friendly Version

    Hi, I have been trying to find a Printer Friendly Version add on so that the category and product detail pages can be printed off. I have seen and am currently using, outside of OsCommerce, a nice PHP script that does a great job at processing the printer friendly request. But I am having problems adding this into OsCommerce. I need to add two html comments into the page to tell the script what to print. I finally got it to work by editing index.php. But when the Printer friendly page comes up, it has a copy of the home index page not what supposed to be printed. Anyone have any ideas on how to get the script to work correctly. Unfortunately I am fairly new to PHP. Any Help would be gratly appreciated.
  6. cfisupply

    Pay Pal IPN Error - Please Help

    any suggestions???
  7. cfisupply

    Pay Pal IPN Error - Please Help

    Any Ideas on what might be wrong or is it just my server. I think this is the only problem with a GoDaddy host is that 'normal' scripts don't like to work on them all the time. Thanks for the help, in advanced.
  8. Hi All. I don't know if anyone has already made or is trying to make an add-on that would allow the store admin to pick a category and donate a portion of the proceeds to a charity of the admins choosing. For example I want to create a special category named 'Red Cross' and donate 25% of the sales price to the American Red Cross. This money would be charged to the customer, as normal, then sit in the Pay-Pal account or a special account. Then the admin would forward payment to the American Red Cross, by check or Pay-Pal. Of coarse if the add-on could automatically calculate 25% of the sales price (shipping and tax excluded) and forward a portion of that directly to the charity of choice, then that would be awesome. Otherwise, just keep a running tally of the amount to be donated. Anyone know of, or making, an add-on to do this. Ideas or referrals are appreciated. Thanks a lot
  9. Still Looking.... Starting my own add on though...
  10. Hi All. I visited an online store the other day and saw something I thought might be useful in my store. It was a fast order pad. I was wondering if anyone has made anything similar? It might be an idea! Here's a screenshot of it the fast order page I found.
  11. cfisupply

    Error when installing Paypal IPN

    Hi All. I get the following error after uploading the contrib and login and go to admin->modules->payment Warning: main(/home/content/m/a/t/mattjenne***/html/store/catalog/includes/languages/english/modules/payment/paypal_i.php): failed to open stream: No such file or directory in /home/content/m/a/t/mattjenne***/html/store/catalog/admin/modules.php on line 132 Warning: main(/home/content/m/a/t/mattjenne***/html/store/catalog/includes/languages/english/modules/payment/paypal_i.php): failed to open stream: No such file or directory in /home/content/m/a/t/mattjenne***/html/store/catalog/admin/modules.php on line 132 Warning: main(): Failed opening '/home/content/m/a/t/mattjenne***/html/store/catalog/includes/languages/english/modules/payment/paypal_i.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/m/a/t/mattjenne***/html/store/catalog/admin/modules.php on line 132 Fatal error: Cannot redeclare class paypal_ipn in /home/content/m/a/t/mattjenne***/html/store/catalog/includes/modules/payment/paypal_ipn.php on line 14 Any Ideas???
  12. cfisupply

    Error when installing Paypal IPN

    Never mind. I found in the list credit/debit card (via paypal) and clicked and it said that it was the ipn so I installed that.. Thanks...
  13. cfisupply

    Error when installing Paypal IPN

    Great. I got rid of the errors, now just one question. Isn't Paypal ipn supposed to show up in the payment modules list or does this just work off paypal payments standard??? What I found was in the install package there was paypal_i.php and paypal_ipn.php. When installed as is the errors would show up. but if I renamed the paypal_i.php to paypal_ipn.php it would disappear. Both before and after I did the name change paypal ipn wouldn't show up on the payments module page so I could install it like the 'README' states. One thing I'm not sure on is in step 2 it said to "Make any changes you need to the language level files. " What changes have to be made???
  14. cfisupply

    Error when installing Paypal IPN

    Ok So should I rename the paypal_i.php to paypal_ipn.php or whick file should be edited - Sorry new to php. Also I'm not sure what you mean about the fatal error. As far as I can remember I haven't changed the names of any files, only added a few addons.
  15. cfisupply

    Advanced Purchase Tickets for Events

    I've been working on editing and changing the gift voucher addon which will hopefully be what I need. Does any one know how to make the Gift voucher worth nothing? eg purchased for $5 but there is no store value. If anyone else is interested in this addon or has any other ideas or help, it would be appreciated
  16. Hi all, I was hoping to find a contrib that would allow customers/guests to purchase tickets for an event, such as a concert or dinner, and pay for them via paypal or any other method accepted. This contrib would generate a ticket id # and place this id and maybe some other information about the customer on a html based template. Hopefully there would be a way to keep a list of these tickets so that the ticket number can be crossed out at the event when it is used (this would help to minimize the chance of guests photocopying the coupon to get in free). Any Ideas or help would be appreciated.
  17. cfisupply

    Seperate Pricing Per Customer v3.5

    Hey all. I installed the SPPC addon and was in the process of testing it, along with a couple of other addons. I had the store live and someone placed an order. When I go to view the order I get the following error. 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' products_warehouse_location orders_products where orders_id = '2'' at line 1 select orders_products_id, products_name, products_model, products_price, products_tax, products_quantity, final_price from, products_warehouse_location orders_products where orders_id = '2' [TEP STOP} Anyone got an idea. Thanks in advanced.
  18. cfisupply

    Advanced Purchase Tickets for events

    Maybe it would be possible to change the gift certificate / gift voucher contrib to fit this purpose. The contrib I need would be like buying a $5.00 Gift Voucher, but this voucher would have no redemption value in the store. Any Ideas or help is appreciated.
  19. Hi all, I was hoping to find a contrib that would allow customers/guests to purchase tickets for an event, such as a concert or dinner, and pay for them via paypal or any other method accepted. This contrib would generate a ticket id # and place this id and maybe some other information about the customer on a html based template. Hopefully there would be a way to keep a list of these tickets so that the ticket number can be crossed out at the event when it is used (this would help to minimize the chance of photocopying the coupon to get in free). Any Ideas or help would be appreciated.
  20. cfisupply

    Advanced Purchase Tickets for Events

    Still hoping for an advanced Purchase ticket contrib. Anyone have ideas??
  21. cfisupply

    Advanced Purchase Tickets for Events

    Anyone have any ideas. I thought maybe a copy of the Gift Voucher / Gift Certificate contrib could be changed to fit this purpose. The contrib would be like buying a gft certificate that costs, say $5.00, but has no value in the online store. Is there a way that this could be accomplished. Any help is greatly appreciated.
  22. Hey, I am wondering if the Gift Voucher part if this contrib would work for advanced purchase tickets. I'm interested in a contrib that would create a coupon/voucher code and place this code into a standard template. This voucher would cost $5.00, for example, but have NO value in the online store. This voucher would be printed off and used in person when attending a particular event. The mysql table could then be printed to cross match the use of the vouchers, this will (hopefully) prevent the use of photo copied vouchers. Any Ideas or references to other contrib's would be appreciated.
  23. cfisupply

    Discount Coupon Contrib Error

    Hi, I can't exactly help you with your problem, but I can offer how I discovered a few errors with woking with scripting. It was all 'trial and error'. I copied the file into Notepad, my text editor. If you have problems with square boxes instead of line feeds and you have microsoft word, you can copy the text into word, then copy back into notepad. Word should change the boxes into line feeds. After I got a clean copy I would to to the specified problem line, in your case #42, then delete an empty line above that line, save as php and upload to the server, note the error line number again. If it now says line 41, the your problem is below that line. If it still says 42, the it is above this line. I always replaced the empty lines and progressed through the page unitll I found the bad line. Then it was fairly easy to figure out what was wrong. The one main thing I have found with this script, is even though the error shows up on line #42, doesn't mean that (by line counting) that's where it is. The problem may be on line 45 or 50 ect. I know this may take ahile but it worked for me. Hope It Helps.
  24. cfisupply

    Printer Friendly Version

    Here is the printer script that I am using. All Credit goes to the origional creator. I only added a couple of function links at the bottom. <? header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modifieed: ". gmdate("D, d M Y H:i:s"). " GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Cache-Control: post-check=0,pre-check=0"); header("Cache-Control: max-age=0"); header("Pragma: no-cache"); /* || Takes the referrer document, only prints the content || works only with documents on the same server. good enough :-) || Vattekkat Satheesh Babu (vsbabu-removethis@vsbabu.org). || || I put an HTML comment called "document_starts_here" before || content starts and another one "document_ends_here" after || the content. If you have been following some standard like || that, it could be useful. || || Installation instructions || 1. Copy paste the code here to your favourite editor, and save it as some php3 file || 2. The file name doesn't matter. I call it printit.php3 || 3. From your other web pages make a link to printit.php3 || 4. Test it out by clicking on the links in those pages || */ if ($HTTP_REFERER) $myURL = $HTTP_REFERER; else $myURL = "<!-- YOUR URL HERE -->"; // here is the starting comment for your content $START_CONT="<!-- document_starts_here -->"; // here is the ending comment for your content $END_CONT = "<!-- document_ends_here -->"; $parsed_url = parse_url($myURL); $myServer = $parsed_url['host']; $document = $parsed_url['path']; if($document[strlen($document)-1]=='/') $document = "$document/index.html"; $base_url = dirname($document); $fp=fsockopen($myServer,80,&$errno,&$errstr,30); // if you've name based virtual hosting $request = "GET $document HTTP/1.1\r\n"; $request .= "Host: $myServer\r\n\r\n"; /* if you've normal old type servers, comment out the previous two lines and use the next line instead */ //$request = "GET $document HTTP/1.0\r\n\r\n"; if(!$fp) { echo "$errstr ($errno)<br>\n"; } else { fputs($fp,$request); $content=0; $in_title=0; ?> <HTML> <HEAD> <BASE HREF="<? echo "http://$myServer$base_url/"; ?>"> <STYLE TYPE="TEXT/CSS"> <!-- body,p { background: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; margin-left: 5px; margin-top: 5px; margin-right: 5px; margin-bottom: 5px; color: #000000; text-align: justify; } TH.headerrow { background-color: #CDC8B1; font-family: verdana,courier; font-size: 10pt; color: black; } TD.datarow { font-family: verdana,courier; font-size: 10pt; color: black; } //--> </STYLE> <? while(!feof($fp)) { $line=fgets($fp,4096); // this is the stupid part - get the title // python makes this so easy :-) if(eregi("<title>",$line)){ $in_title=1; } if ($in_title==1) $title.=$line; if(eregi("</title>",$line)){ $in_title=0; if(!eregi("<title>",$line)) $title.=$line; } if(ereg($START_CONT,$line)) { $title = eregi_replace("</title>","",eregi_replace("<title>","",$title)); echo "<TITLE>$title</TITLE>\n</HEAD>\n<BODY>\n"; $content=1; } if(ereg($END_CONT,$line)) $content=0; if($content==1)echo $line; } fclose($fp); ?> <HR> <CENTER> <SMALL>Copyright © <U><!-- YOUR COMPANY / ORGANIZATION NAME HERE --></U>. All rights reserved.</SMALL><BR> <?echo "<A HREF=\"$myURL\"><SMALL><I>$myURL</I></SMALL></A>\n";?><br /> <a href="java script:history.go(-1)">Back</a> <a href="java script:window.print()">Click to Print This Page</a> </CENTER> </BODY> </HTML> <? } ?> What I need is to correctly place the two comment tags: to indicate what I want the script to print. Any Ideas???
  25. cfisupply

    Seperate Pricing Per Customer v3.5

    HI, Just wondering if there was some way to give certain customer groups a percentage discount based on category. Eg. Wholesale customers would receive 10% off 'Category 1', a 5% discount on 'Category 2' and no discount on 'Category 3'. Retail customers would receive no discount. Just wondering.
×