Swimlanes.io is a free webapp for making sequence diagrams. You simply edit the text on the left and the diagram is updated in real time. You can download your sequence diagrams as images or distribute with a link.
Title: HiPay Hosted Page Link Associate -> POS: Add product to cart Associate -> POS: Select customer and initiate Pay by link (via deeplink in the payment tiles section) POS -> Cloud: Send Phase 1 Request without tenders note: If customer is logged in and customer emailId is present on the cart, backend will use this. Otherwise backend will throw an error. For HiPay PPBL feature, guest checkout is not allowed. App will ask SA to add user before making Phase 1 call. Cloud -> HiPay: create PayByLink URL with amount note: This is similar to HiPay implementation. Instead of initiating HiPay payment, backend will create Payment link and send it to customer. Cloud -> Buyer: Send Payment link to customer POS -> Cloud: App will continue polling Buyer -> HiPay: completes payment through their phone, Informs associate HiPay -> Cloud: send Payment status Cloud -> Cloud: update the order entry with payment details and payment link. note: After polling and getting payment status as APPROVED, app will submit the order. This is similar to HiPay payment submission. POS -> Cloud: get payment status for the **paymentId** note: If timeout happens and payment status is not updated to APPROVED, app will cancel the order. POS -> Cloud: Send Confirm order/Phase 2 request, complete with print receipt Cloud -> External OMS: Export the order via Tlog