Jelajahi Sumber

added data for ebilling

Pat 7 tahun lalu
induk
melakukan
7912d2e226

+ 2 - 1
GabonTelMobicashMobileAppHelper/src/main/java/com/psi/gabontel/mobileapp/thirdparty/helper/MobileAppThirdPartyHelper.java

@@ -123,7 +123,8 @@ public class MobileAppThirdPartyHelper implements AppManagerFunction {
                     if(!appmanresponse.startsWith("-1")) {
                     if(!appmanresponse.startsWith("-1")) {
                         String payee = InitializerBean.callUssd("ebillingpayee", appmanresponse).toString();
                         String payee = InitializerBean.callUssd("ebillingpayee", appmanresponse).toString();
                         String amount = InitializerBean.callUssd("ebillingamount", appmanresponse).toString();
                         String amount = InitializerBean.callUssd("ebillingamount", appmanresponse).toString();
-                        appmanresponse = payee.toUpperCase() + "~" + amount;
+                        String description = InitializerBean.callUssd("ebillingdesc", appmanresponse).toString();
+                        appmanresponse = payee.toUpperCase() + "~" + amount + "~" + description.replaceAll("~", " ");
                     }
                     }
                 }else if(method.equals("ussd")) {
                 }else if(method.equals("ussd")) {
                     if(isfinal) {
                     if(isfinal) {