An API Token mismatch can be caused by several situations.
Note: Your production Store ID and API token will not work with the test servers. The test servers have separate shared credentials. The test account credentials are listed in the integration guides.
Incorrect server address
There are 4 servers, make sure you use the correct one:
- USA Test Server
https://esplusqa.moneris.com:443/gateway_us/servlet/MpgRequest
- USA Production Server
https://esplus.moneris.com:443/gateway_us/servlet/MpgRequest
- Canada Test Server
https://esqa.moneris.com:443/gateway2/servlet/MpgRequest
- Canada Production Server
https://www3.moneris.com:443/gateway2/servlet/MpgRequest
Incorrect Store ID
Make sure you use your store ID and not your merchant number
Your store id starts with letters
eg. monca0000
, or monus0000
Your merchant number starts with numbers
eg. 295000000000
or 00302000000000
Incorrect API Token
The API token is case sensitive, make sure you copy and paste if from the Moneris Gateway website and that no letters or numbers are missing. Also make sure that no spaces were copied by accident.