diff --git a/app/models/spree/billing_integration/paypal_express.rb b/app/models/spree/billing_integration/paypal_express.rb index cdf5492..9509b67 100644 --- a/app/models/spree/billing_integration/paypal_express.rb +++ b/app/models/spree/billing_integration/paypal_express.rb @@ -7,6 +7,8 @@ class Spree::BillingIntegration::PaypalExpress < Spree::BillingIntegration preference :currency, :string, :default => 'USD' preference :allow_guest_checkout, :boolean, :default => false + attr_accessible :preferred_login, :preferred_password, :preferred_signature, :preferred_review, :preferred_no_shipping, :preferred_currency, :preferred_allow_guest_checkout, :preferred_server, :preferred_test_mode + def provider_class ActiveMerchant::Billing::PaypalExpressGateway end diff --git a/app/models/spree/billing_integration/paypal_express_uk.rb b/app/models/spree/billing_integration/paypal_express_uk.rb index 00ff40e..1edfecd 100644 --- a/app/models/spree/billing_integration/paypal_express_uk.rb +++ b/app/models/spree/billing_integration/paypal_express_uk.rb @@ -5,6 +5,8 @@ class Spree::BillingIntegration::PaypalExpressUk < Spree::BillingIntegration preference :review, :boolean, :default => false preference :no_shipping, :boolean, :default => false + attr_accessible :preferred_login, :preferred_password, :preferred_signature, :preferred_review, :preferred_no_shipping, :preferred_server, :preferred_test_mode + def provider_class ActiveMerchant::Billing::PaypalExpressUkGateway end