[guadec-web] Removed check for currency code
- From: Saumya Dwivedi <saumyad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] Removed check for currency code
- Date: Wed, 9 Jul 2014 09:59:26 +0000 (UTC)
commit e544682008578d721c740cfe168d7e217fff2cd9
Author: Saumya Dwivedi <saumya zero gmail com>
Date: Wed Jul 9 15:29:13 2014 +0530
Removed check for currency code
guadec/ipn.php | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/guadec/ipn.php b/guadec/ipn.php
index 3e59295..7522037 100755
--- a/guadec/ipn.php
+++ b/guadec/ipn.php
@@ -64,16 +64,16 @@ if ($verified) {
// 3. Make sure the amount(s) paid match
$total_fee = floatval($cvar['totalfee']);
- if ($_POST['mc_gross'] <= $total_fee) {
+ if ($_POST['mc_gross'] != $total_fee) {
$errmsg .= "'mc_gross' does not match: ";
$errmsg .= $_POST['mc_gross']."\n";
}
- // 4. Make sure the currency code matches
- if ($_POST['mc_currency'] != 'EUR') {
- $errmsg .= "'mc_currency' does not match: ";
- $errmsg .= $_POST['mc_currency']."\n";
- }
+ // // 4. Make sure the currency code matches
+ // if ($_POST['mc_currency'] != 'EUR') {
+ // $errmsg .= "'mc_currency' does not match: ";
+ // $errmsg .= $_POST['mc_currency']."\n";
+ // }
// TODO: Check for duplicate user_id
$reg_email = $cvar['email'];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]