About VirtueMart

VirtueMart is an open source shopping cart solution that integrates with Joomla!. Joomla! and VirtueMart are written in PHP and can be used in typical PHP/MySQL environments.

How to integrate VirtueMart with 2Checkout

VirtueMart version 2.0.x Settings:

  1. Download the 2Checkout payment module at https://github.com/craigchristenson/2CO_VirtueMart2
  2. Upload the files to your Joomla directory on your web server.
  3. Run the vm2_tco.sql file on your Joomla database. If your database makes use of prefixes on the tables, replace ##### with your prefix. (Joomla 1.6, 1.7, or 2.5)
  4. Under Shop -> Payment methods, click New.
  5. Enter Payment Name.
  6. Select Yes for Published.
  7. Enter Payment Description. Example: Credit Card (Visa, MasterCard, American Express, Discover, JCB, Diners Club, PIN Debit) and PayPal
  8. Click Save.
  9. Click Configuration.
  10. Enter your 2Checkout Seller ID. (2Checkout Account Number)
  11. Enter your 2Checkout Secret Word. (Must be the same value entered on your 2Checkout Site Management page.)
  12. For demo sales set Sandbox to “Yes”. For live sales keep Sandbox at “No”.
  13. Click Save.


2Checkout Settings:

  1. Sign in to your 2Checkout account.
  2. Click the Account tab and Site Management subcategory.
  3. Under Direct Return select Header Redirect
  4. Enter your Secret Word (Must be the same value entered in your VirtueMart admin.)
  5. Click Save Changes


VirtueMart version 1.1.4 – 1.1.9 Settings:

  1. Get 2Checkout Contributed Payment Extension at https://github.com/craigchristenson/VirtueMart-2Checkout
  2. Upload all the content inside the included VirtueMart-2Checkout folder to the root where your Joomla site is located on your hosting/server.
  3. Go into your VirtueMart component admin area
  4. Click List Payment Methods.
  5. Select 2Checkout.
  6. Click Configuration.
  7. Fill out your Seller ID and Secret Word. (Must be the same value entered in your 2Checkout admin.)
  8. It is EXTREMELY IMPORTANT that you copy all of 2Checkout_Payment_Extra_Info.txt over what is entered in the Payment Extra Info section on this page, otherwise the payment method will not work.
  9. Click Save


2Checkout Settings:

  1. Sign in to your 2Checkout account.
  2. Click the Account tab and Site Management subcategory.
  3. Under Direct Return select Header Redirect
  4. Enter your Secret Word (Must be the same value entered in your VirtueMart admin.)
  5. Click Save Changes


For more information visit: VirtueMart.net


Having trouble with these cart instructions? If you are having issues with these shopping cart instructions, or realize they are out of date, please email us at techsupport@2co.com and we will look into it for you.