Subversion Repositories SmartDukaan

Rev

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

Rev 8942 Rev 10269
Line 45... Line 45...
45
            return PAYMENT_NOT_CREATED;
45
            return PAYMENT_NOT_CREATED;
46
        }
46
        }
47
        
47
        
48
        try {
48
        try {
49
            paymentServiceClient.getClient().updatePaymentDetails(merchantPaymentId, null, null, null, null, null, null, null, null, PaymentStatus.INIT, null, attributes);
49
            paymentServiceClient.getClient().updatePaymentDetails(merchantPaymentId, null, null, null, null, null, null, null, null, PaymentStatus.INIT, null, attributes);
50
            this.redirectURL = paymentServiceClient.getClient().initializeHdfcEmiPayment(merchantPaymentId);
50
            this.redirectURL = paymentServiceClient.getClient().initializeHdfcEmiPayment(merchantPaymentId, false);
51
            return merchantPaymentId;
51
            return merchantPaymentId;
52
        }catch (Exception e) {
52
        }catch (Exception e) {
53
            log.error("Error while initializing payment.", e);
53
            log.error("Error while initializing payment.", e);
54
            return PAYMENT_NOT_CREATED;
54
            return PAYMENT_NOT_CREATED;
55
        }
55
        }