Skip to main content
knowledgecenter.2checkout.com

Integrate OpenCart

Availability

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

2Checkout Payment API Setup

OpenCart Settings

  1. Download the 2Checkout payment module from Github.
  2. Upload the files to your OpenCart directory.
  3. Sign in to your OpenCart admin.
  4. Click the Extensions tab and Payments subtab.
  5. Under 2Checkout click Install and then click Edit.
  6. Enter your 2Checkout Merchant Code or Secret Word. (Must be the same value entered on your 2Checkout Control Panel.) To obtain the Merchant Code (or Secret Word), log in to your 2Checkout Merchant Control Panel and navigate to 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 Open Cart admin. INS secret word.png
  7. Enter your Public Key. (2Checkout Publishable Key)
  8. Enter your Private Key. (2Checkout Private Key)
  9. Select No under Sandbox Mode. (Unless you are testing in the 2Checkout Sandbox)
  10. Select Complete under Order Status.
  11. Select Enabled under Status.
  12. Save your changes.

 


2Checkout PayPal Direct Setup

OpenCart Settings

  1. Sign in to your OpenCart admin.
  2. Click Extensions tab and Payments subtab.
  3. Under 2Checkout PayPal Direct click Install and then click Edit.
  4. Enter your 2Checkout Merchant Code.
  5. Select Complete under Order Status.
  6. Select Enabled under Status.
  7. Enter your Secret Word (Must be the same value entered on your 2Checkout Site Management page.)
  8. Save your changes.

2Checkout Settings:

  1. Sign in to your 2Checkout account.
  2. Navigate to Dashboard → Integrations → Webhooks & API
  3. Follow these steps to activate Redirect URL:

Standard/Inline

OpenCart Settings:

  1. Sign in to your OpenCart admin.
  2. Click Extensions tab and Payments subtab.
  3. Under 2Checkout Click Install and then click Edit.
  4. Enter your 2Checkout Merchant Code or Secret Word. (Must be the same value entered on your 2Checkout Control Panel.) To obtain the Merchant Code (or Secret Word), contact 2Checkout or, if you already have a 2Checkout account, navigate to Control Panel → Integrations → Webhooks & API → Secret Word → INS Secret word. .
  5. Select No under Test Mode.
  6. Select Complete under Order Status.
  7. Select Enabled under Status.
  8. Enter your Secret Word (Must be the same value entered on your 2Checkout Site Management page)
  9. Save your changes.

2Checkout Settings:

  1. Sign in to your 2Checkout account.
  2. Navigate to Dashboard → Integrations → Webhooks & API
  3. Follow these steps to activate Redirect URL:

If you would like to use Inline Checkout, install the updated payment module at https://github.com/craigchristenson/opencart-2checkout

 
  • Was this article helpful?