lib/active_merchant/billing/gateways/vindicia.rb in activemerchant-1.23.0 vs lib/active_merchant/billing/gateways/vindicia.rb in activemerchant-1.24.0
- old
+ new
@@ -267,10 +267,10 @@
:type => 'CreditCard',
:creditCard => { :account => creditcard.number, :expirationDate => "%4d%02d" % [creditcard.year, creditcard.month] },
:accountHolderName => creditcard.name,
:nameValues => [{ :name => 'CVN', :value => creditcard.verification_value }],
:billingAddress => convert_am_address_to_vindicia(options[:billing_address] || options[:address]),
- :customerSpecifiedType => creditcard.type.capitalize,
+ :customerSpecifiedType => creditcard.brand.capitalize,
:active => !!options[:recurring]
}
end
def authorize_subscription(options)