Skip to main content
knowledgecenter.avangate.com

Integrate WHMCS with 2Checkout

WHMCS Settings

Perform the below set of instructions in your WHMCS account to integrate it with 2Checkout.

  1. Sign in to your WHMCS admin
  2. Navigate to the payment gateway configuration page and enable 2Checkout
  3. Enter your 2Checkout Account Number (SID)
  4. Enter your Secret Word (Must be the same value entered in your 2Checkout Control Panel)
  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. Check this article to learn how to create API roles.
  6. Disable the “Add Funds” option. Navigate to Setup > General Settings > Credit and un-tick the “Enable” box.

2Checkout Settings

Follow the below instructions in your 2Checkout Control Panel to finalize the WHMCS integration process.

  1. Sign in to your 2Checkout account
  2. Under Return Method select Header Redirect
  3. Under Direct Return select Link in the Thank You Page
  4. Set the Approved URL to http://www.yourdomain.com/whmcs/modu.../2checkout.php (Replace http://yourdomain.com with the actual URL to your domain)
  5. Enter your Secret Word (Must be the same value entered in your WHMCS admin)
  6. Click Save Changes
  7. Click the Webhooks tab
  8. Enable all triggers
  9. Enter http://www.yourdomain.com/whmcs/modu...llback/tco.php as the global enpoint URL and apply (Replace http://yourdomain.com with the actual URL to your domain)
  10. Save your changes

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.

For more information visit: WHMCS.com