quiet warnings about CGI::param in list context
[freeside.git] / ng_selfservice / payment_finish.php
1 <? $title ='Payment Confirmation'; include('elements/header.php'); ?>
2 <? $current_menu = ''; include('elements/menu.php'); ?>
3 <?
4   $params = $_GET;
5   $params['session_id'] = $_COOKIE['session_id'];
6
7   //print_r($params);
8   $payment_results = $freeside->finish_thirdparty($params);
9
10   if ( isset($payment_results['error']) ) {
11     $error = $payment_results['error'];
12     include('elements/error.php');
13   } else {
14 ?>
15 <TABLE>
16   <TR>
17     <TH COLSPAN=2><FONT SIZE=+1><B>Your payment details</B></FONT></TH>
18   </TR>
19   <TR>
20 <TR>
21   <TD ALIGN="right">Payment&nbsp;#</TD>
22   <TD BGCOLOR="#ffffff"><B><? echo($payment_results['paynum']); ?></B></TD>
23 </TR>
24 <TR>
25   <TD ALIGN="right">Payment&nbsp;amount</TH>
26   <TD BGCOLOR="#ffffff"><B>$<? printf('%.2f', $payment_results['paid']); ?></B>
27   </TD>
28 </TR>
29 <TR>
30   <TD ALIGN="right">Processing&nbsp;#</TD>
31   <TD BGCOLOR="#ffffff"><B><? echo($payment_results['order_number']); ?></B>
32   </TD>
33 </TR>
34 <? } ?>