Skip to main content
knowledgecenter.2checkout.com

Integrate PrestaShop

Overview

Merchants can use the PrestaShop connector to integrate with 2Checkout and process orders with ConvertPlus, InLine Cart, and 2Pay.js, and provide an improved experience to their shoppers.​

Availability

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

PrestaShop Settings

Regardless you are already using the PrestaShop connector or you want to start integrating with 2Checkout, you need to follow the steps below:

1. Download the 2Checkout payment module from GitHub by clicking on the Code button and then on Download ZIP.

prestashop_connector_1New.png

2. After downloading the .zip archive, open it and extract the folder twocheckout, then archive it separately as a .zip file.

3. Sign in to your PrestaShop admin and navigate to Modules → Module Manager.

prestashop connector_2.png

4. On the Module Manager page, click on Upload module and upload the twocheckout .zip folder.

prestashop connector_3.png

prestashop connector_4.png

5. After upload, the new module will appear as shown here:

prestashop connector_5.png

6. Click on Configure to add your information:

  • Seller ID (Merchant Code)
  • Buy Link Secret Word
  • Secret Key
  • Select the cart type:
  • Select "Demo mode" if you wish to enable it. This will allow you to place test orders using test payment methods, to check your integration with 2Checkout.
  • Select the style for the API form. You can choose to use the "Default style" or you can customize it by implementing the code snippet provided there.
  1. The Seller ID is your 2Checkout Merchant Code that you can obtain by logging in to your Merchant Control Panel and navigating to Integrations → Webhooks & API. 
  2. To find the Buy Link Secret Word, log  in to your 2 Checkout Merchant Control Panel and navigate to Integrations → Webhooks & API → Secret Word . Edit your  INS Secret Word to match the Buy Link Secret Word , copy the value and paste it in the PrestaShop admin.
  3. The Secret key can be found in your 2Checkout Merchant Control Panel, right next to the Merchant Code. Copy and paste it in your PrestaShop admin.

prestashop connector_6.png

7. Once you've filled in all the information, click on Update settings at the bottom of the page.

prestashop connector_7.png

8. Test your integration by placing an order. If your set-up is correct, you will be able to see the Pay with 2Checkout option:

  • for ConvertPlus and InLine checkout flow

prestashop connector_8New.png

  • for 2Pay.js checkout flow

test prestashop api payment.png

2Checkout Settings

  1. Sign in to your 2Checkout account.
  2. Navigate to Dashboard → Integrations → Webhooks & API
  3. Follow these steps to activate Redirect URL:
  4. Click Update to save your changes.
  5. 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
  • Scroll down to the Notifications section and enable the IPN webhook

set up IPN in merchant control panel_1.png

  • 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 and input the IPN URL available in the configuration page in Prestashop.

set up IPN in merchant control panel_2.png

set up IPN in merchant control panel_3.png

  • Enable all triggers and response tags

set up IPN in merchant control panel_4.png

About PrestaShop

PrestaShop is an eCommerce marketplace for small and medium merchants and offers them a variety of tools to download that help them build their online businesses. Fast, efficient, and easy to use, PrestaShop’s free eCommerce solution provides everything merchants need to open, operate, and maintain a successful online store.

For more information visit PrestaShop.com.

FAQ

1. Does the new connector use webhooks?​​​

Yes, it uses IPN, so make sure you enable it from your Merchant Control Panel.

2. Do order statuses get updated on the PrestaShop side if any change occurs after place order?​​​

Yes, both order and fraud statuses are synchronized, as well as refunds.​​

3. Can I place refunds?​​​

Yes, but only from the 2Checkout Control Panel. You will be able to place refunds from the PrestaShop portal in the next release of the connector.​

4. Can I use the connector with a 2Monetize account?​​​

No, you can't. This connector is built to cover only the 2Sell and 2Subscribe accounts.

  • Was this article helpful?