lib/active_merchant/billing/gateways/smart_ps.rb in activemerchant-1.78.0 vs lib/active_merchant/billing/gateways/smart_ps.rb in activemerchant-1.79.0

- old
+ new

@@ -227,10 +227,10 @@ results end def commit(action, money, parameters) - parameters[:amount] = amount(money) if money + parameters[:amount] = localized_amount(money, parameters[:currency] || default_currency) if money response = parse( ssl_post(self.live_url, post_data(action,parameters)) ) Response.new(response["response"] == "1", message_from(response), response, :authorization => (response["transactionid"] || response["customer_vault_id"]), :test => test?, :cvv_result => response["cvvresponse"],