You need to use the Smarty eval function in the template to evaluate Smarty variables. Try changing this in checkout.tpl:
Code:
<td>{$payment_methods[payment].payment_details|default:" "}</td>
To this:
Code:
{eval var=$payment_methods[payment].payment_details assign="paydtls"}
<td>{$paydtls|default:" "}</td>