Skip to main content
knowledgecenter.2checkout.com

Integrate WooCommerce

Availability

WooCommerce integration is available only for 2Checkout accounts that handle their own tax and invoice management. Contact 2Checkout for additional information.

Inline Checkout

WooCommerce provides a payment module that integrates with our Inline Checkout. 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 in your 2Checkout Account Number (SID)
  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 Control Panel, in the System Settings area.

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 Gatewayplugin.
  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 in your 2Checkout Account Number (SID)
  8. Enter your Secret Word (Must be the same value entered in your 2Checkout Control Panel.)
  9. Click Save Changes.
  10. Save your changes.

2Checkout Settings

  1. Sign in to your 2Checkout account.
  2. Navigate to Dashboard → Integrations → Webhooks & API section
  3. Follow these steps to activate Redirect URL:
    • In the Redirect URL section check “Enable return after sale”
    • For Redirect URL section, set the Approved URL to your WooCommerce URL
    • For Return method, select Header Redirect
    • Click Update to save your settings
  4. In the Secret Word section enter the INS secret word (it must be the same value entered in your WooCommerce admin). The INS secret word can be found in Webhooks & API, Secret Word section.

For more information visit: woothemes.com/woocommerce.

About 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.

  • Was this article helpful?