cancel
Showing results for 
Search instead for 
Did you mean: 

CardNumber always blank in SIMResponse

I'm trying to integrate DPM into my solution... i get an authorized transaction but i'm trying to parse out the CardNumber from Authorizenet.SimResponse class and it's always blank while all the other properties work fine. I take the CardNumber property is to return last few digits of the whole CC number... is it intentional that it's blank?

 

i'm using latest binaries in VS 2012

Dim sr = New AuthorizeNet.SIMResponse(Request.Form)           

Dim CCNumber as String

If Not sr.Approved Then

       'do stuff

Else

       CCNumber=sr.CardNumber.Tostring()     

EndIf

 

sr.cardnumber is always blank

 

any clues?

MartinCA1980
Member
1 REPLY 1

been searching for the answer and only found it after i posted :)

 

see http://community.developer.authorize.net/t5/Integration-and-Testing/Last-Four-numbers-from-DPM-post/...

 

wrong field name was used.

MartinCA1980
Member