Klarna.BuyURL

Version: - string  

Summary

Returns the URL to the page that the payment will redirect to if the customer buys.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Klarna.BuyURL")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Klarna.BuyURL"); }

Outputting the template tag

<!--@Klarna.BuyURL-->

Check if string has a value

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