Permalink
Browse files

Add missing attr_accessible statements, use `PaylineGateway` instead …

…of `Payline`
  • Loading branch information...
1 parent dfdafd7 commit 3cda4f689752509f6c5fb41a22e02a91e5a18c0f @samleb samleb committed Feb 11, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/spree/gateway/payline.rb
@@ -5,8 +5,10 @@ class Payline < Gateway
preference :merchant_access_key, :string
preference :contract_number, :string
+ attr_accessible :preferred_merchant_id, :preferred_merchant_access_key, :preferred_contract_number
+
def provider_class
- ActiveMerchant::Billing::Payline
+ ActiveMerchant::Billing::PaylineGateway
end
end
end

0 comments on commit 3cda4f6

Please sign in to comment.