lib/active_merchant/billing/gateways/openpay.rb in activemerchant-1.59.0 vs lib/active_merchant/billing/gateways/openpay.rb in activemerchant-1.60.0
- old
+ new
@@ -103,9 +103,10 @@
post[:amount] = amount(money)
post[:method] = 'card'
post[:description] = options[:description]
post[:order_id] = options[:order_id]
post[:device_session_id] = options[:device_session_id]
+ post[:currency] = (options[:currency] || currency(money)).upcase
add_creditcard(post, creditcard, options)
post
end
def add_creditcard(post, creditcard, options)