cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

CC expiration Date question

Hello

I am using AIM SDK to test simple transaction.  I have noticed that transaction is approved  even with incorrect expiration date for CC.  Am I missing something?  Below is a snippet  of code I am using.   when I run the application I use a valid CC number and CCV code.  Expiration date is not that same as CC I am using.

 

Thanks in Advance

 

.....

 Credit Card Number:  <asp:TextBox ID="x_card_num" runat="server" 
            Text="4111111111111111" Height="20px" Width="121px"></asp:TextBox> 
  CCV Code:  <asp:TextBox ID="x_card_code" runat="server" Text="000000000" 
            MaxLength="4" style="margin-left0px" Width="40px"></asp:TextBox> 
  Expiration date:  MMYY  <asp:TextBox ID="x_exp_date" runat="server" Text="0115" 
            MaxLength="4" style="margin-left67px" Width="50px"></asp:TextBox> 
   Amount <asp:TextBox ID="x_amount" runat="server" Text="19.99"></asp:TextBox> 
  Dim gate = OpenGateway()
  Dim apiRequest = CheckoutFormReaders.BuildAuthAndCaptureFromPost()
   Dim response = gate.Send(apiRequest)

        If response.Approved Then
            lbMessage.Text = " approved" & response.Message
        Else
            lbMessage.Text = "not approved" & response.Message
        End If

...

.

neilz
Member
10 REPLIES 10