# Booking Statuses in Gotadi's Booking Flow

## Statuses from Booking Management

The Gotadi system has three statuses that are combined into a final status displayed to the user: Booking Status, Payment Status, and Issued Status.

<details>

<summary>Booking statuses</summary>

* Pending
* Booking on Process
* Booked
* Failed
* Expired

</details>

<details>

<summary>Payment statuses</summary>

* Pending
* Success
* Failed
* Refund

</details>

<details>

<summary>Issued statuses</summary>

* Pending
* Ticket on Process
* Success
* Failed
* Cancel

</details>

The statuses will change differently depending on the user's booking flow. Details are as follows:

<figure><img src="https://3127657987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fka3LMTlXv2Ay7BbFZMOc%2Fuploads%2FcdWsYWfKW3VuOSNwvTZy%2FFlow%20chart.png?alt=media&#x26;token=8dc95df2-d9c0-4bc3-86f2-ec211de1b1f4" alt=""><figcaption></figcaption></figure>

*View high-quality images in the file below.*

[Flow chart.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/23924465-c7b8-4665-992d-15be86d4356d/Flow_chart.png)

## Detailed meanings of the statuses

| Notify the user                              | Booking Status     | Payment status | Issued status     | Final Status  | Meaning                                                                                                                                                                     | Applicable for             |   |
| -------------------------------------------- | ------------------ | -------------- | ----------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | - |
| Booking not yet made                         | Pending            | Pending        | Pending           | BOOK\_PENDING | Default status, occurs after search & detail viewing. Not displayed in MIS or to users.                                                                                     | Combo, Flight, Hotel, Tour |   |
| Transaction failed                           | Failed             | Pending        | Pending           | BOOK\_FAILED  | No available slots for booking                                                                                                                                              | Combo, Flight, Hotel, Tour |   |
| Reservation held, awaiting payment           | Booked             | Pending        | Pending           | <p><br></p>   | Booking successful, awaiting payment, ticket not issued                                                                                                                     | Combo, Flight, Hotel, Tour |   |
| Payment successful, awaiting ticket issuance | Booked             | Success        | Pending           | <p><br></p>   | Booking successful, payment successful, awaiting ticket issuance                                                                                                            | Combo, Flight, Hotel, Tour |   |
| Request submitted, awaiting processing       | Booking On Process | Pending        | Pending           | <p><br></p>   | Booking request submitted, awaiting confirmation. Request sent to the Operations team for review & direct customer contact                                                  | Tour                       |   |
| Payment failed                               | Booked             | Failed         | Pending           | <p><br></p>   | Booking successful, payment failed, ticket not issued                                                                                                                       | Combo, Flight, Hotel, Tour |   |
| Transaction expired                          | Expired            | Pending        | Pending           | <p><br></p>   | Booking successful, awaiting ticket issuance, payment deadline expired                                                                                                      | Combo, Flight, Hotel, Tour |   |
| Transaction successful                       | Booked             | Success        | Success           | <p><br></p>   | Booking successful, payment successful, ticket issued successfully                                                                                                          | Combo, Flight, Hotel, Tour |   |
| Payment successful, ticket issuance failed   | Booked             | Success        | Failed            | <p><br></p>   | Booking successful, payment successful, ticket issuance failed during manual processing                                                                                     | Combo, Flight              |   |
| Payment successful, room issuance failed     | Booked             | Success        | Failed            | <p><br></p>   | Booking successful, payment successful, ticket issuance failed during manual processing                                                                                     | Combo, Hotel               |   |
| Transaction expired                          | Booked             | Expired        | Failed            | <p><br></p>   | Booking successful, ticket issuance failed, payment deadline expired                                                                                                        | Combo, Flight, Hotel, Tour |   |
| Transaction processing                       | Booked             | Success        | Ticket on Process | <p><br></p>   | Booking successful, payment successful, but due to technical issues (network, infrastructure, etc.), information was not sent to the partner and requires manual processing | Combo, Flight, Hotel, Tour |   |
| Canceled faulty ticket                       | Cancel             | Success        | Ticket on Process | <p><br></p>   | Booking successful, payment successful, ticket issuance request is being processed, then booking canceled                                                                   | Combo, Flight, Hotel, Tour |   |
| Canceled successfully issued ticket          | Cancel             | Success        | Success           | <p><br></p>   | Booking successful, payment successful, ticket issuance request was successful, then booking canceled                                                                       | Combo, Flight, Hotel, Tour |   |
| Refunded faulty ticket                       | Cancel             | Refuned        | Ticket on Process | <p><br></p>   | Booking canceled due to ticket issue, refund issued to the customer                                                                                                         | Combo, Flight, Hotel, Tour |   |
| Refunded successfully issued ticket          | Cancel             | Refuned        | Success           | <p><br></p>   | Booking canceled after successful ticket issuance, refund issued to the customer                                                                                            | Combo, Flight, Hotel, Tour |   |
