# Modular Checkout: How to configure a gift checkout?

When using the [https://docs.limio.com/product/checkout/overview-how-to-customise-the-limio-modular-checkout](https://docs.limio.com/product/checkout/overview-how-to-customise-the-limio-modular-checkout "mention") to sell your gift subscription, it’s crucial to use the specified subcomponents with their necessary Limio Field names. This ensures that your gift order processes smoothly and reaches its destination without any hiccups.

There are two checkouts you will want to create:

* The checkout that the gift purchaser will use to buy the gift
* The checkout that the gift recipient will use to redeem the gift

## 1. Create the gift checkout for the purchaser (gift purchase)

Let's start by configuring the checkout for the initial gift purchase. Create a new checkout called Gift Purchase Checkout with a link such as /gift-purchase-checkout.

For gift checkout, you can use an unauthenticated checkout to reduce friction. If you are on release 104 or above, you should use [anonymous authentication](https://docs.limio.com/product/authentication/authentication-provider-per-page/configuring-anonymous-authentication-for-your-checkout-flow) for this page.

<figure><img src="/files/j3BlIUVd7krHTT2VBPCk" alt=""><figcaption></figcaption></figure>

First, you will want to capture the gift purchaser details in the checkout. Use the following subcomponents:

| **Subcomponent name** | **Limio field name** | **Type** | **Required** |
| --------------------- | -------------------- | -------- | ------------ |
| LimioFormText         | N/A                  | N/A      | No           |
| LimioEmailNameField   | N/A                  | N/A      | Yes          |
| LimioFirstNameField   | N/A                  | N/A      | Yes          |
| LimioLastNameField    | N/A                  | N/A      | Yes          |

<figure><img src="/files/ae6dFcMzO5PtFxAlwr9T" alt=""><figcaption></figcaption></figure>

Second, you will need to capture the gift recipient details in the checkout. Use the following:

| **Subcomponent name** | **Limio field name**       | **Type**       | **Required** |
| --------------------- | -------------------------- | -------------- | ------------ |
| LimioFormText         | N/A                        | N/A            | No           |
| Field                 | recipientDetails.firstName | Input          | Yes          |
| Field                 | recipientDetails.lastName  | Input          | Yes          |
| Field                 | recipientDetails.email     | Email or Input | Yes          |
| Field                 | recipientDetails.startDate | Date           | No           |
| Field                 | recipientDetails.message   | Textarea       | No           |

<figure><img src="/files/P25iScavZR2sZRgv9acK" alt=""><figcaption></figcaption></figure>

Third, you will need to add the other typical components of the checkout, such as the payment and T\&Cs.

## 2. Create a gift redeem checkout for the recipient (gift redemption)

Now, we need to allow users to redeem their gift. This checkout is usually required to capture the gift recipient's location for tax purposes, and can be used to capture additional data on your new customer.

Set a up redeem checkout using the [https://docs.limio.com/product/checkout/overview-how-to-customise-the-limio-modular-checkout](https://docs.limio.com/product/checkout/overview-how-to-customise-the-limio-modular-checkout "mention") Set up a URL such as /gift-redeem-checkout and set the page to authenticated. It will look like this:

<figure><img src="/files/CqgmJSQf7YZFYpeokl5s" alt=""><figcaption></figcaption></figure>

The gift redeem checkout above can be recreated with the following:

| **Subcomponent name** | **Limio field name** | **Type** | **Required** |
| --------------------- | -------------------- | -------- | ------------ |
| LimioFirstNameField   | N/A                  | N/A      | Yes          |
| LimioLastNameField    | N/A                  | N/A      | Yes          |
| LimioCountryField     | N/A                  | N/A      | Yes          |
| LimioStateField       | N/A                  | N/A      | Yes          |
| LimioPostCodeField    | N/A                  | N/A      | Yes          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.limio.com/components/component-library/modular-checkout-components/modular-checkout-how-to-configure-a-gift-checkout.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
