Click or drag to resize

IPaymentProcessorPaySilently Method

Perform silent payment operation.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
void PaySilently(
	decimal sum,
	IOrder order,
	IPaymentItem paymentItem,
	Guid transactionId,
	IPointOfSale pointOfSale,
	IUser cashier,
	IReceiptPrinter printer,
	IPaymentDataContext context
)

Parameters

sum  Decimal
Sum to pay.
order  IOrder
Order.
paymentItem  IPaymentItem
Payment item.
transactionId  Guid
Transaction Id.
pointOfSale  IPointOfSale
Point of sale.
cashier  IUser
User handling payments and receipts.
printer  IReceiptPrinter
IReceiptPrinter object to perform print actions. Should not be used after method returns.
context  IPaymentDataContext
IPaymentDataContext object to work with plugin saved data in Syrve storage.
Exceptions
ExceptionCondition
PaymentActionCancelledExceptionException to notify that payment actions was cancelled with no message shown.
PaymentActionFailedExceptionException to notify that payment actions was not successful.
See Also