C# Class EGSW.Services.Payments.PayPalDirectPaymentProcessor

Inheritance: IPaymentMethod
Afficher le fichier Open project: careerengine/EGSW-Project

Méthodes publiques

Méthode Description
PayPalDirectPaymentProcessor ( ICustomerService customerService, IWebHelper webHelper ) : System
ProcessPayment ( ProcessPaymentRequest processPaymentRequest ) : ProcessPaymentResult
VerifyIpn ( string formString, string>.Dictionary &values ) : bool

Verifies IPN

Méthodes protégées

Méthode Description
AuthorizeOrSale ( ProcessPaymentRequest processPaymentRequest, bool authorizeOnly ) : ProcessPaymentResult
GetApiVersion ( ) : string
GetPaypalCountryCodeType ( string country ) : CountryCodeType

Get Paypal country code

GetPaypalCreditCardType ( string creditCardType ) : CreditCardTypeType

Get Paypal credit card type

GetService ( ) : PayPalAPIInterfaceServiceService

Private Methods

Méthode Description
GetPaypalUrl ( ) : string

Gets Paypal URL

Method Details

AuthorizeOrSale() protected méthode

protected AuthorizeOrSale ( ProcessPaymentRequest processPaymentRequest, bool authorizeOnly ) : ProcessPaymentResult
processPaymentRequest ProcessPaymentRequest
authorizeOnly bool
Résultat ProcessPaymentResult

GetApiVersion() protected méthode

protected GetApiVersion ( ) : string
Résultat string

GetPaypalCountryCodeType() protected méthode

Get Paypal country code
protected GetPaypalCountryCodeType ( string country ) : CountryCodeType
country string Country
Résultat CountryCodeType

GetPaypalCreditCardType() protected méthode

Get Paypal credit card type
protected GetPaypalCreditCardType ( string creditCardType ) : CreditCardTypeType
creditCardType string Credit card type
Résultat CreditCardTypeType

GetService() protected méthode

protected GetService ( ) : PayPalAPIInterfaceServiceService
Résultat PayPal.PayPalAPIInterfaceService.PayPalAPIInterfaceServiceService

PayPalDirectPaymentProcessor() public méthode

public PayPalDirectPaymentProcessor ( ICustomerService customerService, IWebHelper webHelper ) : System
customerService ICustomerService
webHelper IWebHelper
Résultat System

ProcessPayment() public méthode

public ProcessPayment ( ProcessPaymentRequest processPaymentRequest ) : ProcessPaymentResult
processPaymentRequest ProcessPaymentRequest
Résultat ProcessPaymentResult

VerifyIpn() public méthode

Verifies IPN
public VerifyIpn ( string formString, string>.Dictionary &values ) : bool
formString string Form string
values string>.Dictionary Values
Résultat bool