Commit e8f62de2 authored by msingh's avatar msingh

Changed by Manish on 29/03/16 for DDUK .


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101016 ce508802-f39f-4f6c-b175-0d175dae99d5
parent aa3bdd1f
......@@ -663,6 +663,7 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
if(count == 0)
{
conn.rollback();
isError = true;
errString= itmDBAccessEJB.getErrorString("","VTRCPGN0","","",conn);
return errString;
}
......@@ -670,7 +671,7 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
{
ctx = new InitialContext(appConnect.getProperty());
receiptAdvConfLocal = (ReceiptAdvConfLocal)ctx.lookup("ibase/ReceiptAdvConf/local");
errString=receiptAdvConfLocal.confirm(tranId, xtraParams, "",conn);
errString = receiptAdvConfLocal.confirm(tranId, xtraParams, "",conn);
System.out.println("errString After confirmed------>>["+errString+"]");
if(errString.indexOf("VTCICONF3") > -1)
{
......@@ -680,6 +681,7 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
else
{
conn.rollback();
isError = true;
return errString;
}
......@@ -1146,14 +1148,14 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
if("S".equalsIgnoreCase(rcpMode))
{
System.out.println(" ------------- Calling SagePay method in finally ------------ ");
errString = insertSagePayDetailsinDespatch(despId, segPayStatus, cardType, null, true);
insertSagePayDetailsinDespatch(despId, segPayStatus, cardType, null, true);
System.out.println(" errString from SagePay method ==========>>" + errString);
}
if("P".equalsIgnoreCase(rcpMode))
{
System.out.println(" ------------- Calling PayPal method in finally ------------ ");
errString = insertPayPalDetailsinDespatch(despId, payPalStatus, cardType, null, true);
insertPayPalDetailsinDespatch(despId, payPalStatus, cardType, null, true);
System.out.println(" errString from PayPal method ==========>>" + errString);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment