ePay.instantcapture

Version: - string  

Summary

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")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("ePay.instantcapture"))) {
@* Tag has value, so let's do something useful here. *@
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Assign tag to a value for later use

@{
string storedTag = GetString("ePay.instantcapture");
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Outputting the template tag

<!--@ePay.instantcapture-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if string has a value

<!--@If Defined(@ePay.instantcapture)-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX