Integrate Magento 1
Magento is an open-source PHP-based eCommerce platform that offers merchants a high degree of flexibility and control over the user experience, catalog, content, and functionality of their online store. You can integrate your Magento 1 web store with 2Checkout by following the steps in this guide.
The new Magento connector will enable merchants to process orders with ConvertPlus, InLine Cart, and 2Pay.js.
Magento 1 integration is available only for 2Checkout accounts that handle their own tax and invoice management (2Sell and 2Subscribe accounts).
Merchants using the Magento connector built on the legacy 2Chechout hosted cart will be able to upgrade to the new Magento connector as well.
According to a Magento announcement, as of June 30, 2020, all Magento 1 versions have reached their end of life (EOL), meaning that the developers have stopped investing in quality fixes and security patches. While you’ll still be able to use the Magento 1 platform, we recommend migrating to the latest version (Magento 2) as soon as possible.
By doing so, you’ll remain compliant with the Payment Card Industry Data Security Standards and avoid any security breaches. Following your migration to Magento 2, you will be able to use the 2Checkout extension and continue to accept payments. Here is how you can activate 2Checkout on your Magento 2 account.
Magento 1 Settings
Follow these steps to integrate Magento 1 connector:
Download the 2Checkout API Payment module from Github and click on the Releases tab to find the latest release.
2. You can also download the connector directly from the Master branch, as it always reflects the latest release.
3. Upload the files to your server, to your instance of Magento 1. Each file must be uploaded to the correct directory.
4. Sign in to your Magento 1 administration panel and navigate to System and click on Cache Management and flush your Magento cache.
5. On the new page, click on the Flush Magento Cache button.
6. Go back to the System tab and select Index Management.
7. On the Index Management page, re-index all templates by hitting the Submit button.
8. Navigate to System → Configuration.
9. On the Configuration page, scroll down to Payment methods.
10. Notice that there are two payment methods available:
- 2Checkout is for the InLine and ConvertPlus shopping carts
- 2Checkout API is for the 2Pay.js
You can use only the 2Checkout API (2Pay.js) if you wish. To do this, simply deactivate the 2Checkout module if you don’t want the InLine and ConvertPlus.
In the 2Checkout module for the InLine and ConvertPlus shopping carts you can choose between either the InLine mode or the ConvertPlus mode. It is not possible to have both modes enabled at the same time.
11. In the 2Checkout section, input:
- Your Merchant Code in the field “2Checkout Merchant Id”
- Your Buy-Link Secret Word in the field “Buy link secret word”
- Your Secret Key in the field “Secret key”
from the 2Checkout Merchant Control Panel.
The Buy-Link Secret Word and the Secret Key are two different codes that can be found in your Merchant Control Panel, under Integrations - Webhooks & API (API section and Secret Word section, respectively).
12. For the "2Checkout Inline Mode" field select No, if you want to use ConvertPlus as your default shopping cart. The “2Checkout Demo Mode” field can be set to Yes in order to do Demo orders. These types of orders have no impact and are simply there for demonstration or debugging purposes.
13. In the 2Checkout API section, select Yes to be able to use the 2Pay.js option as well. You need to have the 2Pay.js module activated for your account to be able to use it.
The 2Checkout API doesn’t have any configuration other than “Title” and “Enabled”. It will inherit the configuration of the 2Checkout module. If you wish to use only the 2Pay.js (2Checkout API module), then simply disable the 2Checkout module.
14. Save your changes.
- Sign in to your 2Checkout Merchant Control Panel account.
- Navigate to Dashboard → Integrations → Webhooks & API section.
- Locate your Merchant Code, Secret key, and the Buy-link secret word.
- Click on the IPN Settings tab, under Integrations.
- Set the IPN URL to https://your-site-name.com/tco/notification/. Example of and IPN URL: http://example.com/tco/notification/.
- Enable all Response tags and Triggers in the IPN section. The triggers that are not required will simply not be used.
Magento is a feature-rich, open-source, enterprise-class eCommerce solution that offers merchants a high degree of flexibility and control over the user experience, catalog, content, and functionality of their online store. In August 2011, Magento was acquired by eBay Inc. In May 2018 it was announced that Magento would be acquired by Adobe for $1.68bn with a view to integrating it into Adobe Experience Cloud, its Enterprise CMS platform. The transaction is expected to complete between June and August of 2018, Q3 of Adobe's fiscal year.
Launched in 2007, the Magento platform now serves tens of thousands of merchants worldwide and is supported by a global community of solution partners and third-party developers. Magento Go is a hosted, software-as-a-service solution that provides small and growing merchants with the eCommerce tools they need to succeed online. Based in Los Angeles, Magento, Inc. is a fast-paced, entrepreneurial organization dedicated to the mission of enabling the eCommerce ecosystem.