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.V5
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.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).
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 methodReturnPayment
Perform return payment operation.
Top
See Also