2011-11-17 15:53:07 +00:00
|
|
|
class Spree::BillingIntegration::PaypalExpressUk < Spree::BillingIntegration
|
2010-01-25 10:32:08 +00:00
|
|
|
preference :login, :string
|
|
|
|
preference :password, :password
|
|
|
|
preference :signature, :string
|
2010-02-25 12:32:48 +00:00
|
|
|
preference :review, :boolean, :default => false
|
2010-03-05 11:59:20 +00:00
|
|
|
preference :no_shipping, :boolean, :default => false
|
2012-05-02 15:50:36 +00:00
|
|
|
preference :currency, :string, :default => 'GBP'
|
|
|
|
preference :allow_guest_checkout, :boolean, :default => false
|
2010-01-25 10:32:08 +00:00
|
|
|
|
2012-05-02 15:50:36 +00:00
|
|
|
attr_accessible :preferred_login, :preferred_password, :preferred_signature, :preferred_review, :preferred_currency, :preferred_no_shipping, :preferred_server, :preferred_test_mode
|
2012-04-30 07:55:32 +00:00
|
|
|
|
2010-01-25 10:32:08 +00:00
|
|
|
def provider_class
|
2012-05-02 15:50:36 +00:00
|
|
|
ActiveMerchant::Billing::PaypalExpressGateway
|
2010-01-25 10:32:08 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|