Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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 | |
return | bool |
public Purchase ( string merchantReference, Kurejito.Payments.Money amount, |
||
merchantReference | string | |
amount | Kurejito.Payments.Money | |
card | ||
return | 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 | |
return | System |