ChargeLogic.LastCardTokenID
Version: - stringSummary
Returns last card token ID used with the payment.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("ChargeLogic.LastCardTokenID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ChargeLogic.LastCardTokenID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ChargeLogic.LastCardTokenID");
}
Outputting the template tag
<!--@ChargeLogic.LastCardTokenID-->
Check if string has a value
<!--@If Defined(@ChargeLogic.LastCardTokenID)-->
Let's output this tag here: <strong><!--@ChargeLogic.LastCardTokenID--></strong>
<!--@EndIf(@ChargeLogic.LastCardTokenID)-->