Skip to main content
knowledgecenter.2checkout.com

Integrate WP e-Commerce

Availability

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

WP e-Commerce Settings:

  1. Download or clone the 2Checkout payment module at https://github.com/craigchristenson/2checkout-wp-e-commerce.git
  2. Upload the ‘wpec-twocheckout-hosted’ directory to “/wp-content/plugins/” on your web server and activate the ‘2Checkout Payment Gateway for WP e-Commerce ’ plugin.
  3. In your Wordpress admin select Settings -> Store to open your WP e-Commerce settings.
  4. Under Payment click Settings under 2Checkout.
  5. Enter Display Name. Example: Credit Card (Visa, MasterCard, American Express, Discover, JCB, Diners Club, PIN Debit) and PayPal
  6. Enter your 2Checkout Merchant Code.
  7. Enter your 2Checkout Secret Word. (Must be the same value entered on 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.
  8. Select the language you want the 2Checkout purchase routine to be in.
  9. Select ‘Production’ for live mode or ‘Sandbox’ for sandbox mode.
  10. Select the appropriate billing fields for the Forms Sent to Gateway section.
  11. Click Update.

2Checkout Settings:

  1. Sign in to your 2Checkout account.
  2. Navigate to Dashboard → Integrations → Webhooks & API
  3. Follow these steps to activate Redirect URL:
    • In the Redirect URL section check “Enable return after sale”
    • For Return method, select Header redirect
    • Set the Approved URL to the URL provided in your WP e-Commerce settings  (Replace http://yourdomain.com with the actual URL to your domain)
    • Click Update to save your settings

About WP e-Commerce

 

WP e-Commerce is a free WordPress shopping cart plugin that lets customers buy products, services and digital downloads online.

For more information visit: https://wpecommerce.org

  • Was this article helpful?