Personally I don't like the way X-cart creates failed orders every time a payment doesn't successfully go through, and I especially don't think there's any good reason to list these on the customer's order history. So to hide these failed orders, go to skin1/customer/main/orders_list.tpl and after:
Code:
{math equation="x + ordertotal" x=$total ordertotal=$order.total assign="total"}
{if $order.status eq "P" or $order.status eq "C"}
{math equation="x + ordertotal" x=$total_paid ordertotal=$order.total assign="total_paid"}
{/if}
Add:
Code:
{if $order.status neq "F"}
And BEFORE the following:
Add: