Method | Description | |
---|---|---|
Accepts ( |
||
DataCashPaymentGateway ( IHttpPostTransport http, string client, string password, string gatewayUri ) : System |
Construct a new instance of the DataCashPaymentGateway.
|
|
Purchase ( string merchantReference, Kurejito.Payments.Money amount, |
Attempts to debit the specified amount from the supplied payment card.
|
Method | Description | |
---|---|---|
ExtractPaymentId ( System.Xml.Linq.XDocument xmlResponse ) : string | ||
ExtractStatus ( XNode xml ) : PaymentStatus | ||
MakeAuthenticationElement ( ) : System.Xml.Linq.XElement | ||
MakeCardTxnElement ( |
||
MakeTransactionElement ( string merchantreference, decimal amount, string currency, |
||
MakeTxnDetailsElement ( string merchantreference, decimal amount, string currency ) : System.Xml.Linq.XElement | ||
PopulateResponse ( System.Xml.Linq.XDocument xmlResponse ) : PaymentResponse |
public Accepts ( |
||
currency | ||
cardType | CardType | |
return | bool |
public DataCashPaymentGateway ( IHttpPostTransport http, string client, string password, string gatewayUri ) : System | ||
http | IHttpPostTransport | The Http transport provider for communication with DataCash. |
client | string | The client code for your payment gateway, as supplied by DataCash. |
password | string | The password for your payment gateway, as supplised by DataCash. |
gatewayUri | string | The endpoint URI of the DataCash payment system. |
return | System |
public Purchase ( string merchantReference, Kurejito.Payments.Money amount, |
||
merchantReference | string | An alphanumeric reference supplied by the merchant that uniquely identifies this transaction |
amount | Kurejito.Payments.Money | The amount of money to be debited from the payment card (includes the ISO4217 currency code). |
card | An instance of |
|
return | PaymentResponse |