Examples of voidPayment()


Examples of com.jada.order.payment.PaymentEngine.voidPayment()

      throw new OrderStateException("Order has not been completed");
    }
    String paymentGateway = orderHeader.getPaymentGatewayProvider();
    if (paymentGateway != null) {
      PaymentEngine paymentEngine = PaymentManager.getPaymentEngine(paymentGateway, orderHeader.getSiteCurrency());
      paymentEngine.voidPayment(invoiceHeader);
      PaymentTran paymentTran = new PaymentTran();
      paymentTran.setAuthCode(paymentEngine.getAuthCode());
      paymentTran.setPaymentReference1(paymentEngine.getPaymentReference1());
      paymentTran.setPaymentReference2(paymentEngine.getPaymentReference2());
      paymentTran.setPaymentReference3(paymentEngine.getPaymentReference3());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.