Skip to main content

Integrate OpenCart

Integrate OpenCart

Last updated: 06-Sep-2024
Rate this article:

Overview

OpenCart is a free open-source eCommerce platform for seasoned web developers looking for a user-friendly interface and for shop owners just launching their online business.

Availability

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

   OpenCart 4 is not supported.

Integrate OpenCart with 2Checkout

Whether you are an existing merchant using OpenCart and you need to upgrade your integration, or you are a new merchant looking to integrate with 2Checkout, you need to follow the instructions below.

OpenCart Settings

  1. Download the 2Checkout payment module from Github.
  2. Upload the files to your server under your store’s directory.
    OpenCart_integration_new_1.png
  3. Sign in to your OpenCart admin.
  4. Navigate to Extensions → Installer.
    OpenCart_integration_new_2.png
  5. On the Extension Installer page, click on Upload to upload your extension files.
    OpenCart_integration_new_3.png
  6. Go to Extensions → Choose the extension type and select the Payments extension type from the drop-down list.
    OpenCart_integration_new_4.png
  7. Click Install on the payment option you want to use (2Checkout API, 2Checkout Convert Plus, 2Checkout Inline).
  8. Click on the Edit button of the selected integration to enable it.
    OpenCart_integration_new_5.png
  9. Configure your 2Checkout integration by editing the details of the 2Checkout API, 2Checkout ConvertPlus, or 2Checkout InLine, as shown in the next image.

    • Input your Merchant Code, Secret Key, and Buy-link Secret Word from the 2Checkout Merchant Control Panel into the OpenCart admin. 
    • To obtain the Merchant Code, log in to your 2Checkout Merchant Control Panel.
    • Navigate to Integrations → Webhooks & API → Merchant Code and copy and paste the code into the OpenCart admin area.
    • Then copy and paste the Secret Key from the 2Checkout Control Panel into the OpenCart admin.
    • Go to Integrations → Webhooks & API → Secret Word → Buy-Link secret word and copy and paste the buy-link secret word into the OpenCart admin. 

    OpenCart_integration_new_6.png

  10. Under Test Mode select No for live sales or Yes for test sales.
  11. Select Complete under Order Status.
  12. Select Enabled under Status.
  13. Save your changes.

2Checkout Settings

  1. Sign in to your 2Checkout Merchant Control Panel account.
  2. Navigate to Dashboard → Integrations → Webhooks & API section.
  3. Make sure to enable the IPN webhook notification in your Merchant Control Panel.
    • Log in to the 2Checkout Merchant Control Panel and navigate to Integrations → Webhooks & API
      Webhooks & API
    • Scroll down to the Notifications section and enable the IPN webhook.
    • For the Payment notification type field, select IPN or Email Text & IPN, and then click on the Configure IPN button.
    • On the IPN settings page, click on the Add IPN URL button, input the IPN URL available on the configuration page in OpenCart and select the SHA 2 / SHA 3 hash.
      Add IPN URL
    • Enable all triggers and response tags.
      OpenCart_integration_new_8.png

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:

About OpenCart

 
OpenCart si a free open-source eCommerce platform for web developers looking for a user-friendly interface and for shop owners just launching their online business. More than 30,000 companies, mostly small and medium businesses from the US, are using OpenCart in the retail industry. OpenCart offers support for both physical and digital products, as well as services.
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