{foreach from=$errors item=message key=error} {if $error eq 'PAYMENT_IS_COMPLETED'}

Payment already has been processed

{elseif $error eq 'PAYMENT_IS_NOT_VERIFIED'}

Payment is not verified

{elseif $error eq 'INVALID_PAYMENT_ID'}

Invalid payment ID is specified

{elseif $error eq 'INVALID_LISTING_ID'}

Invalid listing ID is specified

{elseif $error eq 'LISTING_ALREADY_FEATURED'}

Listing is already featured

{elseif $error eq 'PARAMETERS_MISSED'}

The system cannot proceed as some key parameters are missed

{/if} {foreachelse}

Your listing succesfully upgraded to featured

{/foreach}