Skip to main content

Integrate WP e-Commerce

Integrate WP e-Commerce

Last updated: 08-Dec-2020
Rate this article:

Availability

WP-eCommerce integration is available only for 2Checkout accounts that handle their own tax and invoice management (2Sell and 2Subscribe accounts). 

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, 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, log in to your 2Checkout Merchant Control Panel and navigate to Dashboard→ Integrations → Webhooks & API → Secret Word → INS Secret word.  Your INS secret word should be the same as the buy-link secret word (can be found under Dashboard → Integrations → Webhooks & API, scroll down to the Secret Word area, under the INS Secret Word). Edit your INS secret word and buy-link secret word to match each other, then copy and paste them into your WP-eCommerce admin. INS secret word.png
  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

Rate this article:

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo