Skip to content

Commit

Permalink
Support new 2Checkout interfaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
craigchristenson committed Jan 19, 2023
1 parent b17b55a commit 08ac5b0
Show file tree
Hide file tree
Showing 40 changed files with 2,442 additions and 920 deletions.
43 changes: 13 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,18 @@ How to integrate Drupal Commerce with 2Checkout

### 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 regestered 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:

1. Sign in to your 2Checkout account
2. Click the **Account** tab and **Site Management** subcategory.
3. Under **Direct Return** select **Header Redirect**.
4. Under **Secret Word** enter your Secret Word (Must be the same value entered in your Drupal Commerce admin.)
5. Click **Save Changes**.

NOTE: If you use the sandbox mode, take into account that you won't be
redirected back to your site because the `x_receipt_link_url` parameter
only works on live accounts:

- http://help.2checkout.com/articles/FAQ/Can-I-specify-the-return-URL-on-the-fly/
1. Download or clone https://github.com/2checkout/drupal-commerce-2checkout.git
2. Sign in to your Drupal admin
3. Install the included extension archive for the 2Checkout interface that you want to use.
4. Under **Commerce** click **Configuration**.
5. Click **Payment Gateways**
6. Click **Add Payment Gateway**.
7. Enter a **Name** and select the 2Checkout Plugin that you installed.
8. Enter the **Merchant Code** found in your 2Checkout panel Integrations section.
9. Enter the **Secret Key** found in your 2Checkout panel Integrations section.
10. Enter the **Buy Link Secret Word** found in your 2Checkout panel Integrations section.
11. Select **Test** or **Live** mode.
12. Select **Enabled** under Status.
13. Click **Save**.

**Please contact 2Checkout directly with any integration questions.**

_Fork of original project at http://drupal.org/project/commerce_2checkout_
339 changes: 0 additions & 339 deletions commerce_2checkout/LICENSE.txt

This file was deleted.

37 changes: 0 additions & 37 deletions commerce_2checkout/commerce_2checkout.api.php

This file was deleted.

13 changes: 0 additions & 13 deletions commerce_2checkout/commerce_2checkout.info

This file was deleted.

Loading

0 comments on commit 08ac5b0

Please sign in to comment.