{assign var="profilename" value=$paymentProfile->additionalParams.profilename} {if $paymentProfile->additionalParams} {if $profilename == 'braintree'} {literal} {/literal} {/literal}