• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Electric Toolbox Blog

The Electric Toolbox Blog

Linux, Apache, Nginx, MySQL, Javascript and PHP articles

  • Applications
  • FCKEditor
  • Apache
  • Windows
  • Contact Us
Home / Miscellaneous Postings / Transaction declined errors when testing DPS

Transaction declined errors when testing DPS

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.

Check Out These Related posts:

  1. How to use a flash card reader with Linux
  2. Update PHP from the command line with YUM
  3. How to use a flash card reader with Linux – How to scan the SCSI bus
  4. Getting Transaction Check Error with Yum

Filed Under: Miscellaneous Postings

Primary Sidebar

Categories

  • Apache
  • Applications
  • Article
  • Case Studies
  • Email Servers
  • FCKEditor
  • HTML And CSS
  • Javascript
  • Linux/Unix/BSD
  • Microsoft SQL Server
  • Miscellaneous Postings
  • MySql
  • Networking
  • Nginx Web Server
  • Offsite Articles
  • OSX
  • PHP
  • Quick Tips
  • RFC – Request for Comments
  • SilverStripe
  • VMWare
  • VPN
  • Windows
  • WordPress

Recent Posts

  • Vim Show Line Numbers
  • Add User To Group Linux
  • Chmod 777 Tutorial
  • How to Copy Directory Linux
  • Linux create user

Copyright © 2021. ElectricToolBox. All Rights Reserved.

  • Contact Us
  • Copyright Info
  • Privacy Policy
  • Sitemap