Метод | Описание | |
---|---|---|
Accepts ( |
||
Purchase ( string merchantReference, Kurejito.Payments.Money amount, |
Attempts to debit the specified amount from the supplied payment card. Because the SagePay gateway requires a shopping basket, this overload will create a simple basket containing a single line item whose description is auto-generated from the supplied order details. |
|
SagePayPaymentGateway ( IHttpPostTransport http, string vendorName, decimal vpsProtocol, GatewayMode mode ) : System |
Construct a new SagePayPaymentGateway that uses the supplied IHttpPostTransport to communicate with the remote server.
|
Метод | Описание | |
---|---|---|
CreateBasketString ( string merchantReference, decimal amount ) : string | ||
ExtractStatus ( string pair ) : PaymentStatus | ||
FormatPostData ( string>.IDictionary |
||
MakePostData ( ) : string>.IDictionary |
||
ParseResponse ( string postResponse ) : PaymentResponse | ||
PopulateResponseProperty ( PaymentResponse response, string pair ) : void | ||
Tokenize ( string postResponse ) : IEnumerable |
||
TranslateCardType ( CardType cardType ) : string |
public Accepts ( |
||
currency | ||
cardType | CardType | |
Результат | bool |
public Purchase ( string merchantReference, Kurejito.Payments.Money amount, |
||
merchantReference | string | |
amount | Kurejito.Payments.Money | |
card | ||
Результат | PaymentResponse |
public SagePayPaymentGateway ( IHttpPostTransport http, string vendorName, decimal vpsProtocol, GatewayMode mode ) : System | ||
http | IHttpPostTransport | An instance of a class implementing |
vendorName | string | The vendor name used by this SagePay installation. |
vpsProtocol | decimal | The version of the VPS Protocol used by the remote SagePay system. |
mode | GatewayMode | |
Результат | System |