Buckaroo.Mode

Version: - string  

Summary

Returns 1 if peyment is performed in test mode and 0 otherwise.

Settings

The value is generated automatically, based on Test mode parameter in the payment settings.

Examples

Outputting the template tag

@GetString("Buckaroo.Mode")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Buckaroo.Mode"); }

Outputting the template tag

<!--@Buckaroo.Mode-->

Check if string has a value

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