lib/active_merchant/billing/integrations/mollie_ideal/helper.rb in activemerchant-1.43.0 vs lib/active_merchant/billing/integrations/mollie_ideal/helper.rb in activemerchant-1.43.1

- old
+ new

@@ -8,11 +8,11 @@ def initialize(order, account, options = {}) @token = account @redirect_paramaters = { :amount => options[:amount], - :description => options[:account_name], + :description => options[:description], :issuer => options[:redirect_param], :redirectUrl => options[:return_url], :method => 'ideal', :metadata => { :order => order } } @@ -21,10 +21,10 @@ super raise ArgumentError, "The redirect_param option needs to be set to the bank_id the customer selected." if options[:redirect_param].blank? raise ArgumentError, "The return_url option needs to be set." if options[:return_url].blank? - raise ArgumentError, "The account_name option needs to be set." if options[:account_name].blank? + raise ArgumentError, "The description option needs to be set." if options[:description].blank? end def credential_based_url response = request_redirect @transaction_id = response['id']