lib/active_merchant/billing/gateways/merchant_one.rb in activemerchant-1.87.0 vs lib/active_merchant/billing/gateways/merchant_one.rb in activemerchant-1.88.0
- old
+ new
@@ -73,12 +73,12 @@
post['zip'] = options[:billing_address][:zip]
post['country'] = options[:billing_address][:country]
end
def add_creditcard(post, creditcard)
- post['cvv'] = creditcard.verification_value
- post['ccnumber'] = creditcard.number
- post['ccexp'] = "#{sprintf("%02d", creditcard.month)}#{creditcard.year.to_s[-2, 2]}"
+ post['cvv'] = creditcard.verification_value
+ post['ccnumber'] = creditcard.number
+ post['ccexp'] = "#{sprintf("%02d", creditcard.month)}#{creditcard.year.to_s[-2, 2]}"
end
def commit(action, money, parameters={})
parameters['username'] = @options[:username]
parameters['password'] = @options[:password]