Tag Archives: e-commerce

Cardsave error “transaction date/time expired”

If you are using CardSave (UK Version) and you come across the following error:

This transaction cannot be processed. It was rejected because the passed transaction date/time has expired. Please press “Back” in your browser and resubmit the transaction.”

It’s caused by your server providing a different timezone to your CardSave Gateway. You need to setup your server/script time zone to UTC.  In PHP you can do this by simply adding this line to your script:  date_default_timezone_set(‘UTC’);

For example, I was having a problem with the Cardsave(hosted) payment extension for OpenCart.  If you are having the same problem do this:

  1. Open the file /catalog/controler/payment/cardsave_hosted.php
  2. Find this line  $this->data['fields']['TransactionDateTime'] = (date(“Y-m-d H:i:s”).  ‘ +00:00′);  (line 305 I think)
  3. Just before that line add this :  date_default_timezone_set(‘UTC’); 
  4. Upload file to server and you are sorted.

Technorati Tags: , , , , , ,

Opencart simple and great e-commerce system

For a long time I have been very frustrated with e-commerce systems, from my self built one all the way to Magento. That was until I came across OpenCart. It’s a great system, easy to use and to develop for. Installation takes 5 minutes, it has all the modules you need to run a successful e-commerce site straight out of the .zip.  I nicknamed it the “WordPress of e-commerce”!  Have a look for yourself at the Opencart demonstration page.

OpenCart features:

  • Open Source
  • Documentation
  • Unlimited Categories
  • Unlimited Products
  • Unlimited Manufacturers
  • Templatable
  • Multi-Language
  • Multi-Currency
  • Product Reviews
  • Product Ratings
  • Downloadable Products
  • Automatic Image Resizing
  • Multiple Tax Rates
  • Related Products
  • Unlimited Information Pages
  • Shipping Weight Calculation
  • Discount Coupon System
  • Search Engine Optimization (SEO)
  • Module System
  • Backup & Restore Tools
  • Printable Invoices
  • Sales Reports

Technorati Tags: , , , ,