Thursday, November 5, 2015

How to put Cs-Cart store offline or maintenance mode ?

Many times we need to put our CS-Cart store offline for maintenance or upgrade work. CS - Cart by default provides option to close store for admin.

It asks to enter access_key to enter when we select option to close store. That key admin user can use to access public store.  So only user knows that key can access store when it is closed.

To close CS-Cart store for public follow below steps -

iTransact payment gateway integration with php


iTransact is a 20 year old, full service payment processing company powered by the largest processors on the planet servicing millions, while at the same time providing personal, world-class customer support and assistance. iTransact’s end-to-end merchant solutions include mobile, internet, as well as traditional retail services from virtually any legitimate industry within the United States. Other offerings include custom gateway services with access to a virtual terminal, recurring billing, all types of equipment and point of sale solutions, Applepay, EMV, electronic check and ACH services, and much more.

For more details click here - http://itransact.com

In this tutorial we will learn how to integrate  PHP application with iTransact payment gateway.

Wednesday, November 4, 2015

How to create Virtual Host on Ubuntu Apache ?

Step 1: Create First Virtual Host

In Apache on Ubuntu all the virtual host configuration files are stored under /etc/apache2/sites-available directory.
Create a new Virtual Host configuration file by copying default file.
By using following linux terminal command.

cp /etc/apache2/sites-available/default /etc/apache2/sites-available/site1.example.com

Configure SMTP on Xampp


Step 1 – Open php.ini
Add below lines under [mail function]
smtp_port=587
sendmail_from =youremail@domain.com
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"