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)