Version: - string  


Returns state the payment window will be open in, related to Window state drop-down in the payment gateway settings.

Overlay - the payment window opens "on top" of your website (windowstate = 1)

Full screen (windowstate = 3)


The value is generated automatically.


Outputting the template tag


Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag


Check if string has a value

<!--@If Defined(@ePay.windowstate)--> Let's output this tag here: <strong><!--@ePay.windowstate--></strong> <!--@EndIf(@ePay.windowstate)-->