<p>After reading <a href="https://stackoverflow.com/questions/63668/confessions-of-your-worst-wtf-moment-what-not-to-do#63730">this answer</a>, I wonder if there's a way to get a "testing" credit card number.  One that you can experiment with but that doesn't actually charge anything.</p>

[{'answer_id': 66890, 'author': 'Paul Dixon', 'author_id': 6521, 'author_profile': 'https://Stackoverflow.com/users/6521', 'pm_score': 1, 'selected': False, 'text': '<p>Most payment gateways provide such numbers for testing their services, but they will generally only work on the staging/test versions of those gateways.</p>\n'}, {'answer_id': 66903, 'author': 'ceejayoz', 'author_id': 1902010, 'author_profile': 'https://Stackoverflow.com/users/1902010', 'pm_score': 0, 'selected': False, 'text': '<p>Most payment processors provide either a testing number (PayPal does this) or the ability to go into testing mode (in which no transactions actually get processed).  Consult the documentation.</p>\n'}, {'answer_id': 66916, 'author': 'FlySwat', 'author_id': 1965, 'author_profile': 'https://Stackoverflow.com/users/1965', 'pm_score': 1, 'selected': False, 'text': '<p>Depending on your payment gateway, there are two ways to test a transaction.</p>\n\n<p>For example, with authorize.net, if you send "X_TEST_TRANSACTION=true" (or something like that, its been a long time), with your POST, it will run it in test mode.</p>\n\n<p>They also provide a test VISA and test Mastercard number that will always come back as approved if in test mode, and declined in production mode.</p>\n\n<p>Look at your gateway API documentation, it will be clearly detailed there.</p>\n'}, {'answer_id': 66988, 'author': 'Mike', 'author_id': 1115144, 'author_profile': 'https://Stackoverflow.com/users/1115144', 'pm_score': 6, 'selected': True, 'text': '<pre><code>MasterCard: 5431111111111111\nAmex: 341111111111111\nDiscover: 6011601160116611\nAmerican Express (15 digits)  378282246310005\nAmerican Express (15 digits)  371449635398431\nAmerican Express Corporate (15 digits)  378734493671000\nDiners Club (14 digits)  30569309025904\nDiners Club (14 digits) 38520000023237\nDiscover (16 digits)  6011111111111117\nDiscover (16 digits)  6011000990139424\nJCB (16 digits) 3530111333300000\nJCB (16 digits)  3566002020360505\nMasterCard (16 digits)  5555555555554444\nMasterCard (16 digits)  5105105105105100\nVisa (16 digits)  4111111111111111\nVisa (16 digits)  4012888888881881\nVisa (13 digits)  4222222222222\n</code></pre>\n\n<p><strong>Credit Card Prefix Numbers:</strong> </p>\n\n<pre><code>Visa: 13 or 16 numbers starting with 4\nMasterCard: 16 numbers starting with 5\nDiscover: 16 numbers starting with 6011\nAMEX: 15 numbers starting with 34 or 37\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/66880', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/5314/']