[guadec-web-regcfp] Set regfee email



commit 7c46998094efb5ae2af01bcfd93e92370d1afa85
Author: Patrick Uiterwijk <puiterwijk redhat com>
Date:   Fri Jun 19 18:06:26 2015 +0200

    Set regfee email

 routes/registration.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/routes/registration.js b/routes/registration.js
index e2f65d8..b739c5f 100644
--- a/routes/registration.js
+++ b/routes/registration.js
@@ -124,8 +124,8 @@ function create_payment(req, res, next, amount) {
     'transactions': [{
       'item_list': {
         'items': [{
-          'name': 'GUADEC Registration',
-          'sku': 'regfee',
+          'name': 'GUADEC Registration fee',
+          'sku': 'regfee:' + req.user.email,
           'price': amount.toString(),
           'currency': config['registration']['currency_value'],
           'quantity': 1
@@ -135,7 +135,7 @@ function create_payment(req, res, next, amount) {
         'currency': config['registration']['currency_value'],
         'total': amount.toString()
       },
-      'description': 'GUADEC Registration fee'
+      'description': 'GUADEC Registration fee for ' + req.user.email
     }]
   };
 


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