> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.dintero.com/feedback

```json
{
  "path": "/docs/checkout/pay-in-store",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Pay in store

> Allow customers to reserve an order online and pay in store.

<Card title="Looking for in-person payments?" icon="cash-register" href="/docs/checkout/in-person/overview">
  In-person payments let customers pay directly on a Dintero terminal.
</Card>

## Overview

Merchants can offer customers the flexibility to reserve items online and pay in-person at pickup, accepting any payment method available at the physical location.

<Info>
  Pay in store is **only supported for Dintero Checkout Express sessions**.

  It works by setting the payment amount to zero when the customer selects a pay-in-store shipping option.
</Info>

## Pay in store flow (for payer)

When the payer opens the checkout they get the option to select **"Pay in-store"** after they have entered their customer details, as shown below:

<Steps>
  <Step title="Select Pay in-store">
    <Frame>
      <img src="https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/checkout/pay-in-store-input.png?fit=max&auto=format&n=TiCvqt4VXcXnNQNe&q=85&s=8672ec2b53f76e9d8b9452052f6c303d" alt="Pay in store input" width="1330" height="260" data-path="docs/assets/checkout/pay-in-store-input.png" />
    </Frame>
  </Step>

  <Step title="Select which store to pay at">
    <Frame>
      <img src="https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/checkout/pay-in-store-select.png?fit=max&auto=format&n=TiCvqt4VXcXnNQNe&q=85&s=b43a21b3575814b58c5b4e9c71b6efbf" alt="Pay in store selected" width="670" height="266" data-path="docs/assets/checkout/pay-in-store-select.png" />
    </Frame>
  </Step>

  <Step title="It is possible to add multiple stores to pay at">
    <Frame>
      <img src="https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/checkout/pay-in-store-multiple.png?fit=max&auto=format&n=TiCvqt4VXcXnNQNe&q=85&s=026eaed76babba3b01fdb2dfcea81586" alt="Pay in store multiple" width="672" height="406" data-path="docs/assets/checkout/pay-in-store-multiple.png" />
    </Frame>
  </Step>

  <Step title="Pay in-store">
    <Frame
      caption="The only payment method available for pay in store is `dintero.zero`.
It will be presented as the only payment option in the checkout"
    >
      <img src="https://mintcdn.com/dintero-c3a7bfec/TiCvqt4VXcXnNQNe/docs/assets/checkout/pay-in-store-payment.png?fit=max&auto=format&n=TiCvqt4VXcXnNQNe&q=85&s=1d30a06d5fabcbb29e14b1804f4d7855" alt="Pay in store payment" width="663" height="281" data-path="docs/assets/checkout/pay-in-store-payment.png" />
    </Frame>
  </Step>
</Steps>

## Pay now and pick up in-store

To offer "pay now and pick up in-store," you must configure 2 shipping options in the session:

1. One shipping option with **"pay in-store"** defined
2. One shipping option without **"pay in-store"**

Both shipping options must have the same `operator` value.

### Example request

The highlighted lines in the example are needed to enable "pay now and pick up in-store":

* [`configuration.dintero.zero`](/api-reference/session/create-checkout-session-from-profile#body-configuration-dintero-zero) enables the payment type, and
* [`pay_in_store`](/api-reference/session/create-checkout-session-from-profile#body-express-shipping-options-items-pay-in-store) marks a shipping option as pay in store.
* Both shipping options must have the same `operator` value.

```http {25-35, 44, 62, 73-75} theme={null}
POST https://checkout.dintero.com/v1/sessions-profile
Authorization: Bearer <token>
Content-Type: application/json

{
  "url": {
    "return_url": "https://example.com/accept",
    "callback_url": "https://example.com/callback?method=GET",
    "merchant_terms_url": "https://example.com/terms.html"
  },
  "order": {
    "amount": 10000,
    "currency": "NOK",
    "items": [
      {
        "id": "123",
        "name": "Product 1",
        "quantity": 1,
        "unit_price": 10000
      }
    ],
    "merchant_reference": "string"
  },
  "profile_id": "<PROFILE>",
  "configuration": {
    "active_payment_types": { "enabled": true },
    "dintero": {
      "type": "payment_type",
      "zero": {
        "type": "payment_product_type",
        "enabled": true,
        "payability": "payable"
      }
    }
  },
  "express": {
    "shipping_options": [
      {
        "id": "StoreName.1234",
        "vat": 0,
        "title": "Pay now and pick up in store",
        "amount": 0,
        "line_id": "StoreName.1234_1_pickup",
        "operator": "StoreName",
        "vat_amount": 0,
        "delivery_method": "pick_up",
        "pick_up_address": {
          "country": "NO",
          "first_name": "StoreName",
          "postal_code": "0000",
          "address_line": "Address 1",
          "postal_place": "OSLO",
          "phone_number": "12345678"
        }
      },
      {
        "id": "StoreName.1234",
        "vat": 0,
        "title": "Order and pay in store",
        "amount": 0,
        "line_id": "StoreName.1234_1",
        "operator": "StoreName",
        "vat_amount": 0,
        "delivery_method": "pick_up",
        "pick_up_address": {
          "country": "NO",
          "first_name": "StoreName",
          "postal_code": "0000",
          "address_line": "Address 1",
          "postal_place": "OSLO",
          "phone_number": "12345678"
        },
        "pay_in_store": {
          "type": "full"
        }
      }
    ]
  }
}
```
