Alfred Kamanda Alfred-mk
  • Nairobi, Kenya
  • Joined on 2024-08-12
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-30 09:45:35 +02:00
76185c3aa1 Use AccountService in the TestCreateAccount
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-29 22:06:02 +02:00
ca86ef1507 Use gettext for the Quit function
75ca39b012 Define the regex pattern as a constant
1a7c992e5b Return without setting the flag that's already set
Compare 3 commits »
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-29 18:25:33 +02:00
802c3f92df Added tests for CreateAccount and SavePin
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-28 17:27:11 +02:00
3fdd702e93 Use getText for the language switch
Alfred-mk commented on pull request urdt/ussd#4 2024-08-28 17:00:39 +02:00
wip-account-creation

The switch only takes in two options, 0 or 1. The menu remains on the select language node if an alternative input is provided

Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-28 15:24:13 +02:00
9f0ef13198 Added documentation lines on functions
Alfred-mk commented on pull request urdt/ussd#4 2024-08-28 14:38:37 +02:00
wip-account-creation

This sets a flag that shows the account has a PIN. Due to the difference in functionality I saw it best to use it instead of "unlock"

Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-28 13:55:04 +02:00
768535b540 Quit with the transaction confirmation
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-28 13:11:52 +02:00
7b33f2f644 Initiate a transaction once a valid PIN is provided
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-27 23:20:12 +02:00
b48760760b Validate that the PIN is 4 digits
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-27 15:39:36 +02:00
633d56b0ad Allow users to include 'CELO' in the amount
2b10f6023f Use the balance as the max_amount
8d9aaeedbc Validate that the amount is not greater than the balance
Compare 3 commits »
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-27 14:43:35 +02:00
1d578209fc Ensure that the user sets a PIN before proceeding to main
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-27 12:38:33 +02:00
bf99ed8482 Added a CATCH if the account creation fails
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-27 10:20:29 +02:00
9f1eed9ab3 Add an account util for reading and writing data to file
Alfred-mk commented on pull request urdt/ussd#4 2024-08-26 15:33:10 +02:00
wip-account-creation

Yes, the current USSD has the option of updating the gender, and the options are Male, Female and Other

Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-26 14:59:54 +02:00
1634854231 set the flags to 14
1a997e8b26 updated the file structure to have external functions on a different package
Compare 2 commits »
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-26 13:35:08 +02:00
68dc77d5eb added flags model
Alfred-mk created pull request urdt/ussd#4 2024-08-23 23:52:18 +02:00
wip-account-creation
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-23 18:07:50 +02:00
617a6101aa remove extra new lines
538a06887a change position of CATCH to correct node and route to previous node
Compare 2 commits »
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-23 15:02:03 +02:00
460e951584 validate PIN using the set AccountPIN
a508f06583 create an account using the API
Compare 2 commits »