KlarnaCheckout.CancelURL
Version: - stringSummary
Returns the URL to the page that the payment will redirect to if the customer cancels the payment.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("KlarnaCheckout.CancelURL")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("KlarnaCheckout.CancelURL"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("KlarnaCheckout.CancelURL");
}
Outputting the template tag
<!--@KlarnaCheckout.CancelURL-->
Check if string has a value
<!--@If Defined(@KlarnaCheckout.CancelURL)-->
Let's output this tag here: <strong><!--@KlarnaCheckout.CancelURL--></strong>
<!--@EndIf(@KlarnaCheckout.CancelURL)-->