Skip to main content
knowledgecenter.avangate.com

Integrate Open Cart with 2Checkout

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.
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 Merchant Code.
  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. Click on Setup tab and Ordering options subcategory.
  3. Under Return Method select Link in the Thank You Page
  4. Set 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.)
  5. Enter your Secret Word (Must be the same value entered in your OpenCart admin.)
  6. Click Save Changes.

 


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.
  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. Click on Setup tab and Ordering options subcategory.
  3. Under Return Method select Link in the Thank You Page
  4. Set 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)
  5. Enter your Secret Word (Must be the same value entered in your OpenCart admin)
  6. Click Save Changes.

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

 

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.

For more information visit: OpenCart.com