lib/active_merchant/billing/gateways/mundipagg.rb in activemerchant-1.79.0 vs lib/active_merchant/billing/gateways/mundipagg.rb in activemerchant-1.79.1
- old
+ new
@@ -174,9 +174,10 @@
post[:payment][:credit_card][:card][:number] = payment.number
post[:payment][:credit_card][:card][:holder_name] = payment.name
post[:payment][:credit_card][:card][:exp_month] = payment.month
post[:payment][:credit_card][:card][:exp_year] = payment.year
post[:payment][:credit_card][:card][:cvv] = payment.verification_value
+ post[:payment][:credit_card][:card][:holder_document] = options[:holder_document] if options[:holder_document]
add_billing_address(post,'credit_card', options)
end
end
def add_voucher(post, payment, options)