diff --git a/src/main/java/zw/qantra/tm/domain/services/processors/integrations/HotRechargeIntegrationProcessor.java b/src/main/java/zw/qantra/tm/domain/services/processors/integrations/HotRechargeIntegrationProcessor.java index 59a6593..b2a161d 100644 --- a/src/main/java/zw/qantra/tm/domain/services/processors/integrations/HotRechargeIntegrationProcessor.java +++ b/src/main/java/zw/qantra/tm/domain/services/processors/integrations/HotRechargeIntegrationProcessor.java @@ -91,7 +91,7 @@ public class HotRechargeIntegrationProcessor implements TransactionProcessorInte // if provider is zesa, update customer token in creditVoucher field String providerId = providerService.getProviderId(transaction.getBillClientId()); - if(providerId.equals("41")) { + if(providerId.equals("41") || providerId.equals("24")) { for (Map.Entry entry : rechargeData.entrySet()) { if (entry.getKey().equalsIgnoreCase("Token")) { transaction.setCreditVoucher(entry.getValue().toString()); @@ -173,7 +173,7 @@ public class HotRechargeIntegrationProcessor implements TransactionProcessorInte request.put("CustomerSMS", "%COMPANYNAME% topped up your account with $%AMOUNT%."); // do this for zesa only - if(providerId.equals("41")) { + if(providerId.equals("41") || providerId.equals("24")) { // override sms for zesa request.put("CustomerSMS", "A ZETDC token was purchased for " + "%ACCOUNTNAME% (%METERNUMBER%) that resulted in %KWH% units.");