public override bool Capture() { IPaymentCapturer capturer = new CapturePayment(null, _paymentManager); return capturer.Capture(this); }
public override bool Capture() { if (UseOnePhaseTransaction) return true; IPaymentCapturer capturer = new CapturePayment(null, _paymentManager); var financialInvoicingOrderLineFormatter = _financialInvoicingOrderLineFormatter; financialInvoicingOrderLineFormatter.IncludeOrderLines = true; var financingInvoiceAdditionalValuesFormatter = new FinancingInvoiceAdditionalValuesFormatter(null, financialInvoicingOrderLineFormatter); return capturer.Capture(this, financingInvoiceAdditionalValuesFormatter.Format(this.Payment as PayExPayment)); }