@startuml title "Vision Note Cart to WebCat Cart in Dabory ERP" boundary UserView as userpage participant WP_Page as frontend database User_Meta as storage participant ERP_APP_API as backend participant ERPBackAPI as backapi database ERP_DB as db autonumber userpage->frontend: input App Guest Info note over frontend App Guest Info [in User Profile Page] 1. AppUri Target ERP App URI 2. AppBase64 AppKey provided by daborysso member end note frontend->storage: Save 'App Guest Info' in WP_DB userpage->frontend: choose product and option note over frontend #73EDFC [Product Page] 1. Product/Option 2. Discount Rate end note userpage->frontend: push product info to cart storage->frontend: Get App Guest Info frontend->frontend: proceed to cart page note over frontend #FCC873 [Cart Page] 1. Product/Option 2. Discount Rate end note frontend->backend: Request /gate-token-get backend->frontend: Response GateToken & BackAPIUri note over frontend #99FF99 [Cart Page Request] 1.GateToken in HTTP Header 2.BackAPIUri in Host 3. Product-ID / Price in Json !! GateToken and BackAPIUri shoud be saved in Session !! end note frontend->backapi: request /webcat-cart backapi->db: add a cart db->backapi: OK backapi->frontend: respose OK frontend->userpage: WebCatCart Added successfully @enduml