summaryrefslogtreecommitdiff
path: root/ng_selfservice/payment_finish.php
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-07-24 12:56:21 -0700
committerMark Wells <mark@freeside.biz>2013-07-24 12:56:21 -0700
commit72891d1753adf47e0318049c19a501c89c24f0cd (patch)
tree7a916e5f16fec822bf3bc53dbc1cfa664292e07f /ng_selfservice/payment_finish.php
parent35f3cb28e5d3fee1bc1a892acb9cc2d90f55d365 (diff)
NG selfservice webpay interface, #23579
Diffstat (limited to 'ng_selfservice/payment_finish.php')
-rw-r--r--ng_selfservice/payment_finish.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/ng_selfservice/payment_finish.php b/ng_selfservice/payment_finish.php
new file mode 100644
index 0000000..413f497
--- /dev/null
+++ b/ng_selfservice/payment_finish.php
@@ -0,0 +1,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>
+<? } ?>