add new payment mod icon
authorgreg gay <ggay@ocad.ca>
Tue, 4 Jan 2011 20:31:52 +0000 (20:31 -0000)
committergreg gay <ggay@ocad.ca>
Tue, 4 Jan 2011 20:31:52 +0000 (20:31 -0000)
mods/ecomm/dollar.gif [deleted file]
mods/ecomm/include/payments.lib.php
mods/ecomm/payments.png [new file with mode: 0644]

diff --git a/mods/ecomm/dollar.gif b/mods/ecomm/dollar.gif
deleted file mode 100644 (file)
index bf82984..0000000
Binary files a/mods/ecomm/dollar.gif and /dev/null differ
index 0a6d343..d27c540 100644 (file)
@@ -94,9 +94,8 @@ function beanstream_print_form($payment_id, $amount, $course_id) {
        if($_config['ec_gateway'] == 'BeanStream'){
        $mtid = mysql_insert_id($db);
        $mkey = md5($mtid.$amount.$password);
-       $sql = "SELECT * from ".TABLE_PREFIX."members";
-       //echo $sql;
-               //$mkey = md5($payment_id.$amount.$_config['ec_password']);
+       $sql = "SELECT * from ".TABLE_PREFIX."members WHERE member_id = $_SESSION[member_id]";
+
        $result = mysql_query($sql, $db);
 
        while($row = mysql_fetch_assoc($result)){
diff --git a/mods/ecomm/payments.png b/mods/ecomm/payments.png
new file mode 100644 (file)
index 0000000..244973e
Binary files /dev/null and b/mods/ecomm/payments.png differ