> For the complete documentation index, see [llms.txt](https://docs.ecommerce.seb.ee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ecommerce.seb.ee/integration/web-plugins/magento-2.md).

# Magento 2

SEB E-commerce Payment Gateway module for Magento 2 — overview

This module (`EGW_Checkout`) adds SEB E-commerce Payment Gateway as a payment method to your Magento 2 store checkout.

**How it works:** at checkout your customer selects the payment method (*Online Payment*), the order is placed, and the customer is redirected to the gateway's secure hosted payment page. After paying, the customer returns to your store. The module updates the order twice: when the customer returns, and authoritatively when the gateway sends a server-to-server callback notification. Invoices are created automatically as payment progresses. Card details are entered only on the hosted payment page — they are never sent to, processed by, or stored on your server or in your Magento database.

**Install effort:** Installation is by file deployment and Magento CLI — this is normal for Magento and takes an experienced developer under an hour.

## Features

| Feature                                               | Supported                                                                                                                                                                                                                                                                                                                                                                                                  |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Card payments on the hosted page                      | ✓ — the card schemes enabled for your shop, configured in the Merchant Portal rather than in the module                                                                                                                                                                                                                                                                                                    |
| Other payment method types on the hosted page         | ✓                                                                                                                                                                                                                                                                                                                                                                                                          |
| Checkout types                                        | Default (Luma) checkout ✓ · Hyvä / headless ✗                                                                                                                                                                                                                                                                                                                                                              |
| Automatic order-status sync (callback)                | ✓                                                                                                                                                                                                                                                                                                                                                                                                          |
| Automatic invoice creation                            | ✓ (created on authorization, captured on capture/settlement)                                                                                                                                                                                                                                                                                                                                               |
| Refunds                                               | Issue the refund in the Merchant Portal; the module reflects it on the order automatically. There's no credit-memo/refund action in the Magento admin for this payment method                                                                                                                                                                                                                              |
| Pre-authorization (capture later)                     | ✓ invoice opened, captured on gateway capture                                                                                                                                                                                                                                                                                                                                                              |
| Saved cards (one-click payments)                      | ✓ — optional, off by default, Luma checkout. Logged-in customers can save the card they pay with and pay with it later in one click (3-D Secure still applies); saved cards appear in Magento's *Stored Cards* group at checkout and under *My Account → Stored Payment Methods*. You never see or store card details — see [Saved cards](/integration/web-plugins/magento-2/configuration.md#saved-cards) |
| Subscriptions / recurring payments / instant purchase | ✗                                                                                                                                                                                                                                                                                                                                                                                                          |
| Express wallet buttons in your store                  | ✗ — not shown in your shop's own checkout; Google Pay and Click to Pay appear as options after redirect, on the gateway's hosted page                                                                                                                                                                                                                                                                      |
| Multi-store                                           | Configuration available at website/store scope; not yet certified                                                                                                                                                                                                                                                                                                                                          |
| Translations shipped                                  | English                                                                                                                                                                                                                                                                                                                                                                                                    |

Gateway features beyond this list are available via the [Merchant API](/integration/merchant-api.md) or via the [API Client SDK](/integration/api-client-sdk.md).

## Compatibility

| Module version | Magento Open Source | PHP  |
| -------------- | ------------------- | ---- |
| 1.0.0          | 2.4.8+              | 8.3+ |

The module requires PHP 8.3.

## Next steps

* [Installation](/integration/web-plugins/magento-2/installation.md)
* [Configuration](/integration/web-plugins/magento-2/configuration.md)
* [Order statuses & operations](/integration/web-plugins/magento-2/order-lifecycle-and-operations.md)
* [Testing & go-live](/integration/web-plugins/magento-2/testing-and-go-live.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ecommerce.seb.ee/integration/web-plugins/magento-2.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
