- Sign in to your 2Checkout account.
- Click the Account tab and Site Management subcategory.
- Under Direct Return select Header Redirect.
- Enter your Secret Word.(Must be the same value entered in your Magento admin.)
- 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.)
- Click Save Changes.
- Click the Create Username link and create a new username with API Access and API Updating selected for the Access type. More information here
- 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)
- Click Save Changes.
- Download the 2Checkout payment module from https://github.com/craigchristenson/magento-2checkout-api
- Upload the files to your Magento directory.
- Sign in to your Magento admin.
- Flush your Magento cache under System->Cache Management and reindex all templates under System->Index Management.
- Navigate to Payment Methods under System->Configuration->Payment Methods and open 2Checkout API.
- Enter your Seller ID. (2Checkout Account Number)
- Enter your Publishable Key. (2Checkout Publishable Key)
- Enter your Private Key. (2Checkout Private Key)
- Enter your Secret Word (Must be the same value entered on your 2Checkout Site Management page.)
- Select No under Sandbox Mode. (Unless you are tesing in the 2Checkout Sandbox)
- (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.
- (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.)
- Select Yes under Enabled for 2Checkout API and 2Checkout PayPal Direct.
- Save your changes.
Please feel free to contact 2Checkout directly with any integration questions.