> For the complete documentation index, see [llms.txt](https://developer.esw.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.esw.com/light-touch-integration/features/checkout.md).

# Checkout

ESW Checkout provides a retailer-branded checkout experience across desktop and mobile. It collects shopper data, processes payment in the shopper’s preferred currency and payment method, and creates the order in both the retailer OMS and the ESW platform.

For most LTI integration methods, checkout is already part of the overall integration flow. You only need a separate integration with the ESW Checkout API when you use the **LTI Web** platform.

<div data-with-frame="true"><figure><img src="/files/EjwKJthk2jXvWibiJQqK" alt=""><figcaption></figcaption></figure></div>

### Supported LTI platforms

<table data-view="cards"><thead><tr><th>Platform</th><th>Description</th></tr></thead><tbody><tr><td>BigCommerce</td><td>Supports checkout through the standard LTI integration path.</td></tr><tr><td>WooCommerce</td><td>Supports checkout through the standard LTI integration path.</td></tr><tr><td>Commerce Tools</td><td>Supports checkout through the standard LTI integration path.</td></tr><tr><td>Callback API</td><td>Supports checkout through the custom LTI integration path.</td></tr></tbody></table>

{% hint style="info" %}
Checkout sub-features, such as sending data to ESW checkout or using stored cards, may support a different platform set than core checkout. Check the relevant feature page when you need those capabilities.
{% endhint %}

### Checkout parameters and callouts

The LTI web solution stores delivery country, shopper currency, and pricing synchronization data in the `ESW_LTI` browser cookie.

That cookie also includes `IsEswCountry`. This value determines whether the shopper is routed to ESW checkout or your default checkout.

When the selected shipping country is an ESW country, `IsEswCountry` is set to `TRUE`. When the selected country is a custom country, it is set to `FALSE`.

For the **Web Platform** only, if `IsEswCountry` is `TRUE`, use the values from the `ESW_LTI` cookie in the ESW PreOrder request together with the product data. For example:

* Country: Ireland
* Shopper currency: EUR
* Retailer currency: USD

### What happens at checkout

{% stepper %}
{% step %}

#### Use storefront pricing inputs

Checkout uses the same country selection and pricing inputs already applied on the storefront.
{% endstep %}

{% step %}

#### Recalculate the order

Prices and cart totals are recalculated using the shopper’s selected country and the configured rounding, multiplier, duty, and tax rules.
{% endstep %}

{% step %}

#### Complete payment

The order is placed after the shopper completes payment successfully.
{% endstep %}

{% step %}

#### Sync the order

The order is visible in the ESW Customer Service Portal. For WooCommerce, BigCommerce, Commerce Tools, and Callback API, order status is also synchronized back to the e-commerce platform.
{% endstep %}
{% endstepper %}

<div data-with-frame="true"><figure><img src="/files/hoEDJ4T7V6REgvQ4Rwy9" alt=""><figcaption></figcaption></figure></div>

You can track orders in ESW Customer Service Portal and, where supported, in your e-commerce platform. Synced statuses include completion, cancellation, and partial or full refunds.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://developer.esw.com/light-touch-integration/features/checkout.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
