How to install / integrate VirtueMart with 2Checkout (2CO_VirtueMart2) in Joomla???
Firstly to start off with, 2checkout is a payment receiving and sending method similar to paypal but enables us to receive money from for countries (such as Sri Lanka) which paypal does not allow to receive money
Following are the steps to install and configure 2checkout. (Virtumart has to be installed prior to doing the following)
- Download the 2Checkout payment module at https://github.com/craigchristenson/2CO_VirtueMart2 (VirtueMart version 2.0.x Settings)
- Extract the downloaded folder to your PC. You will find the following 4 items in the folder
- Go to the following path in the above folder. administrator\language\en-GB and copy the two files in the folder
- Go to (FTP) your joomla website folder / host and scroll to the following path. /joomla/administrator/language/en-GB and paste or upload the copied files.
- Again do the same to the items in the plugins folder. Go to plugins\vmpayment\ and copy the tco folder
- Go to (FTP) your joomla website folder / host and scroll to the following path. /joomla/plugins/vmpayment and past or upload the tco folder
- Run the vm2_tco.sql file on your Joomla database. If your database makes use of prefixes on the tables, replace ##### with your prefix. (You can do this by opening the opening the sql file by using notepad. To get the prefix of your db go to your joomla site backend site->global configuration, and open the server tab. There you will find a section with database settings where the Database Tables Prefix is given)
- Now go to components -> virtumart
- Under Shop -> Payment methods, click New.
- Enter Payment Name.
- Select Yes for Published.
- Enter Payment Description. Example: Credit Card (Visa, MasterCard, American Express, Discover, JCB, Diners Club, PIN Debit) and PayPal
- Click Save.
- Click Configuration.
- Enter your 2Checkout Seller ID. (2Checkout Account Number)
- Enter your 2Checkout Secret Word. (Must be the same value entered on your 2Checkout Site Management page.)
- For demo sales set Sandbox to “Yes”. For live sales keep Sandbox at “No”.
- Click Save.