Ogone.State

Version: - string  

Summary

Returns current state of checkout.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ogone.State")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if tag has a value

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

Assign tag to a value for later use

@{
string storedTag = GetString("Ogone.State");
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Outputting the template tag

<!--@Ogone.State-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if string has a value

<!--@If Defined(@Ogone.State)-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX