Easy X-Cart shopping cart integration

  • Standard Checkout
    Process credit cards for your store using 2Checkout’s Standard Hosted Checkout
  • Inline Checkout
  • Payment API
  • Recurring Payments
    Accept recurring payments when you use 2Checkout with About X-Cart.
  • Plugin Reqired

How to integrate X-Cart with 2Checkout

X-Cart Settings:

  1. Sign in to your X-Cart admin
  2. Under Administration menu select Payment Methods
  3. Under Payment Gateways select 2Checkout from the drop-down list and click the Add button.

    Please Note: If you set up a payment method providing online credit card payment processing and do not intend to process credit card payments manually, you should disable the default “Credit Card” payment method, that requires manual payment processing, by unselecting the check-box next to the payment method’s name. Additionally, you can change the default “Credit Card” payment method’s name to “Credit Card (offline)”, and change the online payment method’s name to “Credit Card”. This will help you to avoid any confusion between these two payment methods. The $store_cc variable in the config.php file must be set to false in case you disable the default ‘Credit Card’ payment method and do not intend to process credit card payments manually.

  4. Enter your 2Checkout Account Number
  5. Enter your Secret Word (Must be the same value entered on your 2Checkout Site Management page.)
  6. Under Purchase Routine select either single-page or multi-page
  7. (Optional) Under Order Prefix enter a prefix that will be automatically added to IDs of orders placed in your store and paid through 2Checkout
  8. Click Update

2Checkout Settings:

  1. Sign in to your 2Checkout account
  2. Click the Account tab and Site Management subcategory
  3. Under Direct Return select the “Direct Return” setting
  4. Set the Approved URL to http://www.yoursite.com/xcart/payment/cc_2conew.php

    (Replace http://www.yoursite.com/xcart with the actual URL to your store.)

  5. Enter your Secret Word (Must be the same value entered in your X-Cart admin.)
  6. Click Save Changes

For more information visit: X-Cart.com

Get Started

About X-Cart

X-Cart is highly-customizable, template-based PHP + MySQL shopping cart software. The software can be used both as a ready out-of-the-box shopping cart solution and as a powerful PHP shopping cart engine for a customized web shop.