> 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/seb-docs-draft/seb-docs-public-lv/integracija/timekla-spraudni/magento-2/uzstadisana.md).

# Uzstādīšana

Instalējiet SEB E-komercijas maksājumu vārtejas moduli Magento 2

**Šī lapa ir paredzēta izstrādātājiem.** Tirgotāji: pārsūtiet to tam, kurš uztur jūsu Magento instalāciju.

## Priekšnosacījumi

* Magento Open Source ar PHP 8.3+
* SSH/CLI piekļuve ar tiesībām izvietot kodu un palaist `bin/magento`
* SEB E-komercijas maksājumu vārtejas akreditācijas dati pa rokai (skat. [priekšnosacījumi](/seb-docs-draft/seb-docs-public-lv/integracija/timekla-spraudni.md))
* Pirms instalēšanas izveidojiet koda un datubāzes dublējumu

## Instalēt

1. Lejupielādējiet un atarhivējiet Magento 2 moduļa pakotni.
2. Kopējiet moduli savā Magento instalācijā:

   ```bash
   mkdir -p app/code/EGW/Checkout
   cp -R <extracted>/EGW/Checkout/* app/code/EGW/Checkout/
   ```
3. Iespējojiet moduli un atjauniniet uzstādīšanu:

   ```bash
   bin/magento module:enable EGW_Checkout
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```
4. Produkcijas režīmā atkārtoti izvietojiet arī statisko saturu:

   ```bash
   bin/magento setup:static-content:deploy
   ```
5. Pārbaudiet: `bin/magento module:status EGW_Checkout` ziņo, ka modulis ir iespējots, un **Veikali → Konfigurācija → Pārdošana → Maksājumu metodes** parāda *SEB E-komercijas maksājumu vārteja*.

Modulim nav nepieciešami failu labojumi un nav vajadzīgas videi specifiskas vērtības, izņemot akreditācijas datus, ko ievadāt administrācijas panelī. Turpiniet ar [Konfigurācija](/seb-docs-draft/seb-docs-public-lv/integracija/timekla-spraudni/magento-2/konfiguracija.md).

![Veikali → Konfigurācija → Pārdošana → Maksājumu metodes → Citas maksājumu metodes, izvērstas, lai pēc instalēšanas nekavējoties parādītu SEB E-komercijas maksājumu vārtejas sadaļu, pirms ir ievadītas jebkādas vērtības.](https://3998930162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuBDtfypkI85zidcVwaDj%2Fuploads%2FUjFLfo5FGxzpsNqLH18T%2Fm2-payment-methods-panel.png?alt=media)

## Atinstalēt

```bash
bin/magento module:disable EGW_Checkout
bin/magento setup:upgrade
rm -rf app/code/EGW/Checkout
bin/magento setup:di:compile && bin/magento cache:flush
```

Kas paliek: moduļa konfigurācijas vērtības (tostarp akreditācijas dati) iekš `core_config_data`, kā arī visi tā izveidotie pasūtījumi/rēķini/kredītrēķini. Ja nepieciešams, dzēsiet konfigurācijas rindas manuāli un izdzēsiet Callback URL reģistrāciju Tirgotāja portālā.

## Atjaunināšana

Aizstāt `app/code/EGW/Checkout` ar jauno versiju un atkārtoti palaidiet iespējošanas secību (`setup:upgrade`, `di:compile`, `cache:flush`, statiskā satura izvietošana produkcijā).


---

# 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/seb-docs-draft/seb-docs-public-lv/integracija/timekla-spraudni/magento-2/uzstadisana.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.
