{foreach from=$errors item=message key=error} {if $error eq 'PAYMENT_IS_NOT_VERIFIED'}
[[Payment is not verified]]
{elseif $error eq 'INVALID_PAYMENT_ID'}[[Invalid payment ID is specified]]
{/if} {foreachelse} [[You have successfully subscribed for the membership plan]] {/foreach}