Subversion Repositories SmartDukaan

Rev

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

Rev 29812 Rev 29813
Line 84... Line 84...
84
		FofoStore fs = fofoStoreRepository.selectByRetailerId(retailerId);
84
		FofoStore fs = fofoStoreRepository.selectByRetailerId(retailerId);
85
		if (gateway != null && gateway.equals(Gateway.MANDII)) {
85
		if (gateway != null && gateway.equals(Gateway.MANDII)) {
86
			try {
86
			try {
87
 
87
 
88
				AccountStatusResponseOut accountStatusResponseOut = mandiiService.getStatus(fs.getPan());
88
				AccountStatusResponseOut accountStatusResponseOut = mandiiService.getStatus(fs.getPan());
89
				CreditAccount creditAccount = creditAccountRepository.selectByFofoId(retailerId);
89
				CreditAccount creditAccount = creditAccountRepository.selectByFofoIdAndGateway(retailerId,
-
 
90
						Gateway.MANDII);
90
 
91
 
91
				if (creditAccount == null) {
92
				if (creditAccount == null) {
92
 
93
 
93
					creditAccount = new CreditAccount();
94
					creditAccount = new CreditAccount();
94
 
95