lib/active_merchant/billing/gateways/card_stream.rb in activemerchant-1.60.0 vs lib/active_merchant/billing/gateways/card_stream.rb in activemerchant-1.61.0
- old
+ new
@@ -23,10 +23,11 @@
"EUR" => "978",
"GBP" => "826",
"HKD" => "344",
"ICK" => "352",
"JPY" => "392",
+ "MXN" => "484",
"NOK" => "578",
"NZD" => "554",
"SEK" => "752",
"SGD" => "702",
"USD" => "840",
@@ -85,9 +86,10 @@
commit('SALE', post)
end
def purchase(money, credit_card_or_reference, options = {})
post = {}
+ add_pair(post, :captureDelay, 0)
add_amount(post, money, options)
add_invoice(post, credit_card_or_reference, money, options)
add_credit_card_or_reference(post, credit_card_or_reference)
add_customer_data(post, options)
commit('SALE', post)