<br />
<h2>Detalles del pago</h2>
<table class="shop_table order_details">
    <tfoot>
    <tr>
        <th scope="row">Respuesta de la Transacción:</th>

        <td><span class="RT"><?php echo $transactionResponse; ?></span></td>

    </tr>
    <tr>
        <th scope="row">C&oacute;digo de respuesta dela transacción:</th>
        <td><span class="CT"><?php echo $finalResponse->responseCode; ?></span></td>
    </tr>
    <tr>
        <th scope="row">Orden de Compra:</th>
        <td><span class="RT"><?php echo $finalResponse->buyOrder; ?></span></td>
    </tr>
    <tr>
        <th scope="row">Código de autorización:</th>
        <td><span class="CA"><?php echo $finalResponse->authorizationCode; ?></span></td>
    </tr>
    <tr>
        <th scope="row">Fecha transacción:</th>
        <td><span class="FC"><?php echo $date_accepted->format('d-m-Y'); ?></span></td>
    </tr>
    <tr>
        <th scope="row"> Hora transacción:</th>
        <td><span class="FT"><?php echo $date_accepted->format('H:i:s'); ?></span></td>
    </tr>
    <tr>
        <th scope="row">Tarjeta de crédito:</th>
        <td><span class="TC">**** **** **** <?php echo $finalResponse->cardDetail->card_number; ?></span></td>
    </tr>
    <tr>
        <th scope="row">Tipo de pago:</th>
        <td><span class="TP"><?php echo $paymentType; ?></span></td>
    </tr>
    <tr>
        <th scope="row">Tipo de cuota:</th>
        <td><span class="TC"><?php echo $installmentType; ?></span></td>
    </tr>
    <tr>
        <th scope="row">Monto compra:</th>
        <td><span class="amount">$<?php echo number_format($finalResponse->amount, 0, ',', '.'); ?></span></td>
    </tr>
    <tr>
        <th scope="row">Número de cuotas:</th>
        <td><span class="NC"><?php echo $finalResponse->installmentsNumber ? $finalResponse->installmentsNumber : '-'; ?></span></td>
    </tr>
    <tr>
        <th scope="row">Monto de cada cuota:</th>
        <td><span class="NC"><?php echo $finalResponse->installmentsAmount ? $finalResponse->installmentsAmount : '-'; ?></span></td>
    </tr>
    </tfoot>
</table><br/>
