ChargeLogic.HostedPaymentID

Version: - string  

Summary

Returns ID of hosted payment.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("ChargeLogic.HostedPaymentID")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("ChargeLogic.HostedPaymentID"); }

Outputting the template tag

<!--@ChargeLogic.HostedPaymentID-->

Check if string has a value

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