C# Class Nop.Plugin.Payments.Manual.ManualPaymentProcessor

Manual payment processor
Inheritance: Nop.Core.Plugins.BasePlugin, IPaymentMethod
Datei anzeigen Open project: emilianionascu/NopCommerce

Public Methods

Method Description
CanRePostProcessPayment ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether customers can complete a payment after order is placed but not completed (for redirection payment methods)

CancelRecurringPayment ( Nop.Services.Payments.CancelRecurringPaymentRequest cancelPaymentRequest ) : Nop.Services.Payments.CancelRecurringPaymentResult

Cancels a recurring payment

Capture ( Nop.Services.Payments.CapturePaymentRequest capturePaymentRequest ) : Nop.Services.Payments.CapturePaymentResult

Captures payment

GetAdditionalHandlingFee ( IList cart ) : decimal

Gets additional handling fee

GetConfigurationRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void

Gets a route for provider configuration

GetControllerType ( ) : Type
GetPaymentInfoRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void

Gets a route for payment info

Install ( ) : void
ManualPaymentProcessor ( Nop.Plugin.Payments.Manual.ManualPaymentSettings manualPaymentSettings, ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService ) : System
PostProcessPayment ( Nop.Services.Payments.PostProcessPaymentRequest postProcessPaymentRequest ) : void

Post process payment (used by payment gateways that require redirecting to a third-party URL)

ProcessPayment ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Payments.ProcessPaymentResult

Process a payment

ProcessRecurringPayment ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Payments.ProcessPaymentResult

Process recurring payment

Refund ( Nop.Services.Payments.RefundPaymentRequest refundPaymentRequest ) : Nop.Services.Payments.RefundPaymentResult

Refunds a payment

Uninstall ( ) : void
Void ( Nop.Services.Payments.VoidPaymentRequest voidPaymentRequest ) : Nop.Services.Payments.VoidPaymentResult

Voids a payment

Method Details

CanRePostProcessPayment() public method

Gets a value indicating whether customers can complete a payment after order is placed but not completed (for redirection payment methods)
public CanRePostProcessPayment ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
return bool

CancelRecurringPayment() public method

Cancels a recurring payment
public CancelRecurringPayment ( Nop.Services.Payments.CancelRecurringPaymentRequest cancelPaymentRequest ) : Nop.Services.Payments.CancelRecurringPaymentResult
cancelPaymentRequest Nop.Services.Payments.CancelRecurringPaymentRequest Request
return Nop.Services.Payments.CancelRecurringPaymentResult

Capture() public method

Captures payment
public Capture ( Nop.Services.Payments.CapturePaymentRequest capturePaymentRequest ) : Nop.Services.Payments.CapturePaymentResult
capturePaymentRequest Nop.Services.Payments.CapturePaymentRequest Capture payment request
return Nop.Services.Payments.CapturePaymentResult

GetAdditionalHandlingFee() public method

Gets additional handling fee
public GetAdditionalHandlingFee ( IList cart ) : decimal
cart IList
return decimal

GetConfigurationRoute() public method

Gets a route for provider configuration
public GetConfigurationRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void
actionName string Action name
controllerName string Controller name
routeValues RouteValueDictionary Route values
return void

GetControllerType() public method

public GetControllerType ( ) : Type
return System.Type

GetPaymentInfoRoute() public method

Gets a route for payment info
public GetPaymentInfoRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void
actionName string Action name
controllerName string Controller name
routeValues RouteValueDictionary Route values
return void

Install() public method

public Install ( ) : void
return void

ManualPaymentProcessor() public method

public ManualPaymentProcessor ( Nop.Plugin.Payments.Manual.ManualPaymentSettings manualPaymentSettings, ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService ) : System
manualPaymentSettings Nop.Plugin.Payments.Manual.ManualPaymentSettings
settingService ISettingService
orderTotalCalculationService IOrderTotalCalculationService
return System

PostProcessPayment() public method

Post process payment (used by payment gateways that require redirecting to a third-party URL)
public PostProcessPayment ( Nop.Services.Payments.PostProcessPaymentRequest postProcessPaymentRequest ) : void
postProcessPaymentRequest Nop.Services.Payments.PostProcessPaymentRequest Payment info required for an order processing
return void

ProcessPayment() public method

Process a payment
public ProcessPayment ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Payments.ProcessPaymentResult
processPaymentRequest Nop.Services.Payments.ProcessPaymentRequest Payment info required for an order processing
return Nop.Services.Payments.ProcessPaymentResult

ProcessRecurringPayment() public method

Process recurring payment
public ProcessRecurringPayment ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Payments.ProcessPaymentResult
processPaymentRequest Nop.Services.Payments.ProcessPaymentRequest Payment info required for an order processing
return Nop.Services.Payments.ProcessPaymentResult

Refund() public method

Refunds a payment
public Refund ( Nop.Services.Payments.RefundPaymentRequest refundPaymentRequest ) : Nop.Services.Payments.RefundPaymentResult
refundPaymentRequest Nop.Services.Payments.RefundPaymentRequest Request
return Nop.Services.Payments.RefundPaymentResult

Uninstall() public method

public Uninstall ( ) : void
return void

Void() public method

Voids a payment
public Void ( Nop.Services.Payments.VoidPaymentRequest voidPaymentRequest ) : Nop.Services.Payments.VoidPaymentResult
voidPaymentRequest Nop.Services.Payments.VoidPaymentRequest Request
return Nop.Services.Payments.VoidPaymentResult