Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleSequenceDiagram Code

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

Feature Flags

Noteinfo

For this task it will be necessary to create a new feature flag for the Apple Pay Iframe just for the frontend

...