From ba20413a560e928b22a32f1bf9bc0dc35b4c43bf Mon Sep 17 00:00:00 2001 From: paulcc Date: Mon, 13 Jul 2009 13:52:46 +0100 Subject: [PATCH] typo --- lib/spree/paypal_express.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spree/paypal_express.rb b/lib/spree/paypal_express.rb index 6cfda13..633d2a9 100644 --- a/lib/spree/paypal_express.rb +++ b/lib/spree/paypal_express.rb @@ -80,7 +80,7 @@ module Spree::PaypalExpress def paypal_checkout # need build etc? at least to finalise the total? gateway = paypal_gateway - order.update_totals + @order.update_totals opts = all_opts(@order) response = gateway.setup_authorization(opts[:money], opts)