summaryrefslogtreecommitdiff
path: root/min_selfservice/main.php
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-09-13 15:27:39 -0700
committerIvan Kohler <ivan@freeside.biz>2018-09-13 15:27:39 -0700
commit9d55843fddd22f64ad0f6b890181c6918aebbf6d (patch)
treebd68fb33154a39075be1fbd0a3636f36383dc070 /min_selfservice/main.php
parente3a8fd7def19db7b5acd6171a828b1bc39094186 (diff)
parent167c830485a305064fb18bb7d91322857e5b5182 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'min_selfservice/main.php')
-rw-r--r--min_selfservice/main.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/min_selfservice/main.php b/min_selfservice/main.php
new file mode 100644
index 000000000..9c58f3f87
--- /dev/null
+++ b/min_selfservice/main.php
@@ -0,0 +1,34 @@
+<? $title ='Make A Payment'; include('elements/header.php'); ?>
+<? $current_menu = 'payment.php'; include('elements/menu.php'); ?>
+
+<?
+$customer_info = $freeside->customer_info_short( array(
+ 'session_id' => $_COOKIE['session_id'],
+) );
+
+
+if ( isset($customer_info['error']) && $customer_info['error'] ) {
+ $error = $customer_info['error'];
+ header('Location:index.php?error='. urlencode($error));
+ die();
+}
+
+extract($customer_info);
+
+?>
+
+<? include('elements/error.php'); ?>
+
+<P>Hello <? echo htmlspecialchars($name); ?></P>
+
+<P>Your current balance is <B>$<? echo $balance ?></B> how would you like to make a payment today?</P>
+
+<div STYLE="margin-left: 25px;">
+<a href="payment_cc.php">Credit card payment</A><BR><BR>
+<a href="payment_ach.php">Electronic check payment</A><BR><BR>
+<a href="payment_paypal.php">PayPal payment</A><BR><BR>
+<a href="payment_webpay.php">Webpay payment</A><BR><BR>
+</div>
+
+<? include('elements/menu_footer.php'); ?>
+<? include('elements/footer.php'); ?> \ No newline at end of file