lib/active_merchant/billing/gateways/secure_net.rb in activemerchant-1.49.0 vs lib/active_merchant/billing/gateways/secure_net.rb in activemerchant-1.50.0
- old
+ new
@@ -201,10 +201,10 @@
xml.tag! 'INVOICEDESC', options[:invoice_description] if options[:invoice_description]
xml.tag! 'INVOICENUM', options[:invoice_number] if options[:invoice_number]
add_merchant_key(xml, options)
xml.tag! 'METHOD', 'CC'
xml.tag! 'NOTE', options[:description] if options[:description]
- xml.tag! 'ORDERID', options[:order_id]
+ xml.tag! 'ORDERID', truncate(options[:order_id], 25)
xml.tag! 'OVERRIDE_FROM', 0 # Docs say not required, but doesn't work without it
end
def add_more_required_params(xml, options)
xml.tag! 'RETAIL_LANENUM', '0'