C# Class JordanRift.Grassroots.Framework.Entities.AuthorizePaymentProvider

Inheritance: IPaymentProvider
Exibir arquivo Open project: JordanRift/Grassroots

Public Methods

Method Description
AuthorizePaymentProvider ( ) : System
AuthorizePaymentProvider ( string apiUrl, string arbUrl, string loginID, string transactionKey ) : System
Process ( Payment payment ) : PaymentResponse

Process method to call from production. Will pass an "isTest" value of false to the Process(payment, isTest) overload.

Private Methods

Method Description
AppendCustomFields ( string>.IDictionary postValues, Payment payment ) : void
BuildAimRequest ( Payment payment ) : string>.Dictionary
CreateSubscription ( Payment payment ) : SubscriptionResponse
GetAccountType ( Payment payment ) : bankAccountTypeEnum
PopulateMerchantAuthentication ( ANetApiRequest request ) : void
PopulateSubscription ( ARBCreateSubscriptionRequest request, Payment payment ) : void
PostRequest ( object apiRequest, XmlDocument &xmldoc ) : bool
ProcessOneTime ( Payment payment ) : PaymentResponse

Provides a hook into Authorize.net's AIM (one time) card processing API

ProcessRecurring ( Payment payment ) : PaymentResponse
ProcessResponse ( object response ) : SubscriptionResponse
ProcessXmlResponse ( XmlDocument xmldoc, object &apiResponse ) : void

Method Details

AuthorizePaymentProvider() public method

public AuthorizePaymentProvider ( ) : System
return System

AuthorizePaymentProvider() public method

public AuthorizePaymentProvider ( string apiUrl, string arbUrl, string loginID, string transactionKey ) : System
apiUrl string
arbUrl string
loginID string
transactionKey string
return System

Process() public method

Process method to call from production. Will pass an "isTest" value of false to the Process(payment, isTest) overload.
public Process ( Payment payment ) : PaymentResponse
payment Payment Payment object to pass to Authorize.net gateway
return PaymentResponse