Jump to content

Sam G

Members
  • Content count

    86
  • Joined

  • Last visited

Everything posted by Sam G

  1. This is the official support thread for Bad Robot Blocker. Description: The Bad Robot Blocker is a simple PHP script designed to trap bad robots and spiders from accessing your website. Bad robots and spiders will ignore anything in your robots.txt file and will attempt to access the directories/files listed in this file. All you need to do is add an entry to your robots.txt file pointing to the directory where the script file is, and once they attempt to access this directory, a message telling them they are banned in displayed in the form of a HTML page. What also happens is that the script will add an entry to your .htaccess file in the root directory of your website to deny access from their IP address, and also full details of the robot/spider are logged in a tab delimited file called botfile.txt which you can download via FTP and open in either a text editor or import into your favourite spreadsheet application. This script is very quick and easy to install, you only need to modify and upload two files. Contribution URL: http://addons.oscommerce.com/info/6303
  2. Thanks for people's feedback. I am working on a new revision to this script which will provide support for cURL (a lot of hosts will enable cURL but disable fopen), and make it easier to set up. I'll post the new version up when it's ready.
  3. It works 100% under Linux, and it works on Apache in Windows as this is what I use to test stuff locally on my MS Vista machine, but it's not been tested with IIS, I assume this is what your server uses?
  4. Sam G

    Barclays ePDQ querystring removal

    You do know that you need SSL on your server to use Barclaycard ePDQ, right? Assuming you DO have SSL, I have spotted the following wrong entries: error 1: define('HTTPS_SERVER', 'flowersbysallymay.co.uk'); // eg, https://localhost - should not be empty for productive servers change this to define('HTTPS_SERVER', 'https://flowersbysallymay.co.uk'); // eg, https://localhost - should not be empty for productive servers error 2: define('ENABLE_SSL', false); // secure webserver for checkout procedure? change this to define('ENABLE_SSL', true); // secure webserver for checkout procedure? error 3: define('HTTPS_COOKIE_PATH', ''); change this to define('HTTPS_COOKIE_PATH', '/catalog/');
  5. As Coopco said uninstall 2.6 and install 2.1D by FWR Media. Before you upload 2.1D to your web server, open the /catalog/includes/classes/seo.class.php file, search for this line: # end if ( $cache['cache_expires'] > date("Y-m-d H:i:s") ) Then comment the next 4 lines like so: //if ( $this->keep_in_memory || $local_memory ) { // if ($global) $this->data['GLOBAL'][$cache_name] = $container['GLOBAL'][$cache_name]; // else $this->data[$cache_name] = $container[$cache_name]; //} Those lines aren't needed and if you set the error level reporting high in PHP those 4 lines will come up with warnings in all of your pages if they aren't commented out/removed.
  6. v1.0.1 now available. Script is the same as v1.0, but with a more comprehensive/detailed README file.
  7. My bad, I had put the wrong index.php in the ZIP file. I have put the correct one in the ZIP file and uploaded the correct one now, sorry about that folks... It's been a long day...
  8. Thanks Adam, I'll give it a go!
  9. On USU 2.1D is there any way I can change the .html extension to something else (ideally, I'd like the files to not have an extension, so it looks like each page in the 'store' is a directory name if you see what I mean. For example: http://www.store.com/matrox-g200-p-1.html BECOMES http://www.store.com/matrox-g200-p-1/ Is this possible?
  10. Sam G

    barclays ePDQ not emptying shopping cart

    What information is incorrectly pre-populated?
  11. No it's not a bug, the contribution code for osCommerce and the integration documentation from Barclays don't mention anything about passing the cardholder's name in the encrypted field that's sent to ePDQ. Only information that gets passed is billing/delivery details, amount and currency etc.
  12. Sam G

    barclays ePDQ not emptying shopping cart

    Which ePDQ contribution are you using? I would recommend using this one - http://addons.oscommerce.com/info/4357 - latest version. :)
  13. I'm quite sure that the name field was never populated in the old ePDQ system.
  14. Sam G

    Welsh.php

    What's the point in that? If you want to contribute something (for free), then surely you should make it easily accessible for people - publicly.
  15. Sam G

    Wrong amounts passed to Barclaycard ePDQ

    Problem sorted (cheers Steve!). In case anyone else has this problem, this is how to sort it out: In catalog/includes/modules/payment/ePDQ.php go to line 382: $postparams["total"] = number_format($order->info['total'], $epdq_decimals, '.', ''); change that line to: $postparams["total"] = number_format(($order->info['currency_value'] * $order->info['total']), $epdq_decimals, '.', ''); I am using osCommerce 2.2 RC2a by the way. Hope this helps!
  16. I have successfully got this Barclaycard ePDQ Payment Module v1.08 to work with GBP transactions, and now my client wants to accept EUR and USD as well which is fine, however even though the correct amount is shown at checkout in whatever currency, for EUR and USD it shows completely different amounts at the Barclaycard screen to what was on the osC checkout screen! Any ideas? GBP is always correct at the Barclaycard end, so somehow osC/the ePDQ payment module is sending the wrong amount over for EUR and USD! Sam
  17. I had a similar problem when I first started using this module (customer returned to shopping cart after payment), basically it was because my 'store' was installed in a directory other than 'catalog', so I had to change a line of code in one of the files and it worked after that.
  18. Sam G

    Wrong amounts passed to Barclaycard ePDQ

    I did some further investigation, and basically the 'incorrect' EUR and USD amounts passed to ePDQ is actually the correct value for GBP! Examples of the same transaction in different currencies: GBP Transaction £11.14 - correct cart amount £11.14 - amount passed to ePDQ USD Transaction $21.76 - correct cart amount $11.14 - amount passed to ePDQ EUR Transaction €14.16 - correct cart amount €11.14 - amount passed to ePDQ
  19. Sam G

    Wrong amounts passed to Barclaycard ePDQ

    That is the module I am using. I am in contact with the developer (via email) as well but just wondered if anyone else had any experience of this problem.
  20. I sorted it out. Basically, I created a writeable directory on the server for the eurofxref-daily.xml file to be downloaded to, and also I had to hardcode in the exact path to this directory in 3 lines of code in that contribution. All working now! :)
  21. If I use the Auto Update Currency Exchange Rate contribution it works in that it updates the EUR and USD currencies, however I just noticed that if I try to look at a larger image of a product thumbnail I get all sorts of errors, but scrolling down shows the larger pic! Any ideas? URL to contrib is http://addons.oscommerce.com/info/5685
  22. Hi, I am in the process of setting up osCommerce for a client that wishes to use Barclays ePDQ as their payment processing system. You will have to bear with me if some of my questions seem a bit dumb to you as this is the first time I set up osCommerce and ePDQ before simultaneously! I have set it up and the contrib is sending all the payment amount/address details etc. correctly as expected, however there are a few things I am unsure about, and was wondering if someone could point me in the right direction? - When the payment is completed successfully, the end user is returned to shopping_cart.php (they seem to be redirected from checkout_process.php), is there a way I can redirect them to a 'thank you for your order' type page instead? - On the configuration options for the module, I have set up EPDQ Pay Pending as "Pending", Pay Success as "Processing", and Pay Failed as "Pending", however when the above successful transaction was completed, in the "Orders" section under the Customers admin tool in osCommerce, it has the status as "Pending"? Are my above settings correct? Cheers, Sam
  23. Sam G

    Barclaycard ePDQ Payment Module v1.08

    In that case I would suggest you post up your own new thread about the query you have, as you are more likely to get a reply than in here (as really your question does not have anything to do with my thread as such).
  24. Sam G

    Barclaycard ePDQ Payment Module v1.08

    By default osCommerce has three order status options - Pending, Processing, and Delivered. You can add a new one for "Payment Completed" by going to Localization, and then Orders Status in the osCommerce admin tool. Assuming you are using the ePDQ contribution that I am using, you can then go into the settings for that in the Modules sections and change the "Pay Success" field to the new "Payment Completed" option that you just added.
×