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).

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

The IExternalPaymentProcessor type exposes the following members.

Properties
  NameDescription
Public propertyPaymentSystemKey
Key of the payment system, that should be registered as external.
Public propertyPaymentSystemName
Payment system title that will be displayed in BackOffice.
Top
Methods
  NameDescription
Public methodCollectData
Perform data collect operation on payment item selected.
Public methodEmergencyCancelPayment
Perform emergency cancel payment operation.
Public methodOnPaymentAdded
Perform order edit operation after payment is added to order (on preliminary payments page or on payment page). If method throws exception, payment is removed from order.
Public methodPay
Perform payment operation.
Public methodReturnPayment
Perform return payment operation.
Top
See Also