lib/adyen/form.rb in adyen-2.2.0 vs lib/adyen/form.rb in adyen-2.3.0

- old
+ new

@@ -45,10 +45,10 @@ # for payment forms or redirects. # @see Adyen::Form.environment # @see Adyen::Form.redirect_url def domain(environment = nil) environment ||= Adyen.configuration.environment - (Adyen.configuration.payment_flow_domain || ACTION_DOMAIN) % [environment.to_s] + Adyen.configuration.payment_flow_domain || ACTION_DOMAIN % [environment.to_s] end # Returns the URL of the Adyen payment system, adjusted for an Adyen environment. # # @param [String] environment The Adyen environment to use. This parameter can be