Traine Freelancer
Traine Freelancer

Reputation: 3

how to validate credit card number and Card Code Verification (ccv)

i am using authorize.net {aim} for payment gate way.

I have used http://www.johnconde.net/blog/tutorial-integrating-the-authorizenet-aim-api-with-php/ class and successfuly working without error.

But my client need to validate the ccv [Card Code Verification].

Can anyone please help with this.

I am using test authorize for developer account.

Thank You

Upvotes: 0

Views: 9071

Answers (1)

Jonnix
Jonnix

Reputation: 4187

Right, so after some initial fail on understanding what was being asked for, I think the following should help.

http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Validating-Credit-Card-Information-Part-3-of-3-CVV-Numbers/ba-p/7657

The post provides some code that validates a CVV number. It obviously can't tell you if it's correct or not though.

Hopefully that helps.

Upvotes: 1

Related Questions