Subversion Repositories SmartDukaan

Rev

Rev 4449 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4449 Rev 8618
Line 42... Line 42...
42
            log.error("Could not create payment client", e);
42
            log.error("Could not create payment client", e);
43
        }
43
        }
44
    }
44
    }
45
 
45
 
46
    private void captureAndCreateAlert(long merchantTxnId) throws PaymentException, TException {
46
    private void captureAndCreateAlert(long merchantTxnId) throws PaymentException, TException {
47
        paymentClient.capturePayment(merchantTxnId);
47
        paymentClient.capturePayment(merchantTxnId, false);
48
    }
48
    }
49
 
49
 
50
    private void createAlertForCapture(long merchantTxnId) throws TransactionServiceException, TException {
50
    private void createAlertForCapture(long merchantTxnId) throws TransactionServiceException, TException {
51
        transactionClient = new TransactionClient().getClient();
51
        transactionClient = new TransactionClient().getClient();
52
        Transaction transaction = transactionClient.getTransaction(merchantTxnId);
52
        Transaction transaction = transactionClient.getTransaction(merchantTxnId);