Add missing paypalexpressuk partial and clean up the related class some
Fixes #49
This commit is contained in:
parent
7e018fb2d2
commit
f7b2775b7e
|
@ -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
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<a href="<%= paypal_payment_order_checkout_url @order, :payment_method_id => payment_method %>" style="text-align: center;">
|
||||
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;"/>
|
||||
</a>
|
Loading…
Reference in New Issue