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 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 in your 2Checkout Account Number (SID)
  8. Enter your Secret Word (Must be the same value entered in your 2Checkout Control Panel.) To obtain the Secret Word, contact 2Checkout or, if you already have a 2Checkout account, navigate to Control Panel: → Integrations → Webhooks & API → Secret Word → INS Secret word.
  9. Click Save 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

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?