fixed bug - mentions to old gateway sub-module removed

This commit is contained in:
paulcc 2009-07-06 12:22:06 +01:00
parent ed9771041c
commit bea73e2a0c
3 changed files with 4 additions and 3 deletions

View File

@ -11,8 +11,9 @@ class Admin::PaypalPaymentsController < Admin::BaseController
def country_changed
end
include Spree::PaypalExpress::Gateway
# to allow capture (NB also included in order controller...)
include Spree::PaypalExpress
def capture
if !@order.paypal_payments.empty? && (payment = @order.paypal_payments.last).can_capture?

View File

@ -1,5 +1,6 @@
---
en-GB:
edit_paypal_info: Edit Paypal Express Payment
paypal_payment: Paypal Express Payment
paypal_txn_id: Transaction Code
paypal_capture_complete: Paypal Transaction has been captured.

View File

@ -3,7 +3,6 @@
module Spree::PaypalExpress
include ERB::Util
include Spree::PaymentGateway
include Spree::PaypalExpress::Gateway
def fixed_opts
{ :description => "Goods from a Spree-based site", # site details...