[guadec-web-regcfp/develop] Fix symbol



commit 6849944418b28eac4a6a967e2c12fb11fff2b3a7
Author: Patrick Uiterwijk <puiterwijk redhat com>
Date:   Tue Aug 4 22:00:45 2015 +0200

    Fix symbol

 routes/registration.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/routes/registration.js b/routes/registration.js
index a39610e..958b879 100644
--- a/routes/registration.js
+++ b/routes/registration.js
@@ -82,7 +82,7 @@ router.post('/pay/paypal/execute', function(req, res, next) {
       console.log('Response: ');
       console.log(JSON.stringify(payment));
       var info = {
-        currency: payment[transactions[0]['amount']['currency'],
+        currency: payment.transactions[0]['amount']['currency'],
         amount: payment.transactions[0]['amount']['total'],
         paid: payment.state == 'approved',
         type: 'paypal',



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