• IPaymentProvider

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.

Methods

GetCurrencies() Returns the supported currencies for the payment provider, seperated by ; i.e. GPB;USD or GBP or GBP;USD;EUR
ExecuteTest(Shared.Classes.NVPCodec) Test Execute Method for debugging purposes.
Execute(Microsoft.AspNetCore.Http.HttpRequest, Middleware.Accounts.Orders.Order, Middleware.PaymentStatus, Shared.Classes.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