{load_language_text section="checkout_payment"} {load_language_text section="buttons" name="button"} {block name="module_heidelpay_gateway"} {block name="module_heidelpay_gateway_error"} {$error} {/block}
{if $notHp} {block name="module_heidelpay_gateway_not_hq"}

{$smarty.const.HGW_TXT_GW_ERROR}

{$smarty.const.HGW_MSG_GLOB_ERR}
{/block} {else} {block name="module_heidelpay_gateway_hq"} {if $error} {block name="module_heidelpay_gateway_hq_error"}

{$smarty.const.HGW_TXT_DOPAYMENT}

{$smarty.const.HGW_TXT_GW_ERROR}

{foreach key=class item=error from=$errors}
{$error}
{/foreach}
{/block} {/if} {if $pm != ''} {block name="module_heidelpay_gateway_hq_pm"} {include file="{$docPath}{$tplPath}/module/heidelpay_{$pm}.html"} {/block} {else} {block name="module_heidelpay_gateway_hq_submit"} {include file="{$docPath}{$tplPath}/module/heidelpay_submit.html"} {/block} {/if} {/block} {/if}
{/block}