Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User story 12: As Choronko using a PowerPay User, I would like to check my balance #5

Open
stephane-segning opened this issue Mar 1, 2024 · 0 comments

Comments

@stephane-segning
Copy link
Contributor

stephane-segning commented Mar 1, 2024

Description

Sequence Diagram

sequenceDiagram

participant cu as choronko user
participant choronko as choronko
cu->>choronko : check balance ()
choronko->>pps : send request
pps->>pps : check account
pps-->>choronko : Request for PIN(send procedure ID)
choronko-->>cu : Display enter PIN message
cu->>choronko : Send PIN 
choronko->>pps : send PIN(PIN, procedure ID)
pps->>pps : validate PIN
pps-->>choronko : balance details
choronko-->>cu : Display balance details
Loading

Wireframe

Image

Tickets and Explanations

  • Refer to U.S: User story 14: As PawerPay Kiosk, I would like to check my balance #1
  • Implement a translation service to convert messages from the Choronko phone to the P.P.Service.
    • Implement a Spring cloud function app to receive webhooks from the SMS Gateway
    • Call the P.P. Service with required data
    • Return a result to the user
    • The following diagram show a basic flow
flowchart LR
    ChoronkoPhone --> APIGateway
    APIGateway --> |"New SMS (with content)"|TranslationService
    TranslationService --> |"Nomal Message"|PPService
    PPService --> |Response|TranslationService
    TranslationService --> |"Parse SMS"|APIGateway
    APIGateway --> |"final message"|ChoronkoPhone
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant