[guadec-web] Adding Payment Gateway Files-Test-2



commit 259f3f47d6ae02e6789bb63e28b0ccff5abd95de
Author: Saumya Dwivedi <saumya zero gmail com>
Date:   Sun Jul 6 20:47:47 2014 +0530

    Adding Payment Gateway Files-Test-2

 guadec/confirm-payment.php   |    2 +-
 guadec/js/calculate-total.js |    4 +-
 guadec/js/ipn.php            |   91 ------------
 guadec/js/ipnlistener.php    |  310 ------------------------------------------
 4 files changed, 4 insertions(+), 403 deletions(-)
---
diff --git a/guadec/confirm-payment.php b/guadec/confirm-payment.php
index b9da6bb..6a7de38 100644
--- a/guadec/confirm-payment.php
+++ b/guadec/confirm-payment.php
@@ -125,7 +125,7 @@ if (!empty($_POST)) {
        <div class="section group"> "Invalid Submission. Please go through registration page first."</div>
 <?php else: ?>
        <?php if ($errors == true): ?>
-       <div class="section group"> "Invalid name or email. Please check."<a 
href="https://www.guadec.org/registration-form/";> Go back to Registration </a></div>
+       <div class="section group"> "Invalid name or email. Please check."<a 
href="https://www.guadec.org/registration-form/";> Go back to Registration page</a></div>
        <?php else: ?>
                <?php //echo $registerInfo; ?>
                <div class="section group">
diff --git a/guadec/ipn.php b/guadec/ipn.php
old mode 100644
new mode 100755
diff --git a/guadec/ipn_errors.log b/guadec/ipn_errors.log
new file mode 100755
index 0000000..e69de29
diff --git a/guadec/ipnlistener.php b/guadec/ipnlistener.php
old mode 100644
new mode 100755
diff --git a/guadec/js/calculate-total.js b/guadec/js/calculate-total.js
index a057147..3833cc9 100644
--- a/guadec/js/calculate-total.js
+++ b/guadec/js/calculate-total.js
@@ -77,7 +77,8 @@ function enableDisableA(obj) {
                $("[name=bday]").prop("disabled", true);
                $("[name=sponsored]").prop("disabled", true);
                $("[name=student]").prop("disabled", true);
-
+               $("[name=sponsored]").prop("checked", false);
+               $("[name=student]").prop("checked", false);
                $(".box-options-accom").addClass("disabled");
 
        }
@@ -92,6 +93,7 @@ function enableDisableL(obj) {
        }
        else {
                $("form input[value*='lunch_']").prop("disabled", true);
+               $("form input[value*='lunch_']").prop("checked", false);
                $("[name=diet]").prop("disabled", true);
                $(".box-options-lunch").addClass("disabled");
                


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]