Skip to content

stefanikolov/prestashop-2checkout-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integrate PrestaShop with 2Checkout Payment API (Supports PayPal Direct)


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.

2Checkout PayPal Direct Setup

PrestaShop Settings

  1. Upload the 'twocheckoutpp' directory to your PrestSshop '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 wan 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.

Please feel free to contact 2Checkout directly with any integration questions.

About

PrestaShop payment module for 2Checkout Payment API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 60.9%
  • JavaScript 24.6%
  • Smarty 14.5%