How to integrate PrestaShop 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 and PrestaShop Module Configuration

PrestaShop Settings:

  1. Download the 2Checkout payment module from
  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.
  4. Under Modules click Module Manager then select Upload a Module.
  5. Upload the ‘’ directory and select configure
  6. Enter your 2Checkout Account Number (2Checkout Seller ID).
  7. Enter your Publishable Key (2Checkout Publishable Key).
  8. Enter your Private Key (2Checkout Private Key).
  9. Select one of the three Ordering Engines – Convert Plus, Inline Cart, API
  10. Select No under Sandbox Mode (Unless you are testing in the 2Checkout Sandbox).
  11. Click Update Settings.
Important note:
  1. a. 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. b. 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. c. 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.

2Checkout Settings:

  1. Sign in to your 2Checkout account.
  2. Click the Account tab and Site Management subcategory.
  3. Under Return Method select Header Redirect.
  4. Enter your Secret Word. (Must be the same value entered in your PrestaShop admin).
  5. Set the Approved URL to ‘’ (Replace ‘’ with the actual URL to your store).
  6. Click Save Changes.

ConvertPlus, Inline and 2Pay.js Checkout Setup

PrestaShop 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 Header Redirect. In the Secret Word section enter the INS Secret Word (it must be the same value entered in your PrestaShop admin) and continue by setting the Approved URL to (Replace http://www.yourcarturl.comm with the actual URL to your store).
  4. Click Update to save your changes.

For more information visit:

About PrestaShop

Fast, efficient and easy to use, PrestaShop’s free e-commerce solution provides everything you need to open, operate and maintain a successful online store.

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