---
title: "Set up in-person payments"
description: "Use our Adobe Commerce plugin to process in-person payments with our terminal API."
url: "https://docs.adyen.com/plugins/adobe-commerce/set-up-in-person-payments"
source_url: "https://docs.adyen.com/plugins/adobe-commerce/set-up-in-person-payments.md"
canonical: "https://docs.adyen.com/plugins/adobe-commerce/set-up-in-person-payments"
last_modified: "2024-04-24T14:14:00+02:00"
language: "en"
---

# Set up in-person payments

Use our Adobe Commerce plugin to process in-person payments with our terminal API. 

[View source](/plugins/adobe-commerce/set-up-in-person-payments.md)

Our plugin for Adobe Commerce allows you to process both online and in-person payments, offering a consistent shopper experience regardless of their location or device. You can manage all orders in the Adobe Commerce admin panel, and get a detailed insight into your shopper behavior in the Adyen [Customer Area](https://ca-test.adyen.com/).

For an overview of supported payment terminals, refer to [Select your terminals](/point-of-sale/what-we-support/select-your-terminals).

## Requirements

Set up a separate merchant account for processing in-person payments. For more information about Adyen account structure, refer to [Company and merchant accounts](/account/account-structure).

## Step 1: Generate an API key

For authenticating API requests from your Adobe Commerce platform, you need to provide an API key.

To generate an API Key:

1. Log in to your [Customer Area](https://ca-test.adyen.com/) and select your **Company** account.

2. Go to **Developers** > **API credentials**.

3. Select the **Payments** or **Platforms** tab, depending on your integration type.

4. Select the credential username.

5. Under **Server settings** > **Authentication** select the **API key** tab.

6. Select **Generate API key**.

7. Select the copy icon **and store your API key securely in your system.

   You cannot copy the API key again after you leave the page.

8. Select **Save changes**.

You will need the API key later when [configuring the plugin in Adobe Commerce](#step-4-set-up-the-plugin-in-adobe-commerce).

Before going live, make sure that your API credential has the **Merchant PAL webservice role**. If you need to enable this role, contact our [Support Team](https://ca-test.adyen.com/ca/ca/contactUs/support.shtml?form=other).

## Step 2: Set up capture delay

For all [cards](/payment-methods), in-person payments are completed in two steps: 

1. Authorisation – The payment details of the shopper are verified and the funds are reserved.
2. Capture –  The reserved funds are transferred from the shopper to your account. 

For payment methods that support separate authorisation and capture, you can specify a delay between authorisation and capture. This allows you to handle cases where the shopper changes their mind about the purchase.

The capture delay setting does not affect Alipay, WeChatPay, and some other wallets, as these payment methods are always completed in one step.

### Set up capture delay in the Adyen Customer Area

1. Log in to the [test Customer Area](https://ca-test.adyen.com/) with your merchant account.

2. Go to **Settings** > **Account settings**.

3. On the **POS Capture Delay&#xA0;**&#x64;rop-down menu, select the capture delay that you want to use. 

4. Possible values:

   * **immediate**: Capture is performed immediately after authorisation.

   * **\[N] minutes/hours/days**: Capture is performed \[N] minutes/hours/days after authorisation. 

     We recommend that you set a capture delay of **2 hours**, for cases where the shopper changes their mind about the purchase. 

   * **manual**: You need to capture each payment manually by creating an invoice in Adobe Commerce. This is useful if you wish to perform a partial capture in case some goods can not be delivered to the shopper.

     When you capture a part of the authorised amount, the rest of the authorised amount is automatically cancelled.

5. Click **Submit**.

## Step 3: Set up the terminal configuration

##### User roles

For account configuration, you need to have the *Merchant POS Terminal Management Admin role*. For more information, refer to [User roles](/account/user-roles).

1. Log in to the  [test Customer Area](https://ca-test.adyen.com/) with your company account.
2. Go to **In-person payments** > **Payment devices**, and select the **Terminals** tab..
3. In the actions menu next to the search box, select **Account configuration**.
4. Click the **Terminal API** tab.
5. Set **Enable Terminal API** to **Yes**.
6. Set **Enable WebSockets** to **Yes**.

## Step 4: Set up in-person payments in Adobe Commerce

1. Log in to your Adobe Commerce admin panel. 
2. In the left navigation bar, go to **Stores** > **Configuration**. 
3. On the menu, go to **Sales** > **Payment Methods**.
4. Select **Configure** next to **Adyen Payments**.
5. Go to the **In-person payments** section, and fill out the following fields: 

| Field                                 | Description                                                                                                                                                                                                |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Enabled**                           | Select **Yes** to enable this payment method.                                                                                                                                                              |
| **Title**                             | The title that indicates the POS payment method during checkout.                                                                                                                                           |
| **Sort Order**                        | The position of the POS payment method during checkout.                                                                                                                                                    |
| **Merchant Account for POS terminal** | Name of your Adyen merchant account that is used to process POS payments.                                                                                                                                  |
| **Terminal Store ID**                 | (Optional) Limit the terminal selection to a specific store in that merchant account.                                                                                                                      |
| **API key for TEST**                  | Your API key from the [test Customer Area](https://ca-test.adyen.com/).                                                                                                                                    |
| **API key for LIVE**                  | Your API key from the [live Customer Area](https://ca-live.adyen.com/).                                                                                                                                    |
| **Capture Delay**                     | The capture delay that you set in the Customer Area.                                                                                                                                                       |
| **Enable Installments**               | Select **Yes** to enable installments for credit card payments. When enabled, use the **Installments** field to add installment rules that specify a **Minimum Amount** and **Number Of Installments**.    |
| **Order Creation Time**               | The order creation time after the shopper selects **Place order**. Set to **After payment** by default. If you want orders to be created before a payment request is initiated, set to **Before payment**. |

6. Select **Save Config** in the upper right corner.

## Step 5 (optional): Set up recurring payments

To set up [recurring payments](/point-of-sale/recurring-payments):

1. Log in to your Adobe Commerce admin panel, and go to **Stores** > **Configuration**.
2. In the menu, go to **Sales** > **Payment Methods**.
3. Select **Configure** next to **Adyen Payments**.
4. Go to **Payment Optimization** > **Tokenization** and fill in the following fields for the **In-person payments** field:

| Field                          | Description                                                                                                                                                                                                                           |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Payment method**             | **In-person payments**                                                                                                                                                                                                                |
| **Enable**                     | Select **Yes** to enable tokenization for in-person payments.                                                                                                                                                                         |
| **Recurring Processing Model** | Set to **CardOnFile**, **UnscheduledCardOnFile**, or **Subscription** depending on [how you want to use tokenization](https://help.adyen.com/knowledge/ecommerce-integrations/tokenization/how-to-choose-recurring-processing-model). |

5. Select **Save Config** in the upper right corner.

## See also

* [Terminal API](/point-of-sale)
* [Company and merchant accounts](/account/account-structure)
* [Recurring payments](/online-payments/classic-integrations/classic-api-integration/tokenization)
* [Payment methods](/payment-methods)
