> For the complete documentation index, see [llms.txt](https://docs.constriv.shinesoftware.it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.constriv.shinesoftware.it/status-ordini.md).

# Status Ordini

Magento ha un sistema complesso per gli status degli ordini consentendo all'esercente di creare degli status sulla base dei preesistenti offrendo una vasta gamma di opportunità. Il modulo di pagamento Magento consente di impostare uno status iniziale all'ordine creato dal cliente quando conferma al checkout il carrello con la lista dei prodotti scelti.

Lo status iniziale viene considerato il primo status che l'ordine assumerà al click di conferma.

![](/files/-LfKlvnCzYTMKDxuhMmL)

Nel caso indicato dall'immagine su riportata, l'ordine verrà posto **in attesa** appena il cliente confermerà il suo carrello facendo click sul bottone di conferma dell'ordine nella pagina di checkout.

Se il modulo è impostato per utilizzare il redirect l'ordine verrà posto nello status **Pagamento in attesa** finchè il cliente non effettua il pagamento.

* Pagamento confermato
  * Ordine in Elaborazione
* Pagamento fallito
  * Ordine Annullato
  * Carrello mantiene i prodotti aggiunti
* Pagamento annullato&#x20;
  * Ordine Annullato
  * Carrello mantiene i prodotti aggiunti

![](/files/-LfKlvnEADJg1zEzqPa-)

Potrebbe succedere che il cliente torni indietro nel sito dell'esercente o abbandoni il sito della banca per accedere nuovamente nel internet dell'esercente per aggiungere e/o modificare il proprio carrello. Il modulo creerà un nuovo ordine abbandonando il vecchio ordine nello status in attesa e lasciando l'amministratore la libertà di scegliere se annullare l'ordine. In questo ultimo caso le risorse presenti nell'inventario saranno bloccate finché l'amministratore sceglierà l'operazione da compiere.


---

# 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://docs.constriv.shinesoftware.it/status-ordini.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.
