|
|
916ac11585
|
use the correct decimal when displaying the quote
release / docker (push) Has been cancelled
|
2026-02-05 19:58:14 +03:00 |
|
|
|
c57aa220e6
|
show a default message if the user only has 1 voucher
|
2026-02-04 17:02:24 +03:00 |
|
|
|
ce36e584dd
|
check whether any of the users vouchers are stables or set a flag
|
2026-02-04 16:35:07 +03:00 |
|
|
|
6a4909b8a1
|
separate the main balance from the credit and debt calculation and UI
|
2026-02-03 17:03:38 +03:00 |
|
|
|
e4c10d23d3
|
reset the flags to clear out old states
|
2026-02-03 16:49:11 +03:00 |
|
|
|
70ae3c7818
|
debug: shorten the displayed content
|
2026-02-03 14:32:21 +03:00 |
|
|
|
9ef27fda14
|
reset the api_call_error flag
|
2026-02-03 13:36:14 +03:00 |
|
|
|
42f7b0f8a7
|
remove the api failure flag if no swappable vouchers are found
|
2026-02-03 13:34:05 +03:00 |
|
|
|
85b8775fd0
|
return nil instead of an error to prevent failure
|
2026-02-03 13:32:13 +03:00 |
|
|
|
3949959aa3
|
use the correct terms for clarity
release / docker (push) Has been cancelled
|
2026-01-30 16:41:44 +03:00 |
|
|
|
ca2a50375b
|
added functions to perform the debt removal
|
2026-01-30 15:13:33 +03:00 |
|
|
|
4dfccb3ff2
|
log the correct fields
|
2026-01-30 10:22:36 +03:00 |
|
|
|
ead5dd7b8c
|
store the filtered vouchers from the GetPoolSwappableFromVouchers
|
2026-01-29 17:10:20 +03:00 |
|
|
|
6bb87a7b33
|
added the CalculateCreditAndDebt function
|
2026-01-29 16:57:00 +03:00 |
|
|
|
cfc38402f0
|
display the credit and debt
|
2026-01-29 16:14:04 +03:00 |
|
|
|
e2ff3d20d5
|
updated the resolveActivePoolAddress to resolveActivePoolDetails
|
2026-01-26 13:28:31 +03:00 |
|
|
|
523f680276
|
append the flag_swap_transaction once all checks pass
release / docker (push) Has been cancelled
|
2026-01-15 11:25:02 +03:00 |
|
|
|
b337c9260b
|
add a debug statement
|
2026-01-15 11:17:41 +03:00 |
|
|
|
7d8fd065f0
|
default to a normal send if an error occurs on calculateSendCreditLimits
|
2026-01-15 10:56:20 +03:00 |
|
|
|
a447f230ca
|
refactor the code to handle credit send or normal transactions
|
2026-01-13 12:45:27 +03:00 |
|
|
|
d586c41cca
|
add sleep for 1 second between requests
release / docker (push) Has been cancelled
|
2025-12-03 13:12:24 +03:00 |
|
|
|
1cb82e9099
|
call the mpesa rates API to get the rates
|
2025-12-02 12:28:28 +03:00 |
|
|
|
e658460845
|
Merge branch 'master' into mpesa-onramp-offramp
|
2025-11-28 11:54:29 +03:00 |
|
|
|
bbc5b8f82a
|
Merge branch 'master' into update-balance-on-empty-vouchers
|
2025-11-28 11:42:40 +03:00 |
|
|
|
17c9925b14
|
convert the amount to an int before calling the MpesaTriggerOnramp API
|
2025-11-28 10:40:43 +03:00 |
|
|
|
9b8c5a021b
|
added the send mpesa functionality with the use of config values
|
2025-11-27 16:45:56 +03:00 |
|
|
|
98bc2dbac1
|
refactored the code for proper transaction flow for normal and swap transfers
|
2025-11-27 13:33:00 +03:00 |
|
|
|
edaf527aa1
|
added the get mpesa functionality
|
2025-11-26 18:02:28 +03:00 |
|
|
|
398610924b
|
removed the debug output
release / docker (push) Has been cancelled
|
2025-11-26 13:02:26 +03:00 |
|
|
|
3fdb0e3426
|
update the symbol to send_max_amount with debug output
|
2025-11-26 12:56:04 +03:00 |
|
|
|
c2cf8e91e5
|
removed the print debug statements
release / docker (push) Has been cancelled
|
2025-11-14 10:55:54 +03:00 |
|
|
|
03d6cbd429
|
added a debug for the returned content
|
2025-11-14 10:46:22 +03:00 |
|
|
|
ee41f73347
|
added a debug log
|
2025-11-14 10:41:34 +03:00 |
|
|
|
308dc93a91
|
return nil to CATCH the flag_api_call_error
|
2025-11-13 17:09:30 +03:00 |
|
|
|
208eac5a3c
|
use the correct 'flag_api_call_error'
|
2025-11-13 01:44:50 +03:00 |
|
|
|
348185ef96
|
use l.Get for the language change
release / docker (push) Has been cancelled
|
2025-10-30 12:36:11 +03:00 |
|
|
|
582f349be3
|
handle normal send transactions based on the sym
|
2025-10-30 11:12:16 +03:00 |
|
|
|
de539dc300
|
update the credit-send functionality to display the RAT data
|
2025-10-28 17:15:39 +03:00 |
|
|
|
6811cc12ec
|
clear the current active voucher data if it exists when no vouchers exist
|
2025-10-23 10:29:14 +03:00 |
|
|
|
5cfdd949ff
|
use the correct amount when initiating the transfer (the amount that has been swapped)
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 |
|
|
|
20b4269358
|
add a custom error struct that carries both fields from the API error
|
2025-10-21 15:47:39 +03:00 |
|
|
|
ba9a23946f
|
added ClearTransactionTypeFlag when a user goes back
release / docker (push) Has been cancelled
|
2025-10-09 15:08:51 +03:00 |
|
|
|
34271cba23
|
Merge branch 'master' into send-with-swap
release / docker (push) Has been cancelled
|
2025-10-09 14:32:31 +03:00 |
|
|
|
9878745861
|
fixed the TestCheckBalance by adjusting the expected result
|
2025-10-09 13:39:30 +03:00 |
|