There was a problem finalizing your purchase. (TESTMODE) The merchant login ID or password is invali

I keep getting this error when trying to process a payment:

There was a problem finalizing your purchase. (TESTMODE) The merchant login ID or password is invalid or the account is inactive. Please go back and try again.

I've double checked the merchant ID and password and they are correct. Any ideas?