Dibs.CheckoutHandlerRequestValue

Version: - string  

Summary

Returns checkout handler request value (shop's order ID) for DIBS Payment Window.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Dibs.CheckoutHandlerRequestValue")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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