updating currency conversion logic

This commit is contained in:
2026-07-01 15:32:26 +02:00
parent a2c04e4139
commit 858639987b

View File

@@ -185,11 +185,11 @@ public class HotRechargeIntegrationProcessor implements TransactionProcessorInte
}
List<Map<String, String>> rechargeOptions = new ArrayList<>();
if (transaction.getDebitPhone() != null) {
if (transaction.getCreditPhone() != null) {
Map<String, String> option = new LinkedHashMap<>();
option.put("Name", "NotifyNumber");
option.put("ParameterType", "String");
option.put("Value", transaction.getDebitPhone());
option.put("Value", transaction.getCreditPhone());
rechargeOptions.add(option);
}
if (!rechargeOptions.isEmpty()) {