fixed bug - mentions to old gateway sub-module removed
This commit is contained in:
parent
ed9771041c
commit
bea73e2a0c
|
@ -12,7 +12,8 @@ class Admin::PaypalPaymentsController < Admin::BaseController
|
||||||
def country_changed
|
def country_changed
|
||||||
end
|
end
|
||||||
|
|
||||||
include Spree::PaypalExpress::Gateway
|
# to allow capture (NB also included in order controller...)
|
||||||
|
include Spree::PaypalExpress
|
||||||
|
|
||||||
def capture
|
def capture
|
||||||
if !@order.paypal_payments.empty? && (payment = @order.paypal_payments.last).can_capture?
|
if !@order.paypal_payments.empty? && (payment = @order.paypal_payments.last).can_capture?
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
en-GB:
|
en-GB:
|
||||||
|
edit_paypal_info: Edit Paypal Express Payment
|
||||||
paypal_payment: Paypal Express Payment
|
paypal_payment: Paypal Express Payment
|
||||||
paypal_txn_id: Transaction Code
|
paypal_txn_id: Transaction Code
|
||||||
paypal_capture_complete: Paypal Transaction has been captured.
|
paypal_capture_complete: Paypal Transaction has been captured.
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
module Spree::PaypalExpress
|
module Spree::PaypalExpress
|
||||||
include ERB::Util
|
include ERB::Util
|
||||||
include Spree::PaymentGateway
|
include Spree::PaymentGateway
|
||||||
include Spree::PaypalExpress::Gateway
|
|
||||||
|
|
||||||
def fixed_opts
|
def fixed_opts
|
||||||
{ :description => "Goods from a Spree-based site", # site details...
|
{ :description => "Goods from a Spree-based site", # site details...
|
||||||
|
|
Loading…
Reference in New Issue