Click or drag to resize

IExternalPaymentProcessor Interface

Common interface for payment front plugin. Derive from MarshalByRefObject and implement this interface to make custom payment processor. Your implementation should be registered by RegisterPaymentSystem(IExternalPaymentProcessor, Boolean).

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

The IExternalPaymentProcessor 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