{if $errors}

[[The following errors occured]]:

{foreach from=$errors key=error item=error_data} {if $error == 'NOT_IMPLEMENTED'}[[There is something missing in the code]]
{/if} {if $error == 'PAYMENT_ID_IS_NOT_SET'}[[Callback parameters are missing required payment information.]]
{/if} {if $error == 'NONEXISTED_PAYMENT_ID_SPECIFIED'}[[System is unable to identify the payment processed.]]
{/if} {if $error == 'PAYMENT_IS_NOT_PENDING'}[[The payment that you are requesting to process has already been processed before.]]
{/if} {/foreach}

{/if}