ChargeLogic.HostedPaymentURL
Version: - stringSummary
Returns URL of hosted payment.
Settings
The value is generated automatically, based on Hosted payment URL field in the payment settings.
Examples
Outputting the template tag
@GetString("ChargeLogic.HostedPaymentURL")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ChargeLogic.HostedPaymentURL"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ChargeLogic.HostedPaymentURL");
}
Outputting the template tag
<!--@ChargeLogic.HostedPaymentURL-->
Check if string has a value
<!--@If Defined(@ChargeLogic.HostedPaymentURL)-->
Let's output this tag here: <strong><!--@ChargeLogic.HostedPaymentURL--></strong>
<!--@EndIf(@ChargeLogic.HostedPaymentURL)-->