Commit Graph

620 Commits

Author SHA1 Message Date
20b4269358
add a custom error struct that carries both fields from the API error 2025-10-21 15:47:39 +03:00
8ee1b449f9
use the updated sarafu-api package with error codes 2025-10-21 15:47:16 +03:00
ba9a23946f
added ClearTransactionTypeFlag when a user goes back
Some checks failed
release / docker (push) Has been cancelled
2025-10-09 15:08:51 +03:00
34271cba23 Merge branch 'master' into send-with-swap
Some checks failed
release / docker (push) Has been cancelled
2025-10-09 14:32:31 +03:00
e029a8cdc7
improved the tests by updating the menu 2025-10-09 14:19:03 +03:00
9878745861
fixed the TestCheckBalance by adjusting the expected result 2025-10-09 13:39:30 +03:00
606a551f60
use the correct data keys on the test 2025-10-09 13:31:55 +03:00
ed780659d3
removed the debug statements 2025-10-09 13:20:58 +03:00
764431ee58
added some debug statements 2025-10-09 13:08:22 +03:00
fb5eb3f24f
added the determineAndSaveTransactionType heper for shared logic on the transaction type 2025-10-09 12:45:16 +03:00
27fdb20974
handle the transaction type for a swap when using an alias 2025-10-09 12:27:51 +03:00
f7859fb72a
handle the transaction type for a swap when using an address 2025-10-09 12:15:56 +03:00
c58e260239 Merge pull request 'ui-cleanup-update' (#104) from ui-cleanup-update into master
Some checks failed
release / docker (push) Has been cancelled
Reviewed-on: #104
2025-10-03 17:31:40 +02:00
8d6cbde66c
sanitize invalid characters while showing the token details 2025-10-03 17:25:34 +03:00
48ebc922be removed invalid tracked file 2025-10-03 17:03:46 +03:00
610ecc4b7e changed the word Commodity to Product 2025-10-03 17:01:08 +03:00
0e5454ae5d added a test case for the invalid symbol replacement 2025-10-03 16:57:04 +03:00
8585203c0a added a mapping to replace invalid characters on voucher symbols 2025-10-03 16:56:48 +03:00
7973ecdfd9 Merge branch 'master' into send-with-swap
Some checks failed
release / docker (push) Has been cancelled
2025-08-26 12:22:50 +03:00
c90d3cd731
added the handler functions 2025-08-25 17:28:11 +03:00
cda2d49f3e
added TransactionInitiateSwap functionality that performs a swap followed by a send 2025-08-25 17:27:20 +03:00
4492f8087a
added TransactionSwapPreview functionality 2025-08-25 17:25:59 +03:00
0f8c2f9270
use the recipient's phone number to read swap related data 2025-08-25 17:24:58 +03:00
5a09d33be0
removed unused DATA_RECIPIENT_ACTIVE_TOKEN key 2025-08-25 17:21:23 +03:00
0c67efedea
added the transaction_swap_initiated node 2025-08-25 17:20:34 +03:00
14d493475e
catch the flag_swap_transaction and move to the transaction_swap node 2025-08-25 17:20:07 +03:00
0e4dfe1baf
added the flag_swap_transaction when a swap needs to be performed in the send node 2025-08-25 17:19:11 +03:00
7e1042c6a9
update the MaxAmount logic to check the swap capability for swap transactions 2025-08-25 12:46:16 +03:00
e274967c8e
update the handlePhoneNumber logic to cover new users or those without an active voucher 2025-08-25 10:52:22 +03:00
16e2bbb409
use updated visedriver-africastalking to correctly log the incoming request 2025-08-20 16:12:35 +03:00
5fd3102852
update the repository to be used on build and the README 2025-08-20 09:37:15 +03:00
790f50e5e1
use updated visedriver-africastalking 2025-08-19 17:35:42 +03:00
77721e7ef6
replace the go-vise package and remove logdb 2025-08-19 15:58:07 +03:00
b8e939c899
use the updated go-vise package, along with visedriver and sarafu-api 2025-08-19 15:54:40 +03:00
43904491ae
added the grassrootseconomics/go-vise package 2025-08-18 16:34:16 +03:00
83ea123d56 added missing env variables
Signed-off-by: Alfred Kamanda <alfredmwaik@gmail.com>
2025-08-18 16:19:22 +03:00
2cd875eb4d
rebuild: with logtrace
Some checks failed
release / docker (push) Has been cancelled
2025-08-15 16:28:37 +03:00
Alfred Kamanda
5b82afa768
added the DATA_RECIPIENT_PHONE_NUMBER to store the formatted phone number 2025-08-04 13:50:21 +03:00
Alfred Kamanda
b6de057cc4
add a reset for the DATA_RECIPIENT_ACTIVE_TOKEN key 2025-08-04 11:21:14 +03:00
Alfred Kamanda
758463ee8c
add transaction data keys 2025-08-04 11:19:22 +03:00
Alfred Kamanda
f441b3b2af
split the ValidateRecipient and check the transaction type 2025-08-04 11:18:45 +03:00
Alfred Kamanda
4d687cac2e
updated the MaxAmount description comment 2025-07-30 11:46:22 +03:00
3d57150465 Merge pull request 'Set crucial missing flags if the data exists' (#100) from sync-flags into master
Reviewed-on: #100
2025-07-29 13:04:18 +02:00
bd8631eb05
update the TestCheckBlockedStatus to account for the udpated functionality
Some checks failed
release / docker (push) Has been cancelled
2025-07-28 16:15:21 +03:00
c51fd89ad5
set key flags (language and PIN) if the data exists and the flags are missing 2025-07-28 16:14:32 +03:00
bcccd79e70 Merge pull request 'exclude active data from lists' (#99) from exclude-active-data-from-lists into master
Some checks failed
release / docker (push) Has been cancelled
Reviewed-on: #99
2025-07-22 11:53:02 +02:00
193c9c119a
filter out the active voucher from swapToList 2025-07-21 13:01:06 +03:00
36a3c59287
removed existing INCMP statement 2025-07-21 12:34:45 +03:00
1234723e10
add navigation inputs for the swap_to list 2025-07-21 12:30:30 +03:00
61f48abb7d
return on navigation inputs to prevent data processing 2025-07-21 12:30:05 +03:00