ePay.instantcapture
Version: - stringSummary
Returns current state of Instantcapture check-box in the payment gateway settings. Enable it to capture payments instantly (as soon as they are authorised). By default, this value is 0, and the payment must be captured manually in the ePay administration.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("ePay.instantcapture")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ePay.instantcapture"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ePay.instantcapture");
}
Outputting the template tag
<!--@ePay.instantcapture-->
Check if string has a value
<!--@If Defined(@ePay.instantcapture)-->
Let's output this tag here: <strong><!--@ePay.instantcapture--></strong>
<!--@EndIf(@ePay.instantcapture)-->