MyPaymentNetwork

Best Practices

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:

Visa: 4111111111111111
MC: 5454545454545454
Discover: 6011111111111117
Amex: 378282246310005

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.

Trigger Amounts

$X.10 => Decline $X.11 => Decline $X.12 => Error $X.02 => Settled Else => Pending Pending transactions will batch at 6am.
Transaction Amount Result
Ends in $.10 or $.11 Triggers a test decline
Ends in $.12 Error
Ends in $.02 Settled
All other amounts Pending (Pending transactions will batch at 6am)

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

ACH testing can be done using (8 ones and 1 eight for both routing and account #s)

ABA: 111111118
DDA: 111111118

Starter Code

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.