lib/active_merchant/billing/gateways/card_connect.rb in activemerchant-1.99.0 vs lib/active_merchant/billing/gateways/card_connect.rb in activemerchant-1.100.0

- old
+ new

@@ -86,10 +86,11 @@ add_payment(post, payment) add_currency(post, money, options) add_address(post, options) add_customer_data(post, options) add_3DS(post, options) + add_additional_data(post, options) post[:capture] = 'Y' commit('auth', post) end end @@ -100,10 +101,11 @@ add_invoice(post, options) add_payment(post, payment) add_address(post, options) add_customer_data(post, options) add_3DS(post, options) + add_additional_data(post, options) commit('auth', post) end def capture(money, authorization, options = {}) post = {} @@ -234,9 +236,10 @@ updated.merge!(k.to_s.gsub(/_/, '') => v) end updated end end + post[:userfields] = options[:user_fields] if options[:user_fields] end def add_3DS(post, options) post[:secureflag] = options[:secure_flag] if options[:secure_flag] post[:securevalue] = options[:secure_value] if options[:secure_value]