Online Book Purchase Process

→ Participants:
Process Flow:

→ Customer
1. Customer decides to purchase a book.

→ Online Bookstore System
2. Search for a book.
3. Select a book.

→ Payment Gateway
4. Check if the selected book is in stock.
5. Display book details and price.
6. Confirm purchase and provide payment details.
7. Validate payment details.
8. Process payment.
9. Check if payment is successful.
10. Confirm order and send an order confirmation message to the customer.
11. Customer receives the order confirmation.. envíame la tabla con las respuestas