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 13: As A powerPay User I will Like To check My balance using My SmartPhone #6

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

Comments

@stephane-segning
Copy link
Contributor

1.Description

2.Sequence Diagram

sequenceDiagram
participant u as User
participant s as Smart phone
participant ppa as PowerPay App
participant pps as PowerPay Service
u->>s:Communication
s->>ppa: Ask for balance check(PIN)
ppa->>pps:send(request and PIN)
pps->>pps:check for pin and account
pps-->>ppa:incorrect PIN(response)
ppa-->>s:incorrect PIN(reponse)
s-->>u:Dsplay(response)
pps-->>ppa:ok(balance)
ppa-->>s:ok(balance)
s-->>u:Dsplay(balance)

Loading

3.WireFrame

Image

4.Ticket
Implement user pin input in the Frontend (PWA): A user should give his PIN to validate the check balance process
Implement OK screen in the Frontend (PWA): A user should see a his balance and can close the screen with the ok button.

  • Implement the checkBalance(PN) function (REST API): Use PIN and Number to query balance for the corresponding account in the database.
  • corresponding error code to the user. This function returns an error message by validating the users account if not present in the database
@stephane-segning
Copy link
Contributor Author

This is the same as #1

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