title Apple Pay User->Frontend: User click to pay with Apple Pay Frontend->Graphql: Request generate checkout link Graphql->Paycomet Service: Request generate checkout link Paycomet Service->Paycomet: Generate iframe (fullscreen) Paycomet->Paycomet Service: iFrame link Graphql<-Paycomet Service: iFrame link Frontend<-Graphql: iFrame link Frontend->Frontend: Show iFrame User<-Frontend: Open iFrame User->Frontend: Click Apple Pay Button (Inside iFrame) Frontend->iOS: User accept payment via apple pay Frontend<-iOS: Handle Payment Frontend->Frontend: Payment captured Frontend->Frontend: Save order payment (Backend Commit Order) Frontend->Frontend: Polling Order Status Paycomet Service<-Paycomet: Paycomet Order Notification Payment Service<-Paycomet Service: Update Order Frontend->Frontend: Polling Order Captured Frontend->Frontend: Handle order Success or Failed |