authorize.netauthorize.net-cim

validate the credit card in authorize.net without specifying the amount


According to the api we can authorize the credit card. But in that process we have to put the amount and other information. What if i only want to validate a credit card not to charge it.

Actually i only want to verify whether the user is putting the correct credit card or not. because the system have to go through the hands of laymen.


Solution

  • You can't validate a credit card is legitimate without processing a transaction. You can validate the format of the card number is valid and the card is not expired, but not if it is real or active.

    To validate a credit card is valid without charging it you need to do an AUTH_ONLY for either $0.00 or $0.01 depending on your processor's requirements. If it is approved, and the amount is $0.01, you should then void that transaction.