lib/active_merchant/billing/gateways/moneris_us.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/moneris_us.rb in activemerchant-1.84.0
- old
+ new
@@ -1,10 +1,9 @@
require 'rexml/document'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
-
# To learn more about the Moneris (US) gateway, please contact
# ussales@moneris.com for a copy of their integration guide. For
# information on remote testing, please see "Test Environment Penny Value
# Response Table", and "Test Environment eFraud (AVS and CVD) Penny
# Response Values", available at Moneris' {eSelect Plus Documentation
@@ -56,10 +55,10 @@
add_payment_source(post, creditcard_or_datakey, options)
post[:amount] = amount(money)
post[:order_id] = options[:order_id]
post[:address] = options[:billing_address] || options[:address]
post[:crypt_type] = options[:crypt_type] || @options[:crypt_type]
- action = (post[:data_key].blank?) ? 'us_preauth' : 'us_res_preauth_cc'
+ action = post[:data_key].blank? ? 'us_preauth' : 'us_res_preauth_cc'
commit(action, post)
end
# This action verifies funding on a customer's card and readies them for
# deposit in a merchant's account.