ePay.windowstate

Version: - string  

Summary

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)

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("ePay.windowstate")

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

<!--@ePay.windowstate-->

Check if string has a value

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