lib/active_merchant/billing/gateways/element.rb in activemerchant-1.121.0 vs lib/active_merchant/billing/gateways/element.rb in activemerchant-1.123.0
- old
+ new
@@ -190,9 +190,11 @@
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?
+ xml.DuplicateOverrideFlag options[:duplicate_override_flag].to_s == 'true' ? 'True' : 'False' unless options[:duplicate_override_flag].nil?
+ xml.MerchantDescriptor options[:merchant_descriptor] if options[:merchant_descriptor]
end
end
def add_terminal(xml, options)
xml.terminal do