• IPaymentProvider



Namespace: Middleware

Assembly: Middleware

PaymentProvider instance, this interface represents an individual payment provider against which a shopping cart could be checked out against. This item must be implemented by the host application and made available via DI.


GetCurrencies() Returns the supported currencies for the payment provider, seperated by ; i.e. GPB;USD or GBP or GBP;USD;EUR
ExecuteTest(NVPCodec) Test Execute Method for debugging purposes.
Execute(HttpRequest, Order, PaymentStatus, UserSession, string) Execute method, completes the payment using the interface specified
Name() Returns the name of the payment provider.
Enabled() Determines wether the payment provider is active or not
UniqueId() Unique Id for payment provider

In This Document