diff --git a/app/models/spree/billing_integration/paypal_express_uk.rb b/app/models/spree/billing_integration/paypal_express_uk.rb index 1edfecd..7021b37 100644 --- a/app/models/spree/billing_integration/paypal_express_uk.rb +++ b/app/models/spree/billing_integration/paypal_express_uk.rb @@ -4,11 +4,13 @@ class Spree::BillingIntegration::PaypalExpressUk < Spree::BillingIntegration preference :signature, :string preference :review, :boolean, :default => false preference :no_shipping, :boolean, :default => false + preference :currency, :string, :default => 'GBP' + preference :allow_guest_checkout, :boolean, :default => false - attr_accessible :preferred_login, :preferred_password, :preferred_signature, :preferred_review, :preferred_no_shipping, :preferred_server, :preferred_test_mode + attr_accessible :preferred_login, :preferred_password, :preferred_signature, :preferred_review, :preferred_currency, :preferred_no_shipping, :preferred_server, :preferred_test_mode def provider_class - ActiveMerchant::Billing::PaypalExpressUkGateway + ActiveMerchant::Billing::PaypalExpressGateway end end diff --git a/app/views/spree/checkout/payment/_paypalexpressuk.html.erb b/app/views/spree/checkout/payment/_paypalexpressuk.html.erb new file mode 100644 index 0000000..f511a03 --- /dev/null +++ b/app/views/spree/checkout/payment/_paypalexpressuk.html.erb @@ -0,0 +1,3 @@ + + +