Commit Graph

22 Commits

Author SHA1 Message Date
5cfdd949ff
use the correct amount when initiating the transfer (the amount that has been swapped)
Some checks failed
release / docker (push) Has been cancelled
2025-10-22 17:32:35 +03:00
865dae4b7f
correctly format amounts to 2 decimal places using TruncateDecimalString 2025-10-22 16:16:05 +03:00
0af41ea1f1
Merge branch 'master' into send-with-swap 2025-10-22 14:40:21 +03:00
1ba5424e0b
cleaned up the code and removed the debug statement 2025-10-22 12:20:41 +03:00
5b4446c04a
use the upstream APIError 2025-10-22 12:10:19 +03:00
bd98034a9b
added debug line 2025-10-21 16:05:00 +03:00
95bc5ec6af
set a different response content based on the API error code 2025-10-21 15:49:02 +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
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
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
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
Alfred Kamanda
b6de057cc4
add a reset for the DATA_RECIPIENT_ACTIVE_TOKEN key 2025-08-04 11:21:14 +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
da64c3b80e MAJOR REFACTOR: project-tidyup - menuhandler and tests (#90)
Partly resolves issue #86

Reviewed-on: #90
Co-authored-by: alfred-mk <alfredmwaik@gmail.com>
Co-committed-by: alfred-mk <alfredmwaik@gmail.com>
2025-07-14 14:42:54 +02:00