How to integrate Drupal Commerce 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
Recurring Payments
Plugin Required

Drupal Commerce Settings:

  1. Download or clone https://github.com/craigchristenson/drupal-commerce-2checkout.git
  2. Upload the commerce_2checkout directory to your modules directory.
  3. Sign in to your Drupal admin
  4. Under Store click Configure Store.
  5. Click Payment Methods
  6. Click 2checkout and add action “Enable payment method: 2checkout”
  7. Under Account Number enter your 2Checkout account number.
  8. Under Secret Word enter your Secret Word (Must be the same value set on 2Checkout site management page.)
  9. Select your checkout page language.
  10. Select Demo to place demo sales or do not select for live sales. (If you are testing on a demo account, make sure you have your Site URL setup in your 2Checkout application. The return process will not complete if the domain your are testing on does not match the domain registered to your 2Checkout account.)
  11. Select One Page Checkout to use your custom single page checkout.
  12. Select Third Party Cart to use third party cart parameters. Unselect to use Pass Through Products (Lists lineitem prices at 2Checkout).
  13. Select Log notifications during processing.
  14. Click Save.

2Checkout Settings:

In the IntegrationsWebhooks & API section in the cPanel, you will find all the necessary tools to connect your third-party store creators to your 2checkout account. From this centralized integrations section you will be able to:

  1. Set up INS/LCN/IPN (found on other third-party store creators as Global URL)
  2. Have access to your Merchant code (also referred to as Seller ID, Account ID, Merchant ID)
  3. Add Return URL with header redirect or link in Thank you page (also referred to as Return link, Approved URL, Thank you link, Given links back to my website)
  4. Generate a Buy link secret word (also referred to as Secret word, Secret Key)
  5. Generate private API keys, or use any API information required for your authentication

For more information visit: Drupal.org

About Drupal Commerce

Drupal Commerce is used to build eCommerce websites and applications of all sizes.

Simplify the eCommerce process. Try 2Checkout.
The most flexible digital commerce platform that can give your business a real boost.