QuickPay3.cardtypelock
Version: - stringSummary
Returns the card type used to authorize the transaction.
Settings
The value comes from the Cart type field for the payment gateway.
(Management Center > eCommerce settings > Orders > Payment > Payment method > General > Parameters > Cart type)
Examples
Outputting the template tag
@GetString("QuickPay3.cardtypelock")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("QuickPay3.cardtypelock"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("QuickPay3.cardtypelock");
}
Outputting the template tag
<!--@QuickPay3.cardtypelock-->
Check if string has a value
<!--@If Defined(@QuickPay3.cardtypelock)-->
Let's output this tag here: <strong><!--@QuickPay3.cardtypelock--></strong>
<!--@EndIf(@QuickPay3.cardtypelock)-->