[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}]
[{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($paymentmethod)}]
[{assign var="aBrands" value=$oHeidelpayViewConfig->getHeidelpayNgwBrands($paymentmethod, $oHeidelPayment, $oxcmp_user)}]
<dl>
    <dt>
        <input id="payment_[{$sPaymentID}]"
               type="radio"
               name="paymentid"
               value="[{$sPaymentID}]"
               [{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]>
        <label for="payment_[{$sPaymentID}]"><b>[{$paymentmethod->oxpayments__oxdesc->value}]</b></label>

        [{include file="img_creditcard_mobile.tpl" aBrands=$aBrands}]
        [{include file="img_debitcard_mobile.tpl" aBrands=$aBrands}]

    </dt>
    <dd class="[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]activePayment[{/if}]">
        <ul class="form">
            <li>
                <div class="status corners error">[{oxmultilang ident="D3PAYMENT_EXT_AFTERSTEP4_INFO_STEP4"}]</div>

            </li>
        </ul>

        [{if $paymentmethod->oxpayments__oxlongdesc->value}]
            <div class="desc">
                [{$paymentmethod->oxpayments__oxlongdesc->value}]
            </div>
        [{/if}]
    </dd>
</dl>
