> 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-lt/gaires/sandbox/testavimo-scenarijai.md).

# Testavimo scenarijai

Patikrinkite savo mokėjimo integraciją ir kliento mokėjimo eigas sistemoje **Sandbox režimą** prieš apdorodami tiesiogines operacijas.

Naudokite šį testavimo planą, kad patikrintumėte, ar jūsų programa teisingai apdoroja mokėjimo būdus ir mokėjimo scenarijus, susijusius su jūsų integracija.

Vykdykite tik tuos scenarijus, kurie taikomi jūsų Sandbox parduotuvei įjungtiems mokėjimo būdams ir funkcijoms. Naudokite testines korteles, testinius bankus ir kitas reikšmes, pateiktas [**Testiniai duomenys**](/seb-docs-draft/seb-docs-public-lt/gaires/sandbox/bandomieji-duomenys.md).

{% hint style="info" %}
Mokėjimo būsena, kurią grąžina SEB Ecommerce Payment Gateway, yra galutinis mokėjimo rezultato šaltinis. Nevykdykite užsakymo vien remdamiesi tuo, kad klientas grįžo į jūsų svetainę.
{% endhint %}

***

### Prieš pradėdami

Prieš vykdydami testavimo scenarijus:

* Pasirinkite tinkamą Sandbox parduotuvę.
* Patikrinkite, ar įjungti reikalingi mokėjimo būdai.
* Sukonfigūruokite tinkamą Sandbox galinį tašką ir API prisijungimo duomenis savo integracijai.
* Sukonfigūruokite savo **Pagrindinis URL** ir **Atgalinio iškvietimo URL**, kur taikytina.
* Naudokite tik testines reikšmes, pateiktas **Testiniai duomenys**.
* Įsitikinkite, kad jūsų programa gali gauti ir apdoroti mokėjimo būsenos atnaujinimus.

Dėl Sandbox konfigūracijos žr. [**Naudojant Sandbox Mode**](/seb-docs-draft/seb-docs-public-lt/gaires/sandbox/naudojimasis-sandbox-rezimu.md).

***

### Ką turėtumėte testuoti?

Tikrintini scenarijai priklauso nuo mokėjimo būdų, integracijos metodo ir funkcijų, įjungtų jūsų Sandbox parduotuvei.

Naudokite šią matricą kaip gairę. Testuokite tik jūsų konfigūracijai taikomus scenarijus.

<table><thead><tr><th width="137.796875">Scenarijus</th><th width="109.51953125" align="center">Kortelės</th><th width="135.15625" align="center">Pay by Bank</th><th align="center">Apple Pay</th><th align="center">Google Pay</th><th align="center">Click to Pay</th></tr></thead><tbody><tr><td>Sėkmingas mokėjimas</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr><tr><td>Nesėkmingas mokėjimas</td><td align="center">✓</td><td align="center">✓</td><td align="center">Kur taikoma</td><td align="center">✓</td><td align="center">✓</td></tr><tr><td>Kliento atšaukimas</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr><tr><td>Kliento atsisakymas</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr><tr><td>Autentifikavimas</td><td align="center">EMV 3DS</td><td align="center">Banko autentifikavimas</td><td align="center">Piniginė</td><td align="center">Piniginė / 3DS</td><td align="center">Click to Pay</td></tr><tr><td>Mokėjimo būsenos patvirtinimas</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr><tr><td>Callback apdorojimas</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr><tr><td>Pakartotinis bandymas po nesėkmės</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr><tr><td>Pinigų grąžinimas</td><td align="center">✓</td><td align="center">Kur įjungta</td><td align="center">✓</td><td align="center">✓</td><td align="center">✓</td></tr><tr><td>Autorizavimas ir nurašymas</td><td align="center">Kur sukonfigūruota</td><td align="center">—</td><td align="center">Kur taikoma</td><td align="center">Kur taikoma</td><td align="center">Kur taikoma</td></tr></tbody></table>

{% hint style="info" %}
Tikslūs Sandbox aplinkoje pasiekiami scenarijai priklauso nuo jūsų Sandbox parduotuvei įjungtų mokėjimo būdų, paslaugų ir konfigūracijos.
{% endhint %}

***

### Testavimo vykdymas

Kiekvienam testavimo scenarijui:

1. Pradėkite mokėjimą naudodami pasirinktą integracijos metodą.
2. Užbaikite kliento mokėjimo eigą naudodami reikiamus testo duomenis.
3. Užfiksuokite **Mokėjimo ID** ar kitą taikomą mokėjimo nuorodą.
4. Patikrinkite galutinę mokėjimo būseną, grąžintą mokėjimo šliuzo.
5. Patvirtinkite, kad jūsų programa teisingai atnaujina atitinkamą užsakymą.
6. Patikrinkite operaciją **Merchant Portal → Užsakymai**.
7. Saugokite mokėjimo ID ir laukiamą rezultatą kartu su savo testavimo įrodymais.

{% hint style="info" %}
Sandbox operacijos yra simuliuojamos. Testų rezultatai patvirtina jūsų integraciją pagal iš anksto apibrėžtą Sandbox elgseną ir neatspindi faktinio išdavėjo, banko, kortelių schemos ar išorinio mokėjimo paslaugų teikėjo elgsenos.
{% endhint %}


---

# 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-lt/gaires/sandbox/testavimo-scenarijai.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.
