app/models/spree/gateway/mollie.rb in spree_mollie-0.0.3 vs app/models/spree/gateway/mollie.rb in spree_mollie-0.0.4
- old
+ new
@@ -15,11 +15,11 @@
"mollie"
end
def provider
unless @mollie
- @mollie = ::Mollie::API::Client.new
- @mollie.setApiKey preferred_partner_id
+ @mollie = ::Mollie::API::Client.new(preferred_partner_id)
+ #@mollie.setApiKey preferred_partner_id
end
return @mollie
end
def purchase(amount, express_checkout, gateway_options={})