app/models/spree/gateway/balanced_gateway.rb in solidus_gateway-1.1.1 vs app/models/spree/gateway/balanced_gateway.rb in solidus_gateway-1.2.0
- old
+ new
@@ -30,13 +30,12 @@
payment.source.update_attributes!(:gateway_payment_profile_id => card_uri)
rescue Error => ex
payment.send(:gateway_error, ex.message)
end
- def options_with_test_preference
- options_without_test_preference.merge(:test => self.preferred_test_mode)
+ def options
+ super().merge(:test => self.preferred_test_mode)
end
- alias_method_chain :options, :test_preference
def payment_profiles_supported?
true
end