Permalink
Browse files

Live mode CC

  • Loading branch information...
1 parent 6644262 commit de98423ccc49ad060fdf2e8dcf4ed0b58ca3f9c5 @dustball dustball committed Apr 19, 2012
Showing with 6 additions and 6 deletions.
  1. +1 −1 main.py
  2. +2 −2 static/signin.js
  3. +3 −3 templates/main.html
View
@@ -384,7 +384,7 @@ def get(self):
code = ''
)
gateway = AimGateway(auth_net_login_id, auth_net_trans_key)
- gateway.use_test_mode = True
+ gateway.use_test_mode = False
gateway.use_test_url = False
response = gateway.sale(10.00, card)
self.response.out.write(simplejson.dumps({"trans_id":response.trans_id,
View
@@ -100,7 +100,7 @@ function stopRKey(evt) {
charge(cc,month,year);
return;
}
- if (m = raw.match(/^[;%]E.+\?/)) {
+ if (m = raw.match(/^[;%]E.*\?/)) {
// Error
auto_reset();
$('#ccerror').fadeIn();
@@ -182,7 +182,7 @@ function clickmember() {
// window.audio = new Audio("/static/list.mp3");
// window.audio.play();
name = em.substring(0,em.indexOf("@hackerdojo.com")).replace("."," ").capitalize();
- gravatar = "http://www.gravatar.com/avatar/" + hex_md5(em);
+ gravatar = "https://secure.gravatar.com/avatar/" + hex_md5(em);
$('.rfidpic').attr("src",gravatar);
$('.rfidname').html(name);
}
View
@@ -2,9 +2,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Sign in</title>
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+ <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="/static/md5.js"></script>
- <script type="text/javascript" src="/static/signin.js"></script>
+ <script type="text/javascript" src="/static/signin.js?v=3"></script>
<link rel="stylesheet" type="text/css" href="/static/signin.css" />
</head>
<body id="body">
@@ -25,7 +25,7 @@
</div>
<div id="tos" class="corners" style="display:none; position:absolute; z-index:2; top:10%; left:10%; width:80%; height:80%; border:2px solid black; background:white ">
- <iframe style="border:none" border=0 width=100% src="http://hackerdojo.pbworks.com/api_v2/op/GetPage/page/Policies/_type/html" height=80%>
+ <iframe style="border:none" border=0 width=100% src="https://hackerdojo.pbworks.com/api_v2/op/GetPage/page/Policies/_type/html" height=80%>
</iframe>
<center>
<input style="margin:1em" type=button onclick="thanks();" value="I agree to the terms above" />

0 comments on commit de98423

Please sign in to comment.