Skip to content

nleduc/magento-2checkout-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


2Checkout Payment API/PayPal Direct Setup

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 Magento admin.)
  5. Set the Approved URL to https://www.yourdomain.com/index.php/tco/redirect/success (Replace https://www.yourstore.com with the actual URL to your store.)
  6. Click Save Changes.
  7. Click the Create Username link and create a new username with API Access and API Updating selected for the Access type. More information here
  8. Click the Notifications icon, enable the Order Created and Fraud Status Changed messages and set https://www.yourdomain.com/index.php/twocheckout/notification/ins in the URL fields. (replace https://www.yourdomain.com with your actual site URL)
  9. Click Save Changes.

Magento Settings

  1. Download the 2Checkout payment module from https://github.com/craigchristenson/magento-2checkout-api
  2. Upload the files to your Magento directory.
  3. Sign in to your Magento admin.
  4. Flush your Magento cache under System->Cache Management and reindex all templates under System->Index Management.
  5. Navigate to Payment Methods under System->Configuration->Payment Methods and open 2Checkout API.
  6. Enter your Seller ID. (2Checkout Account Number)
  7. Enter your Publishable Key. (2Checkout Publishable Key)
  8. Enter your Private Key. (2Checkout Private Key)
  9. Enter your Secret Word (Must be the same value entered on your 2Checkout Site Management page.)
  10. Select No under Sandbox Mode. (Unless you are tesing in the 2Checkout Sandbox)
  11. (Optional) Enter your 2Checkout Admin API username and password (this is only required if you use Live Refunds functionality) If you have not yet created an Admin API user, please login to your 2Checkout account, and do so. This username and password can then be entered in API username and password fields in Magento.
  12. (Optional) Select whether or not your want to enable Live Refunds. (This uses the 2Checkout API to issue a live refund to the customer when you issue a credit memo in Magento.)
  13. Select Yes under Enabled for 2Checkout API and 2Checkout PayPal Direct.
  14. Save your changes.

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 69.8%
  • PHP 28.3%
  • HTML 1.9%