Click or drag to resize

IPaymentProcessor Interface

Common interface for payment front plugin.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll)
Syntax
C#
public interface IPaymentProcessor

The IPaymentProcessor type exposes the following members.

Properties
  NameDescription
Public propertyPaymentSystemKey
Key for matching the payment type to the payment system.
Public propertyPaymentSystemName
Localized payment system's title that will be used in UI.
Top
Methods
  NameDescription
Public methodCanPaySilently
Whether to perform payment operation silently.
Public methodCollectData
Perform data collect operation on payment item selected.
Public methodEmergencyCancelPayment
Perform emergency cancel payment operation.
Public methodEmergencyCancelPaymentSilently
Perform silent emergency cancel payment operation.
Public methodOnPaymentAdded
Perform order edit operation after payment is added to order (on preliminary payments page or on payment page).
Public methodOnPreliminaryPaymentEditing
Perform operations when preliminary payment is going to be edited. If method throws exception, payment is removed from order.
Public methodPay
Perform payment operation.
Public methodPaySilently
Perform silent payment operation.
Public methodReturnPayment
Perform return payment operation.
Public methodReturnPaymentWithoutOrder
Perform return payment sum without iikoFront order.
Top
See Also