lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.103.0 vs lib/active_merchant/billing/gateways/opp.rb in activemerchant-1.104.0
- old
+ new
@@ -256,9 +256,10 @@
post[:merchantTransactionId] = options[:merchant_transaction_id] || generate_unique_id
end
def add_payment_method(post, payment, options)
return if payment.is_a?(String)
+
if options[:registrationId]
post[:card] = {
cvv: payment.verification_value,
}
else