How to integrate WooCommerce with 2Checkout

Standard 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

Inline Checkout

WooCommerce provides a payment module that integrates with our Inline Checkout. Please visit the WooCommerce Documentation for integration instructions.

Payment API

WooCommerce Settings:
  1. Download or clone the extension from Github.
  2. Copy the ‘twocheckout’ folder to your WordPress ‘plugins’ directory under ‘/wp-content/plugins’.
  3. In your WordPress admin, navigate to Plugins and install the 2Checkout Payment Gateway plugin.
  4. Navigate to your WooCommerce settings page, click on Payment Gateways and click the Twocheckout link.
  5. Check to enable.
  6. Enter the payment title and description.
  7. Enter your Seller ID (2Checkout Account Number).
  8. Enter your 2Checkout API publishable key.
  9. Enter your 2Checkout API private key.
  10. Click Save Changes.

Important note: The API keys can be found in your 2Checkout account’s dashboard under the API tab.

PayPal Direct

WooCommerce Settings:
  1. Download or clone the extension from Github.
  2. Copy the ‘twocheckoutpp’ folder to your WordPress plugins directory under ‘/wp-content/plugins’.
  3. In your WordPress admin, navigate to Plugins and install the 2Checkout PayPal Direct Gateway plugin.
  4. Navigate to your WooCommerce settings page, click on Payment Gateways and click the Twocheckoutpp link.
  5. Check to enable.
  6. Enter the payment title and description.
  7. Enter your Seller ID (2Checkout Account Number).
  8. Enter your Secret Word (Must be the same value entered on your 2Checkout Site Management page.)
  9. Click Save Changes.
  10. Save your changes.

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”, set the Approved URL to your WooCommerce URL, and for the Return method, select Header Redirect. Finally, click on Update to save your settings.
  4. In the Secret Word section enter the Buy Link Secret Word (it must be the same value entered in your WooCommerce admin).

For more information visit: woothemes.com/woocommerce.

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.