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.


How to integrate PrestaShop with 2Checkout

2Checkout Payment API Setup

PrestaShop Settings

  1. Download the 2Checkout payment module from https://github.com/craigchristenson/prestashop-2checkout-api
  2. Upload the ‘twocheckout’ directory to your PrestaShop ‘modules’ directory.
  3. Sign in to your PrestaShop admin.
  4. Under Modules click Modules.
  5. Under 2Checkout Payment API click Install.
  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 No under Sandbox Mode. (Unless you are testing in the 2Checkout Sandbox)
  10. Click Update Settings.

Important note: Usage of the 2Checkout Payment API requires agreement to a legal addendum, which is to be reviewed upon first accessing the API tab. After agreeing to the addendum, 2Checkout’s compliance partner, Trustwave, will preregister the account in their system. This process takes between 12-24 hours. After preregistration is completed, Trustwave will issue an email indicating that the seller can register themselves in Trustwave – after the seller’s registration is verified in Trustwave, API keys will be available.



2Checkout PayPal Direct Setup

PrestaShop Settings

  1. Upload the ‘twocheckoutpp’ directory to your PrestaShop ‘modules’ directory.
  2. Sign in to your PrestaShop admin.
  3. Click Extensions tab and Payments subtab.
  4. Under Modules click Modules.
  5. Enter your 2Checkout Account Number. (2Checkout Seller ID)
  6. Enter your Secret Word (Must be the same value entered on your 2Checkout Site Management page.)
  7. Select whether you want to use the customer’s chosen currency or force another currency.
  8. Click Update Settings.


2Checkout Settings

  1. Sign in to your 2Checkout account.
  2. Click the Account tab and Site Management subcategory.
  3. Under Direct Return select Header Redirect.
  4. Enter your Secret Word. (Must be the same value entered in your PrestaShop admin.)
  5. Set the Approved URL to ‘https://www.yourstore.com/index.php?fc=module&module=twocheckoutpp&controller=validation’ (Replace ‘https://www.yourstore.com’ with the actual URL to your store.)
  6. Click Save Changes.



Standard / Inline Checkout Setup

    PrestaShop Settings:

  1. Clone or download and extract https://github.com/craigchristenson/PrestaShop-2Checkout/
  2. Upload the checkout directory to the modules directory where your PrestaShop install is located on your hosting/server.
  3. Go into your PrestaShop Admin Modules/Payment Gateways area, install, enable and select 2Checkout Payments.
  4. Click configuration and fill out your 2Checkout account number and Secret Word.
  5. Click Update Settings


    2Checkout Settings:

  1. Sign in to your 2Checkout account
  2. Click the Account tab and Site Management subcategory
  3. Set the Approved URL to http(s)://yourcarturl.com/index.php?fc=module&module=checkout&controller=validation (Replace http://www.yourcarturl.com with the actual URL to your store.)
  4. Under Direct Return select Header Redirect
  5. Enter your Secret Word
  6. Click Save Changes


For more information visit: PrestaShop.com


Having trouble with these cart instructions? If you are having issues with these shopping cart instructions, or realize they are out of date, please email us at techsupport@2co.com and we will look into it for you.