Dibs.captureNow
Version: - stringSummary
Returns current state of 'Capture now' check-box in the payment gateway settings.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Dibs.captureNow")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Dibs.captureNow"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Dibs.captureNow");
}
Outputting the template tag
<!--@Dibs.captureNow-->
Check if string has a value
<!--@If Defined(@Dibs.captureNow)-->
Let's output this tag here: <strong><!--@Dibs.captureNow--></strong>
<!--@EndIf(@Dibs.captureNow)-->