My Profile_


Testing a Solution

Merchant Resource Centre

The Merchant Resource Center is the user interface for Moneris Payment Gateway services. There is also a QA version of the Merchant Resource Centre site specifically allocated for you and other developers to use to test your API integrations with the gateway. You can access the Merchant Resource Center in the test environment at:

https://esqa.moneris.com/mpg (Canada)

https://esplusqa.moneris.com/usmpg (United States)

The test environment is generally available 24×7, but 100% availability is not guaranteed. Also, please be aware that other merchants are using the test environment in the Merchant Resource Center. Therefore, you may see transactions and user IDs that you did not create. As a courtesy to others who are testing, we ask that you use only the transactions/users that you created. This applies to processing Refund transactions, changing passwords or trying other functions.
The test environment has been designed to replicate the production environment as closely as possible.

One major difference is that Moneris is unable to send test transactions onto the production authorization network. Therefore, issuer responses are simulated. Additionally, the requirement to emulate approval, decline and error situations dictates that certain transaction variables initiate various response and error situations. The test environment approves and declines transactions based on the penny value of the amount sent. For example, a transaction made for the amount of $9.00 or $1.00 is approved because of the .00 penny value.

Transactions in the test environment must not exceed $11.00.

For a list of all current test environment responses for various penny values, please see "Penny Value Simulator"

NOTE: These responses may change without notice. Check the "Penny Value Simulator" regularly to access the latest documentation and downloads.

When testing, use the test credentials provided in the following tables with the corresponding lines of code, as in the examples below.

For Canada:
string processing_country_code = "CA";
mpgReq.setTestMode(true);
String store_id = "store5";
String api_token = "yesguy";

store_id api_token username password other information
store1 yesguy demouser password  
store2 yesguy demouser password  
store3 yesguy demouser password  
store4 yesguy demouser password  
store5 yesguy demouser password  
monca00392 yesguy demouser password Use this store to test Convenience Fee transactions
moncaqagt1 mgtokenguy1 demouser password Use this store to test Token Sharing
moncaqagt2 mgtokenguy2 demouser password Use this store to test Token Sharing
moncaqagt3 mgtokenguy3 demouser password Use this store to test Token Sharing
 

For US:
string processing_country_code = "US";
mpgReq.setTestMode(true);
String store_id = "monusqa005";
String api_token = "qatoken";er functions.

store_id api_token username password other information
monusqa002 qatoken demouser abc1234  
monusqa003 qatoken demouser abc1234  
monusqa004 qatoken demouser abc1234  
monusqa005 qatoken demouser abc1234  
monusqa006 qatoken demouser abc1234  
monusqa024 qatoken demouser abc1234 For testing ACH transactions only
monusqa025 qatoken demouser abc1234 For testing both ACH and Credit Card transactions
monusqa138 qatoken demouser abc1234 For testing Convenience Fee transactions
 

Test Cards

Because of security and compliance reasons, the use of live credit and debit card numbers for testing is strictly prohibited. Only test credit and debit card numbers are to be used.

To test general transactions, use the following test card numbers:

Card Plan Card Number
MasterCard 5454545454545454
MasterCard (Bin2 CAN) 2222400041240011         Expiry date: 08/17 (MM/YY)
MasterCard (Bin2 US) 2223000048400011         Expiry date: 08/17 (MM/YY)
Visa 4242424242424242
Amex 373599005095005
JCB 3566007770015365
Diners 36462462742008
Discover 6510000000000182
Track 2 5258968987035454=06061015454001060101?


To test level 2/3 transactions, use the following test card numbers:

Card Plan Card Number
MasterCard 5454545442424242
Visa 4242424254545454
Amex 373269005095005
Diners 36462462742008


To test ACH transactions (US only), use the following account details:

 
Financial institution FEDERAL RESERVE BANK
Routing Number 011000015
Account number Any number between 5 and 22 digits
Check number Any number