lib/active_merchant/billing/gateways/nexio.rb in nexio_activemerchant-0.2.2 vs lib/active_merchant/billing/gateways/nexio.rb in nexio_activemerchant-0.2.3

- old
+ new

@@ -123,10 +123,10 @@ post[:data][:amount] = amount(money).to_f add_currency(post, options) end def add_currency(post, options) - post[:data][:currency] = options[:currency] || currency(money) + post[:data][:currency] = options[:currency] if options.key?(:currency) end def add_order_data(post, options) if customer = options[:customer] case customer