lib/active_merchant/billing/gateways/nab_transact.rb in activemerchant-1.42.2 vs lib/active_merchant/billing/gateways/nab_transact.rb in activemerchant-1.42.3
- old
+ new
@@ -125,14 +125,16 @@
xml.tag! 'currency', options[:currency] || currency(money)
xml.tag! 'txnID', transaction_id
xml.tag! 'purchaseOrderNo', order_id
xml.tag! 'preauthID', preauth_id
+ add_metadata(xml, options)
+
xml.target!
end
#Generate payment request XML
- # - API is set to allow multiple Txn's but currentlu only allows one
+ # - API is set to allow multiple Txn's but currently only allows one
# - txnSource = 23 - (XML)
def build_request(action, body)
xml = Builder::XmlMarkup.new
xml.instruct!
xml.tag! 'NABTransactMessage' do