Buckaroo.PaymentMethodsAllowed

Version: - string  

Summary

Returns string with payment methods divided with semicolon.

Settings

The value is generated automatically, based on Payment methods parameter in the payment settings.

Examples

Outputting the template tag

@GetString("Buckaroo.PaymentMethodsAllowed")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if tag has a value

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

Assign tag to a value for later use

@{
string storedTag = GetString("Buckaroo.PaymentMethodsAllowed");
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Outputting the template tag

<!--@Buckaroo.PaymentMethodsAllowed-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if string has a value

<!--@If Defined(@Buckaroo.PaymentMethodsAllowed)-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX