Dibs.createTicket

Version: - string  

Summary

Returns state of abillity to create ticket for given cards for DIBS Payment Window. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Dibs.createTicket")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if tag has a value

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

Assign tag to a value for later use

@{
string storedTag = GetString("Dibs.createTicket");
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Outputting the template tag

<!--@Dibs.createTicket-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if string has a value

<!--@If Defined(@Dibs.createTicket)-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX