Subversion Repositories SmartDukaan

Rev

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

Rev 8756 Rev 10477
Line 361... Line 361...
361
            }
361
            }
362
            
362
            
363
            if (Long.parseLong(totalAmount) != Long.parseLong(amount) + Long.parseLong(walletAmountUsed) + couponAmount){
363
            if (Long.parseLong(totalAmount) != Long.parseLong(amount) + Long.parseLong(walletAmountUsed) + couponAmount){
364
                errorMessage = "Oops! There seems to be a problem. Please try after some time";
364
                errorMessage = "Oops! There seems to be a problem. Please try after some time";
365
                log.warn("WalletAmount : " + walletAmountUsed + " plus couponAmount : " + couponAmount + " plus amount to be paid : " +
365
                log.warn("WalletAmount : " + walletAmountUsed + " plus couponAmount : " + couponAmount + " plus amount to be paid : " +
366
                        amount + "do not match with rechargeAmount : " + totalAmount);
366
                        amount + " do not match with rechargeAmount : " + totalAmount);
367
                return "recharge-redirect";
367
                return "recharge-redirect";
368
            }
368
            }
369
                
369
                
370
            
370
            
371
            RechargeOrder rechargeOrder = new RechargeOrder();
371
            RechargeOrder rechargeOrder = new RechargeOrder();