lib/active_merchant/billing/gateways/ogone.rb in activemerchant-1.76.0 vs lib/active_merchant/billing/gateways/ogone.rb in activemerchant-1.77.0
- old
+ new
@@ -332,9 +332,10 @@
end
def add_invoice(post, options)
add_pair post, 'orderID', options[:order_id] || generate_unique_id[0...30]
add_pair post, 'COM', options[:description]
+ add_pair post, 'ORIG', options[:origin] if options[:origin]
end
def add_creditcard(post, creditcard)
add_pair post, 'CN', creditcard.name
add_pair post, 'CARDNO', creditcard.number