C# 클래스 Nop.Plugin.Payments.PayPalDirect.PayPalDirectPaymentProcessor

PayPalDirect payment processor
상속: Nop.Core.Plugins.BasePlugin, IPaymentMethod
파일 보기 프로젝트 열기: emilianionascu/NopCommerce

공개 메소드들

메소드 설명
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
PayPalDirectPaymentProcessor ( Nop.Plugin.Payments.PayPalDirect.PayPalDirectPaymentSettings paypalDirectPaymentSettings, ISettingService settingService, ITaxService taxService, IPriceCalculationService priceCalculationService, ICurrencyService currencyService, ICustomerService customerService, Nop.Core.Domain.Directory.CurrencySettings currencySettings, IWebHelper webHelper, IOrderTotalCalculationService orderTotalCalculationService, Nop.Core.Domain.StoreInformationSettings storeInformationSettings ) : 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
VerifyIPN ( string formString, string>.Dictionary &values ) : bool

Verifies IPN

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

Voids a payment

보호된 메소드들

메소드 설명
AuthorizeOrSale ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest, bool authorizeOnly ) : Nop.Services.Payments.ProcessPaymentResult
GetApiVersion ( ) : string
GetPaypalCountryCodeType ( Nop.Core.Domain.Directory.Country country ) : CountryCodeType

Get Paypal country code

GetPaypalCreditCardType ( string creditCardType ) : CreditCardTypeType

Get Paypal credit card type

비공개 메소드들

메소드 설명
GetPaypalUrl ( ) : string

Gets Paypal URL

메소드 상세

AuthorizeOrSale() 보호된 메소드

protected AuthorizeOrSale ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest, bool authorizeOnly ) : Nop.Services.Payments.ProcessPaymentResult
processPaymentRequest Nop.Services.Payments.ProcessPaymentRequest
authorizeOnly bool
리턴 Nop.Services.Payments.ProcessPaymentResult

CanRePostProcessPayment() 공개 메소드

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
리턴 bool

CancelRecurringPayment() 공개 메소드

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

Capture() 공개 메소드

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

GetAdditionalHandlingFee() 공개 메소드

Gets additional handling fee
public GetAdditionalHandlingFee ( IList cart ) : decimal
cart IList Shoping cart
리턴 decimal

GetApiVersion() 보호된 메소드

protected GetApiVersion ( ) : string
리턴 string

GetConfigurationRoute() 공개 메소드

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
리턴 void

GetControllerType() 공개 메소드

public GetControllerType ( ) : Type
리턴 System.Type

GetPaymentInfoRoute() 공개 메소드

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
리턴 void

GetPaypalCountryCodeType() 보호된 메소드

Get Paypal country code
protected GetPaypalCountryCodeType ( Nop.Core.Domain.Directory.Country country ) : CountryCodeType
country Nop.Core.Domain.Directory.Country Country
리턴 CountryCodeType

GetPaypalCreditCardType() 보호된 메소드

Get Paypal credit card type
protected GetPaypalCreditCardType ( string creditCardType ) : CreditCardTypeType
creditCardType string Credit card type
리턴 CreditCardTypeType

Install() 공개 메소드

public Install ( ) : void
리턴 void

PayPalDirectPaymentProcessor() 공개 메소드

public PayPalDirectPaymentProcessor ( Nop.Plugin.Payments.PayPalDirect.PayPalDirectPaymentSettings paypalDirectPaymentSettings, ISettingService settingService, ITaxService taxService, IPriceCalculationService priceCalculationService, ICurrencyService currencyService, ICustomerService customerService, Nop.Core.Domain.Directory.CurrencySettings currencySettings, IWebHelper webHelper, IOrderTotalCalculationService orderTotalCalculationService, Nop.Core.Domain.StoreInformationSettings storeInformationSettings ) : System
paypalDirectPaymentSettings Nop.Plugin.Payments.PayPalDirect.PayPalDirectPaymentSettings
settingService ISettingService
taxService ITaxService
priceCalculationService IPriceCalculationService
currencyService ICurrencyService
customerService ICustomerService
currencySettings Nop.Core.Domain.Directory.CurrencySettings
webHelper IWebHelper
orderTotalCalculationService IOrderTotalCalculationService
storeInformationSettings Nop.Core.Domain.StoreInformationSettings
리턴 System

PostProcessPayment() 공개 메소드

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
리턴 void

ProcessPayment() 공개 메소드

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
리턴 Nop.Services.Payments.ProcessPaymentResult

ProcessRecurringPayment() 공개 메소드

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
리턴 Nop.Services.Payments.ProcessPaymentResult

Refund() 공개 메소드

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

Uninstall() 공개 메소드

public Uninstall ( ) : void
리턴 void

VerifyIPN() 공개 메소드

Verifies IPN
public VerifyIPN ( string formString, string>.Dictionary &values ) : bool
formString string Form string
values string>.Dictionary Values
리턴 bool

Void() 공개 메소드

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