How to integrate WooCommerce with 2Checkout

Standard Checkout
Process credit cards for your store using 2Checkout's Hosted Checkout.
Inline Checkout
Streamline your payment process by using 2Checkout's Inline Checkout.
Payment API
Integrate our checkout into your website using 2Checkout's API.
Recurring Payments
Plugin Required

2Checkout and WooCommerce Plugin Configuration

WooCommerce Settings:

  1. Download or clone the extension from Github.
  2. After downloading the .zip archive, open it and extract the folders twocheckout-convert-plus, twocheckout-inline, and twocheckout. Archive these folders separately as a .zip file.
  3. Copy the folder to your WordPress 'plugins’ directory under '/wp-content/plugins'.
  4. Log in to your WordPress admin, navigate to Plugins and click on Add new.
  5. On the Add plugins page, click on Upload plugin, then hit Choose File and click on Install Now.
  6. On the Plugins page activate the modules for ConvertPlus, InLine cart, and 2Pay.js by checking the boxes and clicking on the Apply button.
  7. Go back to the Dashboard, scroll down to WooCommerce, and click on Settings.
  8. Under WooCommerce - Settings, click on the Payments tab.
  9. Enable all three modules and then click on Set up to configure each module. See here how you can configure each module
  10. Click Save Changes.

2Checkout Settings:

  1. Sign in to your 2Checkout account.
  2. Navigate to DashboardIntegrationsWebhooks & API Section
  3. Follow these steps to activate Redirect URL:
    1. In the Redirect URL section check "Enable return after sale"
    2. For Redirect URL section, set the Approved URL to your WooCommerce URL
    3. For Return method, select Header Redirect
  4. Click Update to save your settings.
  5. Make sure to enable the IPN webhook notification in your Merchant Control Panel.
    1. Log in to the 2Checkout Merchant Control Panel and navigate to IntegrationsWebhooks & API
    2. Scroll down to the Notifications section and enable the IPN webhook
    3. Foor the Payment notification type field, select IPN or Email Text & IPN, and then click on the Configure IPN button.
    4. On the IPN settings page, click on the Add IPN URL button and input the IPN URL available in the configuration page in WooCommerce.
    5. Enable all triggers and response tags

For more information visit: woothemes.com/woocommerce and our WooCommerce Configuration guide.

WooCommerce

WooCommerce is the most popular WordPress eCommerce plugin. And it’s available for free. Packed full of features, perfectly integrated into your self-hosted WordPress website.

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