Subversion Repositories SmartDukaan

Rev

Rev 10968 | Rev 13373 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10968 Rev 11435
Line 138... Line 138...
138
            //This means we only got the phone from UI.
138
            //This means we only got the phone from UI.
139
            //Lets keep it.
139
            //Lets keep it.
140
        } else {
140
        } else {
141
            //For all other cases make it empty.
141
            //For all other cases make it empty.
142
            phone = "";
142
            phone = "";
143
            log.info("---- phone is set to empty here");
-
 
144
        }
143
        }
145
        
144
        
146
        log.info("phone after---- " + phone);
-
 
147
        
-
 
148
        if(paymentOption.equals(IPaymentService.HDFC_MASTERCARD_CREDIT) || paymentOption.equals(IPaymentService.HDFC_MASTERCARD_DEBIT) || 
145
        if(paymentOption.equals(IPaymentService.HDFC_MASTERCARD_CREDIT) || paymentOption.equals(IPaymentService.HDFC_MASTERCARD_DEBIT) || 
149
                paymentOption.equals(IPaymentService.HDFC_VISA) || paymentOption.equals(IPaymentService.HDFC_VISA_ELECTRON)) {
146
                paymentOption.equals(IPaymentService.HDFC_VISA) || paymentOption.equals(IPaymentService.HDFC_VISA_ELECTRON)) {
150
            // User has selected Visa or MasterCard
147
            // User has selected Visa or MasterCard
151
            HdfcPaymentService hdfcPaymentService = new HdfcPaymentService();
148
            HdfcPaymentService hdfcPaymentService = new HdfcPaymentService();
152
            paymentId = hdfcPaymentService.createPayment(rechargeOrder, paymentOption, phone);
149
            paymentId = hdfcPaymentService.createPayment(rechargeOrder, paymentOption, phone);