lib/active_merchant/billing/gateways/element.rb in activemerchant-1.111.0 vs lib/active_merchant/billing/gateways/element.rb in activemerchant-1.112.0
- old
+ new
@@ -186,9 +186,13 @@
xml.ReversalType options[:reversal_type] if options[:reversal_type]
xml.TransactionID options[:trans_id] if options[:trans_id]
xml.TransactionAmount amount(money.to_i) if money
xml.MarketCode 'Default' if money
xml.ReferenceNumber options[:order_id] || SecureRandom.hex(20)
+
+ xml.PaymentType options[:payment_type] if options[:payment_type]
+ xml.SubmissionType options[:submission_type] if options[:submission_type]
+ xml.DuplicateCheckDisableFlag options[:duplicate_check_disable_flag].to_s == 'true' ? 'True' : 'False' unless options[:duplicate_check_disable_flag].nil?
end
end
def add_terminal(xml, options)
xml.terminal do