HW2 - Eshop Ordering System Zhukova Anna 469517 Customer EshopOrderingSystem OrderingSystem Ordering System Order Recieved Check Item Availability Notify User About Item Unavailability Cancellation Recieved Request for Alternative Item Recieved Cancel the Order Order Cancelled Checkout Verify Payment Payment is Not OK Notify User About Payment Failure Create New Order Item Is Not Available Customer can cancel the order or select one of the offered alternatives Product Database Generate the Invoice Handle Payment Failure Info Retry the Payment? Customer can cancel the order or pay for it within one hour before the order is cancelled automatically Printed Invoice 1 hour Order Cancellation Recieved Employee Employee Fetch the Item Hand the Order to the Parcel Carrier Order Completed Payment Gateway Parcel Carrier OrderRequest ItemUnavailableNotification ChangeofItemRequest OrderCancellation OrderReview OrderConfirmationorCancellation PaymentFailureNotification RetrythePaymentorCanceltheOrderInfo PackedOrder OrderCompletionNotification OrderCancellationNotification Yes No VerificationRequest VerificationResponse The business process starts with the customer creating the order request. The system checks the database for item availability. If the item is not available, the customer is given the choice of whether they want to buy a similar item or cancel the order. If the item is in stock, the customer gets the review of the order. Then they can proceed to payment or cancel the order within 1 hour; otherwise, the order will be canceled automatically. In the next step, the customer pays for the order, and the payment is being veriļ¬ed. In case of failure, the customer is given a chance to retry the payment. If the payment is successful, the system generates the printed bill, and the e-shop employee prepares the order for sending. Then the order and the invoice are given to the parcel service for delivery. Result: 12 out of 12