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 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: The API keys can be found in your 2Checkout account’s dashboard under the API tab.

2Checkout PayPal Direct 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 Buy Link Secret Word (it must be the same value entered in your PrestaShop admin)and continue by setting the Approved URL to https://www.yourstore.com/index.php?...ler=validation (Replace http://www.yourstore.com with the actual URL to your store).
  4. Click Update to save your changes.

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. 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 Buy Link Secret Word (it must be the same value entered in your PrestaShop admin)and continue by setting the Approved URL to https://www.yourstore.com/index.php?...ler=validation (Replace http://www.yourcarturl.com with the actual URL to your store).
  4. Click Update to save your changes.

For more information visit: PrestaShop.com

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.