|
09eac03e10
|
use env variables
|
2024-10-15 23:41:16 +03:00 |
|
|
51122d0fc5
|
added an env.example file
|
2024-10-15 22:31:37 +03:00 |
|
|
d05c666513
|
Merge branch 'master' into menu-voucherlist
|
2024-10-15 17:08:48 +03:00 |
|
|
a336856c9b
|
use separate functions to process voucher data
|
2024-10-15 17:02:51 +03:00 |
|
|
0be570ae2d
|
add check for api call failure
|
2024-10-15 16:31:31 +03:00 |
|
|
6a36bc43b5
|
add check for api call failure
|
2024-10-15 16:31:15 +03:00 |
|
|
1d27a88908
|
add test on validate amount
|
2024-10-15 16:30:29 +03:00 |
|
|
f378f15422
|
updated tests
|
2024-10-15 16:29:51 +03:00 |
|
|
b2fb9faf6c
|
use the active balance to validate the amount
|
2024-10-15 16:17:33 +03:00 |
|
|
859e203a00
|
removed debug comments
|
2024-10-15 15:54:43 +03:00 |
|
|
6c6af5ec21
|
set a default voucher as the active sym if none exists
|
2024-10-15 15:46:02 +03:00 |
|
|
8ed98b3e6c
|
resolve case issue
|
2024-10-15 14:53:00 +03:00 |
|
|
4889e6d18b
|
Merge remote-tracking branch 'origin' into menu-api-errors
|
2024-10-15 14:04:45 +03:00 |
|
|
368c25125a
|
set flag count to 128
|
2024-10-15 13:59:49 +03:00 |
|
|
283793a2ae
|
add swahili menu option
|
2024-10-15 13:57:45 +03:00 |
|
|
bec7e5c69f
|
update: fetch balances in a sepate function,show profile information in swahili and english
|
2024-10-15 13:57:05 +03:00 |
|
|
d638aba85e
|
update tests
|
2024-10-15 13:50:28 +03:00 |
|
|
df7788dd0b
|
return actual reponses on the api calls
|
2024-10-15 13:48:14 +03:00 |
|
|
4a62773098
|
add handler fetching custodial balances
|
2024-10-15 13:44:50 +03:00 |
|
|
26d315b032
|
add check for api call failure
|
2024-10-15 13:42:20 +03:00 |
|
|
1927544533
|
reset authorized flag
|
2024-10-15 13:40:40 +03:00 |
|
|
c641a0c669
|
add api failure nodes
|
2024-10-14 23:19:09 +03:00 |
|
|
952da86931
|
update balance nodes
|
2024-10-14 23:18:42 +03:00 |
|
|
be6391686f
|
update return type
|
2024-10-14 23:17:57 +03:00 |
|
|
65794c1b20
|
add api calls flag
|
2024-10-14 23:17:17 +03:00 |
|
|
b058f9d770
|
Merge pull request 'Adapter to enable subdomain of db key prefixes' (#102) from lash/subprefix into master
Reviewed-on: urdt/ussd#102
|
2024-10-14 15:11:07 +02:00 |
|
|
7df77a1343
|
updated the ValidateAmount to also check the active symbol, updated tests
|
2024-10-12 20:07:06 +03:00 |
|
|
f5dbfe553d
|
use the check_balance for the max_amount
|
2024-10-12 20:06:00 +03:00 |
|
|
7fe8f0b7d5
|
updated the args under FetchVouchers
|
2024-10-12 18:03:13 +03:00 |
|
|
a9f9867976
|
added the TestSetVoucher
|
2024-10-12 17:36:00 +03:00 |
|
|
b6d24bf929
|
update the TestCheckBalance
|
2024-10-12 16:29:12 +03:00 |
|
|
e9684fcf45
|
check whether the active symbol is empty
|
2024-10-12 16:28:02 +03:00 |
|
|
a5b1c5b74e
|
cleaned up the code
|
2024-10-12 14:32:40 +03:00 |
|
|
672eebb8fb
|
display the balance based on the symbol
|
2024-10-11 09:42:08 +03:00 |
|
|
8f834b3d76
|
ensure that a user is authorized
|
2024-10-11 09:41:47 +03:00 |
|
|
6c93fb76b1
|
correctly added the flag and the flag count
|
2024-10-11 09:36:43 +03:00 |
|
|
ea2df55295
|
use go-vise v0.2.0
|
2024-10-10 15:18:13 +03:00 |
|
|
7c08a0f0af
|
add temp and active balance
|
2024-10-10 14:48:23 +03:00 |
|
|
9ad7d5a522
|
set the active symbol
|
2024-10-09 15:39:06 +03:00 |
|
|
6c904a8b3f
|
add the temporary and active symbol
|
2024-10-09 15:38:19 +03:00 |
|
|
9ccb6cc066
|
use 99 as the quit
|
2024-10-09 15:05:59 +03:00 |
|
|
2c98a8e133
|
read token list from json file
|
2024-10-08 14:34:21 +03:00 |
|
|
4b6fd35e7a
|
define importable voucher response
|
2024-10-08 13:43:57 +03:00 |
|
|
b3c7a3a337
|
Merge remote-tracking branch 'refs/remotes/origin/menu-voucherlist' into menu-voucherlist
|
2024-10-08 13:43:19 +03:00 |
|
|
7b374ad801
|
define importable token list
|
2024-10-08 13:41:09 +03:00 |
|
|
cb4a52e4f2
|
view a selected voucher and verify the PIN
|
2024-10-07 16:16:57 +03:00 |
|
|
06ebcc0f07
|
added swahili template
|
2024-10-07 16:15:13 +03:00 |
|
|
e4ed9a65bb
|
store the symbols and balances
|
2024-10-07 13:49:12 +03:00 |
|
|
755899be4e
|
store the pre-rendered vouchers list
|
2024-10-07 08:59:15 +03:00 |
|
|
4dede757d2
|
Merge branch 'lash/subprefix' into menu-voucherlist
|
2024-10-07 08:06:37 +03:00 |
|