<td class="dataTableContent"><?php echo $entry['method']; ?> </td> <td class="dataTableContent"><?php echo $entry['submethod']; ?> </td> <td class="dataTableContent"><?php echo $entry['date']; ?> </td> </tr> <?php } ?> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <?php require DIR_WS_INCLUDES . 'template_bottom.php'; require DIR_WS_INCLUDES . 'application_bottom.php'; Session::cleanRpSession();
/** * Is called when the order is saved to the db * here we send the PAYMENT_CONFIRM call to RatePAY */ public function after_process() { global $insert_id, $order; $transactionId = Session::getRpSessionEntry('transactionId'); $transactionShortId = Session::getRpSessionEntry('transactionShortId'); if (!empty($transactionId)) { $result = $this->_paymentConfirm($transactionId, $transactionShortId, $insert_id); if (!array_key_exists('error', $result)) { $this->_saveRpOrder($order, $insert_id); Session::cleanRpSession(); } else { Session::cleanRpSession(); $error = urlencode(constant(strtoupper($this->code) . '_ERROR')); tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . $error, 'SSL')); } } }