Transaction declined errors when testing DPS
Posted May 22nd, 2008 in Miscellaneous Postings
I kept getting transaction declined errors when using a test DPS/Payment Express account for processing credit cards on a website I'm working on. (DPS or Direct Payment Solutions is the biggest player in New Zealand for providing credit card processing gateway services). This post looks at why I got the error message and the solution.
Reason for the error
When I was running my initial tests, I got transaction declined errors every single time I attempted to process the credit card. I was using a real credit card number to test with and this, as it turns out, was the reason for the error. When using a DPS test account you can only use special card numbers and not real credit cards.
Card numbers to use
Instead of using a real credit card number with a DPS test account you need to use one of the following test/example card numbers:
VISA: 4111111111111111
MasterCard: 5431111111111111
American Express: 371111111111114
Diners Club: 36000000000008
Any future expiry date is valid, and of course you won't be able to use those numbers to make real transactions with.
Recent posts:
- List installed packages with YUM (Tuesday, December 2nd 2008)
- Monthly Roundup - November 2008 (Monday, December 1st 2008)
- Weekly Roundup - December 1st 2008 (Monday, December 1st 2008)
- Installing subversion on CentOS (Sunday, November 30th 2008)
- GoDaddy 99 cent .com domain coupon code (Saturday, November 29th 2008)
- Find the index of a string within a string with Javascript (Friday, November 28th 2008)
Subscribe to RSS Feed / Email / Bookmark / Share
Use the buttons below to subscribe to my RSS feed to be notified next time something is posted, share this post with others, or subscribe by email and have my posts sent in a daily email.
