> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/typealiases/adyen-checkout-entry.md).

# Type Alias: AdyenCheckoutEntry

```ts
type AdyenCheckoutEntry = 
  | {
  mode: "new";
}
  | {
  mode: "redirect";
  redirectResult: string;
  sessionId: string;
};
```

How a checkout page was entered.

## Union Members

### Type Literal

```ts
{
  mode: "new";
}
```

***

### Type Literal

```ts
{
  mode: "redirect";
  redirectResult: string;
  sessionId: string;
}
```

| Name             | Type         | Description                                                     |
| ---------------- | ------------ | --------------------------------------------------------------- |
| `mode`           | `"redirect"` | -                                                               |
| `redirectResult` | `string`     | The result to hand back to Adyen with `checkout.submitDetails`. |
| `sessionId`      | `string`     | The session the customer was redirected away from.              |

## Remarks

A checkout page is either mounted fresh, or re-entered because a payment method took the customer to another page and Adyen sent them back with a result to submit.
