Showing results for 
Search instead for 
Did you mean: 

Using a fake CC number in test mode

I just recently used for the first time.  I really love how easy was to implement and test.  My only wish is that there would be a way to send through a fake credit card number that validates and approves the transaction.  I don't like having to send through a real CC number for all my testing.  I know about the 4222222222222222 number, but i don't like how the dollar amount affects the response code.  I'd like to be able to use a real dollar amount and optionally send through another field that will force a certain response. 


Other than that little deal, I think offers a great service and I will recommend it to future customers.


What do you mean by, "i don't like how the dollar amount affects the response code"?


I agree that it would be nice to able able to force different responses other then approved and different AVS and CVV responses.

John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post

Have you applied for a test account?  With a test account you submit to a completely different server set up for tesing purposes only, so you can do everything as if it were a live account, but nothing is ever processed on the back-end.  You can read more details about it in a blog post I wrote on the topic:


Dave Parker
IT DevWorks, LLC
Makers of the I-Bill IT libraries for
Trusted Contributor
Trusted Contributor