lib/active_merchant/billing/gateways/payfort.rb
def add_payment(post, payment)
        post[:token_name] = payment.token
        post[:customer_name] = payment.name
        # NOTE: cvv should be present on the second and succeeded purchase requests
        post[:card_security_code] = payment.verification_value if payment.verification_value.present?
      end
# NOTE: card_security_code should not be present in JSON
card_security_code should not be present in JSON
card_security_code should not be present in JSON
def add_payment(post, payment)
        post[:token_name] = payment.token
        post[:customer_name] = payment.name
        post[:card_security_code] = payment.verification_value if payment.verification_value.present?
      end
def add_payment ( post , payment ) post [ :token_name ] = payment . token post [ :customer_name ] = payment . name post [ :card_security_code ] = payment . verification_value if payment . verification_value . present? end
NOTE: card_security_code should not be present in JSON
NOTE : card_security_code should not be present in JSON
# NOTE: cvv should be present on the second and succeeded purchase requests
post
payment