Alfred Kamanda Alfred-mk
  • Nairobi, Kenya
  • Joined on 2024-08-12
Alfred-mk pushed to wip-flag-migration at urdt/ussd 2024-08-31 10:56:59 +02:00
9fb3ef8e2a Use preprocessor flags
Alfred-mk pushed to wip-flag-migration at urdt/ussd 2024-08-31 10:28:07 +02:00
bcc73dec23 Add the flag file during build
Alfred-mk pushed to wip-flag-migration at urdt/ussd 2024-08-31 09:31:00 +02:00
828f9a17fc Added the csv containing string flags
Alfred-mk pushed to wip-account-creation at urdt/ussd 2024-08-30 12:56:29 +02:00
2c6f70dfa5 Add tests for GetSender and GetAmount
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 »