How to integrate WHMCS with 2Checkout

Standard Checkout
Process credit cards for your store using 2Checkout's Hosted Checkout.
Inline Checkout
Payment API
Recurring Payments
Plugin Required

WHMCS Settings:

  1. Sign in to your WHMCS admin
  2. Navigate to the payment gateway configuration page and enable 2Checkout
  3. Enter your Seller ID (2Checkout Account Number)
  4. Enter your Secret Word (Must be the same value entered on your 2Checkout Site Management page)
  5. Enter your API username and password (additional user that you setup in your 2Checkout account. API username will require both “API Access” and “API Updating” permissions. Instructions for creating API-only usernames can be reviewed at the following URL: http://help.2checkout.com/articles/FAQ/How-to-create-an-API-only-Username
  6. Disable the “Add Funds” option. Navigate to Setup > General Settings > Credit and un-tick the “Enable” box.

2Checkout Settings:

  1. Sign in to your 2Checkout account.
  2. Navigate to DashboardIntegrationsWebhooks & API Section
  3. Activate Redirect URL: In the Redirect URL section check “Enable return after sale” and for Return method, select Link in the Thank You Page or Redirect Header. Set the Approved URL to http://www.yourdomain.com/whmcs/modu.../2checkout.php (Replace http://yourdomain.com with the actual URL to your domain) and, finally, click Save Settings.
  4. In the Secret Word section enter the Buy Link Secret Word (it must be the same value entered in your WHCMS admin).
  5. In the Webhooks and API section, under the Instant Notification Service (INS) card, check the Enable Global URL box.
  6. Enter the http://www.yourdomain.com/whmcs/modu...llback/tco.php as the global endpoint URL.
  7. Save your changes

For more information visit: WHMCS.com

About WHMCS

WHMCS is an all-in-one client management, billing & support solution for online businesses. Handling everything from signup to termination, WHMCS is a powerful business automation tool that puts you firmly in control.

Simplify the eCommerce process. Try 2Checkout.
The most flexible digital commerce platform that can give your business a real boost.