Homework 2 E-shop System System Order received Check Item availability Items in stock? Out of stock Request payment Verify card transaction Generate bill Transaction denied Is verified? Archive Order sent Payed 30 min Canceled Order canceled Cancel order After third unsuccessful request cancel order Warehouse Warehouse Find item Pack item Send item Stock It waits 30min to get info about payment or order cancelation. If neither of that happens system will request payment again. Customer Bank Zdeno Nekvasil, 456198 Purchase of an item in the e-shop. Checking the availability of the item, request payment checking the money transaction and then generating the receipt and sending the item. Customer can cancel order before payment. No Yes Online order Purchase approved and item sent. Yes Third time Verification responseRequest for verification Transaction deniedItem out of stock Request paymetn Order canceled Payment info Order canceled No Result: 12