lib/active_merchant/billing/gateways/ogone.rb in activemerchant-1.28.0 vs lib/active_merchant/billing/gateways/ogone.rb in activemerchant-1.29.0
- old
+ new
@@ -136,11 +136,10 @@
self.default_currency = 'EUR'
self.money_format = :cents
def initialize(options = {})
requires!(options, :login, :user, :password)
- @options = options
super
end
# Verify and reserve the specified amount on the account, without actually doing the transaction.
def authorize(money, payment_source, options = {})
@@ -201,13 +200,9 @@
def store(payment_source, options = {})
options.merge!(:alias_operation => 'BYOGONE') unless options.has_key?(:billing_id) || options.has_key?(:store)
response = authorize(1, payment_source, options)
void(response.authorization) if response.success?
response
- end
-
- def test?
- @options[:test] || super
end
private
def reference_from(authorization)