lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb in activemerchant-1.101.0 vs lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb in activemerchant-1.102.0
- old
+ new
@@ -202,10 +202,10 @@
post[key] = options[key] if options[key]
end
end
def add_credit_card_or_reference(post, credit_card_or_reference, options = {})
- post[:card] ||= {}
+ post[:card] ||= {}
if credit_card_or_reference.is_a?(String)
post[:card][:token] = credit_card_or_reference
else
post[:card][:number] = credit_card_or_reference.number
post[:card][:cvd] = credit_card_or_reference.verification_value