How to integrate Open Cart with 2Checkout

Standard Checkout
Process credit cards for your store using 2Checkout's Hosted Checkout.
Inline Checkout
Streamline your payment process by using 2Checkout's Inline Checkout.
Payment API
Integrate our checkout into your website using 2Checkout's API.
Recurring Payments
Plugin Required

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 Extensions tab and Payments subtab.
  5. Under 2Checkout click Install and then click Edit.
  6. Enter your 2Checkout Account ID. (2Checkout Account Number)
  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.

Important note: The API keys can be found in your 2Checkout account’s dashboard under the API tab.

2Checkout PayPal Direct Setup

OpenCart Settings
  1. Sign in to your 2Checkout account.
  2. Navigate to DashboardIntegrationsWebhooks & API Section
  3. Activate Redirect URL: In the Redirect URL section check “Enable return after sale” and for Return method, select Link in the Thank You Page. Continue by setting the Approved URL to http://www.yourstore.com/index.php?r...ckout/callback (Replace http://www.yourstore.com with the actual URL to your store). Finally, click on Update to save your settings.
  4. In the Secret Word section enter the Buy Link Secret Word (it must be the same value entered in your OpenCart admin).
  5. Click Update to save your changes.

Standard / Inline

OpenCart Settings:
  1. Sign in to your 2Checkout account.
  2. Navigate to DashboardIntegrationsWebhooks & API Section
  3. Activate Redirect URL: In the Redirect URL section check “Enable return after sale” and for Return method, select Link in the Thank You Page. Continue by setting the Approved URL to http://www.yourstore.com/index.php?r...ckout/callback (Replace http://www.yourstore.com with the actual URL to your store). Finally, click on Update to save your settings.
  4. In the Secret Word section enter the Buy Link Secret Word (it must be the same value entered in your OpenCart admin).
  5. Click Update to save your changes.

For more information visit: OpenCart.com

About OpenCart

OpenCart is a turn-key ready “out of the box” shopping cart solution. You simply install, select your template, add products and you’re ready to start accepting orders. It has order management built in and will provide lifetime free support and free software updates.

Simplify the eCommerce process. Try 2Checkout.
The most flexible digital commerce platform that can give your business a real boost.