Class SofortUwTransactionRequest

Namespace
GiroSolution.GiroCheckout.Request
Assembly
GiroCheckout.dll

Initialisierung einer SOFORT Zahlung - Anfrage. Durch eine erfolgreiche Initialisierung wird eine Referenznummer erstellt sowie ein Weiterleitungslink (redirect) an den Händler übermittelt. Der übermittelte Link führt zu den Seiten von SOFORT, auf denen der Käufer den Bezahlvorgang durchführt. Der Käufer muss also an diese URL weitergeleitet werden. Dies kann durch einen HTTP-Redirect-Header, eine HTML-Seite mit entsprechendem Meta-Tag oder Javascript erfolgen.

public class SofortUwTransactionRequest : GiroCheckoutRequest
Inheritance
SofortUwTransactionRequest
Inherited Members

Constructors

SofortUwTransactionRequest(Project, string, int, string, string, string, string, string)

public SofortUwTransactionRequest(Project project, string merchantTxId, int amount, string currency, string purpose, string bic, string urlRedirect, string urlNotify)

Parameters

project Project
merchantTxId string
amount int
currency string
purpose string
bic string
urlRedirect string
urlNotify string

Fields

AMOUNT_REQ

protected const string AMOUNT_REQ = "amount"

Field Value

string

BIC_REQ

protected const string BIC_REQ = "bic"

Field Value

string

CURRENCY_REQ

protected const string CURRENCY_REQ = "currency"

Field Value

string

MERCHANT_TX_ID_REQ

protected const string MERCHANT_TX_ID_REQ = "merchantTxId"

Field Value

string

PURPOSE_REQ

protected const string PURPOSE_REQ = "purpose"

Field Value

string

REDIRECT_RES

protected const string REDIRECT_RES = "redirect"

Field Value

string

REFERENCE_RES

protected const string REFERENCE_RES = "reference"

Field Value

string

URL_NOTIFY_REQ

protected const string URL_NOTIFY_REQ = "urlNotify"

Field Value

string

URL_REDIRECT_REQ

protected const string URL_REDIRECT_REQ = "urlRedirect"

Field Value

string

amount

protected int amount

Field Value

int

bic

protected string bic

Field Value

string

currency

protected string currency

Field Value

string

merchantTxId

protected string merchantTxId

Field Value

string

purpose

protected string purpose

Field Value

string

urlNotify

protected string urlNotify

Field Value

string

urlRedirect

protected string urlRedirect

Field Value

string

Methods

ToString()

public override string ToString()

Returns

string

addParameters(List<RequestEntry>)

protected override void addParameters(List<GiroCheckoutRequest.RequestEntry> parameters)

Parameters

parameters List<GiroCheckoutRequest.RequestEntry>

execute()

Initialisiert eine Zahlung per Sofortüberweisung.

public SofortUwTransactionResponse execute()

Returns

SofortUwTransactionResponse

SofortUwTransactionResponse

getRequestUrl()

protected override string getRequestUrl()

Returns

string