Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4625860
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:20:03+00:00 2026-05-22T03:20:03+00:00

I have currently processed a credit card using Authorize.net with Card Present settings. The

  • 0

I have currently processed a credit card using Authorize.net with Card Present settings. The great thing is that the card is being transacted but when i use the same card with different expiry date or a different cvs number the card is still being transacted. This shouldnt happen. Here is the code that im using in VB.NET.

Am i missing any settings?. This transaction is on test mode.

Public Sub New(ByVal authID As String, _
                   ByVal authPassword As String, _
                   ByVal authTransKey As String, _
                   ByVal serverType As AuthServerTypeEnum, _
                   ByVal cardHolderName As String, _
                   ByVal cardNumber As String, _
                   ByVal expiryMonth As String, _
                   ByVal expiryYears As String, _
                   ByVal issuenumber As Integer, _
                   ByVal cvs As Integer, _
                   ByVal issueMonth As String, _
                   ByVal issueYear As String, _
                   ByVal fullName As String, _
                   ByVal address1 As String, _
                   ByVal address2 As String, _
                   ByVal townCity As String, _
                   ByVal county As String, _
                   ByVal country As String, _
                   ByVal postCode As String, _
                   ByVal amount As String)

        Me._AuthServerType = AuthServerTypeEnum.Test
        'Me._AuthLoginID = "xxxxxx"
        'Me._AuthTransKey = "xxxxxx"
        Me._AuthLoginID = "xxxxxx"
        Me._AuthTransKey = "xxxxxx"

        Dim objInf As New NameValueCollection(30)
        Dim objRetInf As New NameValueCollection(30)

        objInf.Add("x_version", _AuthVersion)
        objInf.Add("x_delim_data", "True")
        objInf.Add("x_login", Me.AuthLoginID)
        objInf.Add("x_password", Me.AuthPassword)
        objInf.Add("x_tran_key", Me.AuthTransKey)
        objInf.Add("x_relay_response", "False")



        Select Case Me.AuthServerType
            Case AuthServerTypeEnum.Live
                objInf.Add("x_test_request", "false")
            Case Else
                objInf.Add("x_test_request", "True")
        End Select

        objInf.Add("x_delim_char", ",")
        objInf.Add("x_encap_char", "|")

        objInf.Add("x_first_name", fullName)
        'objInf.Add("x_last_name", "Patel")
        objInf.Add("x_address", address1)
        objInf.Add("x_city", townCity)
        objInf.Add("x_state", county)
        objInf.Add("x_zip", postCode)
        objInf.Add("x_country", country)

        objInf.Add("x_description", "Description of Order")

        objInf.Add("x_card_num", cardNumber.Replace(" ", ""))
        objInf.Add("x_exp_date", expiryMonth.ToString & "/" & expiryYears.ToString)
        objInf.Add("x_market_type", "2")
        objInf.Add("x_device_type", "5")
        objInf.Add("x_response_format", "1")

        objInf.Add("x_card_code", cvs)

        objInf.Add("x_method", "CC")
        objInf.Add("x_type", "AUTH_CAPTURE")
        objInf.Add("x_amount", "1")

        objInf.Add("x_currency_code", "USD")

        Dim objRetBytes() As Byte
        Dim objRetVals() As String
        Dim strError As String = String.Empty

        Try

            objRetBytes = Me.WebClientRequest.UploadValues(Me.WebClientRequest.BaseAddress, objInf)
            objRetVals = System.Text.Encoding.ASCII.GetString(objRetBytes).Split(",".ToCharArray())

            If True Then

            End If

        Catch ex As Exception

        End Try

    End Sub
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:20:04+00:00Added an answer on May 22, 2026 at 3:20 am

    This is not a coding issue.

    An incorrect expiration date and/or CVV number will not necessarily cause a transaction to be declined. It is not uncommon for an incorrect expiration date to be provided by a customer so many banks do not decline sales for this reason. Additionally, CVV is just a tool for determining fraud risk per transaction. A mismatch simply means the chance of risk is higher and it’s up to the merchant to decide if they want to accept or reject the transaction. But the transaction will not be declined for it as it is not a factor in the approval process for most card issuing banks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a checkout process for a shopping cart that is currently storing credit
I have currently an installed pgsql instance that is running on port 1486 .
I currently have an MS Access application that connects to a PostgreSQL database via
I currently have an existing database and I am using the LINQtoSQL generator tool
I have a shopping cart page where my 'Pay By Credit Card' button fires
We have a C# Windows service that currently processes all the PDFs by reading
I am currently in the process of creating my own blog and I have
I currently have speakers set up both in my office and in my living
We currently have a company email server with Exchange, and a bulk email processing
I currently have a fairly robust server-side validation system in place, but I'm looking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.