Making Test Transactions
Your account is currently hooked up to the mock processor, meaning transactions will not move real money. To process a transaction, you should issue a POST against the /txns endpoint. Click here for a sample.
The best way to handle the transaction processing is to process the transaction and check the `status` field of the response. If the status is Pending or Settled, that means the transaction was successful.
Test Card #’s, you can use to following depending on payment method you'd like to process:
Any expiration date and CVV code are accepted, as long as the date is in the future and the CVV code is 3 digits for Visa/MC/Disc or 4 digits for Amex.
To trigger declines, we use a value look up table. Simply process a transaction for these dollar amounts, and you will get the response you desire. Please note that partial authorizations, while simulated by the API, are disabled at our live processor and cannot happen in the real world. Also note that in the real world, transactions will go into Pending until they're batched out at midnight, however, the default behavior is to move straight to Settled, so that programmers reporting tools will usually work without the developer having to wait a day.
If you need to do end-to-end reconciling, You will schedule a daily call to a report process that loops through the transactions for the day and matches them up with your system.
|Ends in $.01||Triggers a test decline|
|Ends in $.02||Leaves a transaction in pending, to be settled every hour divisible by 4 daily. This is a more realistic pattern as this is how transactions behave in the real world.|
|Equals $44.44||Partial authorization for $22.22. Partial authorizations are impossible based on how your industry is set up so this is just something to steer clear of.|
|All other amounts||Transaction moves directly into settled without pending. Convenient while testing for immediate reporting needs.|
Test Magnetic Strip
Copy the below stripe. Click "Swipe Card". CTRL+V to paste in the stripe.
%B4111111111111111^JONES/NANCY^00000000000000000000000?;4111111111111111=150151465116111? %B55454545454545454^JONES/NANCY^00000000000000000000000?;5454545454545454=150151465116111? %B378282246310005^JONES/NANCY^00000000000000000000000?;378282246310005=150151465116111?
ACH testing can be done using (8 ones and 1 eight for both routing and account #s)
We have starter code for .NET and PHP that basically constitute a few classes/functions that can successfully process a communication. That might be of value to you if you use one of those languages.