summaryrefslogtreecommitdiff
path: root/ng_selfservice/payment_finish.php
blob: 413f497a3be62a917b4b5fe52f2d55214eb22aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<? $title ='Payment Confirmation'; include('elements/header.php'); ?>
<? $current_menu = ''; include('elements/menu.php'); ?>
<?
  $params = $_GET;
  $params['session_id'] = $_COOKIE['session_id'];

  //print_r($params);
  $payment_results = $freeside->finish_thirdparty($params);

  if ( isset($payment_results['error']) ) {
    $error = $payment_results['error'];
    include('elements/error.php');
  } else {
?>
<TABLE>
  <TR>
    <TH COLSPAN=2><FONT SIZE=+1><B>Your payment details</B></FONT></TH>
  </TR>
  <TR>
<TR>
  <TD ALIGN="right">Payment&nbsp;#</TD>
  <TD BGCOLOR="#ffffff"><B><? echo($payment_results['paynum']); ?></B></TD>
</TR>
<TR>
  <TD ALIGN="right">Payment&nbsp;amount</TH>
  <TD BGCOLOR="#ffffff"><B>$<? printf('%.2f', $payment_results['paid']); ?></B>
  </TD>
</TR>
<TR>
  <TD ALIGN="right">Processing&nbsp;#</TD>
  <TD BGCOLOR="#ffffff"><B><? echo($payment_results['order_number']); ?></B>
  </TD>
</TR>
<? } ?>