Click or drag to resize
Infosoft Logo

StartPaymentRequestCancelUrl Property

Gets or sets the URL that the user should be redirected upon canceling the purchase.

Namespace: Infosoft.Common.Contracts.MessageContracts.Economy.Payments
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax
public string CancelUrl { get; set; }

Property Value

String
Remarks

Some providers use the ReturnUrl for this, with a query string parameter appended to the URL indicating whether the purchase was canceled or completed. For such providers, this argument will be ignored.

The Infosoft order reference generated for the transaction will be added as a query parameter, with the name "InfosoftOrderReference". It's also possible to have existing query parameters in the input.

Example
If the input is http://cancel.com then the value sent to the provider will be something like http://cancel.com?InfosoftOrderRef=12345. If the input is http://cancel.com?PreviousVariable=1 then the value will be something like http://cancel.com?PreviousVariable=1&InfosoftOrderRef=12345 (The order of the query parameters is undefined, and should not be relied on.)
See Also