Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Kenja

Pioneers
  • Posts

    73
  • Joined

  • Last visited

Everything posted by Kenja

  1. I've installed the contribution on one of my sites and overall I think it's pretty slick. However, I do have one issue. I've noticed the log file and the reference file in several places now on my server. It appears those files are generated based on where the command is run from or something. In my case, I found copies in the catalog directory, the admin directory, and the directory where my cron script is located. Having those files in the catalog directory is a problem because it exposes the full directory structure and script names of my entire site in a public way. I'm not sure what I did to get the files to show up there, but the script should be modified so that the files are always stored in the admin directory where they can be protected. Also, the reference file is a php file, but if you load it in your browser, it displays the contents of the file. It may as well be a text file if you're going to do it that way... The contents of that file should probably be contained inside php tags so that the information is there, but not accessible directly from the browser. It is possible I've configured my site incorrectly, so maybe this is mute point, but if not, it would be nice to figure out how to solve these issues, as the contribution could potentially make the site less secure.
  2. We're looking at creating customized packages of products for our customers. We'd like the ability to group multiple products into a "package" with it's own price. However, when the package gets added to the cart, I want it to add the individual products and apply a "package discount" to the order. Does anything like this exist? I thought I saw something like this a couple years ago, but can't seem to find it again.
  3. I took a look at Costco's merchant offering and it looks pretty good. Here is what they quoted me: 1.99% + $0.27 for qualified cards 3.51% + $0.31 for non-qualified cards (foreign, gov't, corporate) If you sign up for a costco executive membership, the $4.95 monthly billing fee is waived and the $25 application fee is waived. They make you sign a 2yr agreement and it costs $95 to terminate early. They also require a $20 minimum monthly volume. It's the best I've come across so far and it is a reputable name.
  4. I installed the contribution and am shocked at how the contribution handles adding and deleting pages. I was debugging the contribution in Zend Studio and I kept getting all these "file was modified outside this program" messages. After playing with it for a while and accidentally corrupting the header_tags_controller.php catalog includes file, I figured out what was going on. Each time you add or delete a new file in admin the HTC code actually cuts and pastes code out of the php file. No offense, but isn't this the perfect job for a database table? There is no need to have the server editing php files behind the scenes to account for dynamic content. Just add a new table to the database and store the filenames there instead. I wasn't planning on dedicating time to this contribution other than installing it, but I feel inclined to fix that now. I use my php files across two sites and besides not wanting to have scripts modifying my files in general, I need the files to apply to multiple sites. I also store my php files in SVN, so any changes I make on the live site would be overwritten each time I checked in an update.
  5. Ok. I finally dug into the class and figured out why it wasn't working. Hopefully this will help other unsuspecting installers avoid the nightmare I've been through. If your website is on a shared server and you use PHP CGIwrap this contribution will not work out of the box. The stock redirect functions inside the SEO class generate a $this->parsed_uri['path'] that is nonsensical - i.e. "php4.cgi" instead of "index.php?cPath=34" That path is then compared to the page names managed under the seo contribution and when it doesn't match, the redirect doesn't happen. I ended up hacking it to get it working. Also, the check_seo_page function expects a definition for SEO_URLS, but it is not defined anywhere. Instead of defining it, I just did an if(0) to get around it. Below are the new versions of the functions. function check_seo_page(){ if(0){ //originally was if(!defined( SEO_URLS )) $this->is_seopage = false; //echo "not defined"; //went here. SEO_URLS is not defined }else{ if($this->attributes['SEO_ENABLED'] == 'false'){ $this->is_seopage = false; }else{ if(!in_array($this->uri_parsed['path'], $this->attributes['SEO_PAGES'])){ $this->is_seopage = false; }else{ $this->is_seopage = true; } } } } # end function check_seo_page function check_redirect(){ $this->need_redirect = false; $this->path_info = ltrim(getenv('PATH_INFO'), '/'); $this->uri = ltrim( $_SERVER['REQUEST_URI'], '/' ); $this->real_uri = ltrim( $_SERVER['SCRIPT_NAME'] . '?' . $_SERVER['QUERY_STRING'], '/' ); //generates: cgi-sys/php-cgiwrap/whiteman/php4.cgi?products_id=29 if(strlen($this->path_info) > 0){ //was originally: $this->uri_parsed=parse_url(basename($_SERVER['SCRIPT_NAME']) . '?' . $this->parse_path($this->path_info) ); //generates: php4.cgi?product_info.php which doesn't work $this->uri_parsed=parse_url(basename($_SERVER['REQUEST_URI'])); // generates: product_info.php?products_id=29 which does work... }else{ $this->uri_parsed=parse_url(basename($_SERVER['REQUEST_URI'])); } $this->need_redirect(); $this->check_seo_page(); if ( $this->need_redirect && $this->is_seopage && $this->attributes['USE_SEO_REDIRECT'] == 'true') { $this->do_redirect(); } } # end function
  6. Have you noticed that nobody has replied? Get used to it. If you're looking for support, you are in the wrong forum. This one is only for asking unanswered questions. Lots of them. At least that is what I've found after asking four of them myself without any response what-so-ever. If anyone does find a place where people do offer support for this contrib, let me know, because I could use some, too. Even if it is paid support... Whoever banned Chemo from this forum should be forced to support this damn thing. Way to go dude.
  7. I made the mistake of installing this on a live store. I have not been able to get it to work. I installed 2.1c and the urls were working, but I couldn't get redirects to work properly despite hours upon hours of searching and testing. After two weeks of google seeing my duplicate pages, I finally upgraded to 2.1d off of Chemo's website and now I get "file not found" for every URL in my web directory except for index.php. If I put the rewrite code in the .htaccess code I get internal server errors on every page because the urls aren't there. Needless to say, I am a very unhappy camper. I would like nothing more than to remove this from my website and forget that it ever happened. Does anyone know how to do that? Chemo's wiz-bang installer seems like a great idea until it totally hoses your website and you want to extract it. This is also one of the most popular AND least supported contribs I have ever installed. There are 5x as many questions as there are answers in this forum. If anyone is thinking about installing this I would recommend against it unless you have a couple weeks to futz around with it. I asked three reasonable questions and got exactly zero answers.
  8. I wanted an admin payment module to accompany the Manual Orders contribution but couldn't find one. I finally just wrote it myself. This allows you to have an employee charge a customer without giving them full access to your authorize.net account. It also saves a lot of typing even if you're the one that manually running cards through the authorize.net web terminal. It is a quick and dirty implementation based on code from the Authorize.net module. When I say "quick and dirty", I mean that I didn't internationalize it. I hardcoded in english, US$ currency. It would be easy to adapt to any locale, though. Basically, the module allows you to enter the order number, the CC info, the amount, a description of the purchase, and click "process". The module sends the transaction to Authorize. The results of the transaction are shown on the screen after the card is processed.
  9. Sorry pressed reply by accident. Should now read: case 'deleteconfirm': if ($PHP_AUTH_USER==admin) { $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); tep_remove_order($oID, $HTTP_POST_VARS['restock']); tep_redirect(tep_href_link(FILENAME_ORDERS,tep_get_all_get_params(array('oID', 'action')))); } break;
  10. Find: case 'deleteconfirm': in orders.php and add: if ($PHP_AUTH_USER==admin) { }
  11. Hi. This is my fourth post to this forum without a single response back. I guess I'm either asking dumb questions or people just don't have time anymore. I'm going to ask one more question and hope that someone out there is listening that can help. I installed the contribution and it appears that the automatic redirects do not seem to be working. I have "Enable automatic redirects?" set to true. Here's what I expect the contribution to do: If a user types in http://www.myurl.com/product_info.php?products_id=25 I expect the contribution to forward the link to the new SEO friendly URL. Instead it just goes to the url I typed in. My concern is that google has my old URL and will find duplicate content on my site if I don't get redirects working right.
  12. I investigated some more and the line that is causing the error is: echo '<a href="' . tep_href_link($HTTP_REFERRER, tep_get_all_get_params(array('sort', 'page')), 'NONSSL', true, false) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; If I replace $HTTP_REFERRER with index.php or any other valid page it seems to work okay. Any idea why Ultimate SEO URLs would cause problems with a server variable like that?
  13. I installed this contribution on my site and it seems to work okay except that I now get an "Unable to determine the page link!" error when I try to search for a product in the quick find window. I scanned the forum for a solution, but didn't find one. It finds the product okay, but the error seems to happen after the product is displayed. This problem didn't exist before I installed the contrib. Also, I have "use search-engine safe URLs" set to false in the My Store control panel. Any ideas?
  14. Does this kill your google rank when you install it? I assume all your hard earned positions in google will now all be pointing to the wrong place now, right? I have put a lot of work into optimizing my site and while I'd love to put this contrib on my site, I'm hesitant to start over from ground zero. If I did, it would cause a big problem with my business. Any advice from people in the know?
  15. I didn't find anything that existed already, so I wrote my own module. If anyone is interested it is called - Authorize.net Manual Payment Kenja
  16. That's exactly what we do for most of our manual orders. That said, we sometimes negotiate package pricing or shipping discounts and there is no good way to handle that through the store front. I agree about the hiring folks you can trust thing. There are plenty of ways an employee can skim off the top. I just don't want to give them enough info (banking info, personal info, etc) to be able to head off to Mexico with everything I've got. Since there doesn't seem to be anything out there I think I'll create a contribution that allows you to enter an order # and the customers CC info to charge for that order. I should be able to just copy the curl call from the Authorize.net contrib. Not a difficult thing to do. I'm just surprised nobody else has done it, yet. Was hoping for a quick fix.
  17. I have an employee that does a lot of manual orders on my site. I want to give him the ability to enter an order and charge the credit card. However, the only way I've found to do that is to use the Authorize.net Virtual Terminal. I can't give the guy the password because then he can do anything he wants with my account. I'm getting tired of having to run the cards and when I'm out of office, things come to a halt. Has anyone developed a mod for charging a credit card manually from within OSC? Thanks, Kenja
  18. I'm processing a lot of eBay orders by hand and am finding that we make quite a few errors in copying the info into OSC. Right now I'm using the Manual Orders contrib. I bought some golf clubs the other day where they had a custom checkout routine that brought me to their website and had me enter all my info there and process the payment (PayPal or their own credit processor). That seems like a great idea and I'd love to do it with my OSC store. That would take all the labor out of eBay orders and it might help me avoid some of the PayPal fees, too. Are there any contribs available? I looked and didn't find anything that seems to fit the bill. Thanks, Kenja
  19. Awesome contribution! Was going to write my own when I came across this one. Simple and very functional. It took me a while to figure out why $PHP_AUTH_USER wasn't working on my website. In case anyone is curious, it's because I'm running a CGIwrap version of PHP. That's probably why people are having troubles... If you run CGIwrap, you'll need to use the $_SERVER[REMOTE_USER] variable instead. Thanks! Ken
  20. Now that I'm hiring employees, I'd like to find a way to manually process orders through authorize without using the virtual terminal. Virtual terminal gives the user the ability to change the bank account info, user info, etc. I just want to give my employee the ability to create a manual order (custom pricing) and then submit it to Authorize. I realize refunds are a challenge, but it seems that submitting an existing order for payment would be quite doable. Does anyone have something like that?
  21. My business partner developed the coolest contrib. It basically adds a shipping calculator to the shopping cart. That way a customer can just enter their zip code and immediately see how much shipping will cost. We found we were losing a lot of customers before we added that because people didn't want to enter their information first. Anyway, here we are over a year later, my business parter is on to bigger and better things, and I am switching the site from a dedicated server over to pair networks. Everthing works fine except the shipping calculator... On the new server the shopping cart is emptied out when the zip code is entered into the calculator. I can't figure out why it is behaving differently. I've applied my limited php skills to it with no avail. If someone would be willing to help me fix it, I would gladly offer the calcuator as a OSC contrib so other users could benefit from it as well. I haven't found anything like it out there. Are there any OSC gurus out there the wouldn't mind taking a look? If so, email me at [email protected] and I'll send you all the details. Thanks, Ken
  22. I've seen this several times now. A customer will give me a valid card number an after entering it, I get an error message saying that a card starting with 4246 is either invalid or is not an accepted card type. I've verified with the customers that it is a Visa card and that the information I was given was correct. So far I just have them give me a different card number and it goes fine. Authorize.net is giving me the run-around saying I need to talk to my web developer... I think it is their problem, not ours, but I thought I'd check with y'all to see if anyone has any ideas. Thanks, Kenja
  23. I'm working with an affiliate who is concerned that their site will lead customers to ours, but that the customer will bookmark our page and come back later to make the purchase. Is there any provision to track where the customer first came from? In otherwords, is it tracked in a cookie or is there an easy way to resolve that loophole?
×
×
  • Create New...