lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.112.0 vs lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.113.0
- old
+ new
@@ -241,11 +241,11 @@
street1: address[:address1],
street2: address[:address2],
city: address[:city],
state: address[:state],
postcode: address[:zip],
- country: address[:country],
+ country: address[:country]
}
end
def add_invoice(post, money, options)
post[:amount] = amount(money)
@@ -258,19 +258,19 @@
def add_payment_method(post, payment, options)
return if payment.is_a?(String)
if options[:registrationId]
post[:card] = {
- cvv: payment.verification_value,
+ cvv: payment.verification_value
}
else
post[:paymentBrand] = payment.brand.upcase
post[:card] = {
holder: payment.name,
number: payment.number,
expiryMonth: '%02d' % payment.month,
expiryYear: payment.year,
- cvv: payment.verification_value,
+ cvv: payment.verification_value
}
end
end
def add_3d_secure(post, options)