We are doing some testing in the sandbox mode and running into an issue of a 401 error. I understand this error relates to somethign with the api connection being wrong.
We've narrowed it down to the following:
If we copy the Merchant token from https://developer.payeezy.com/user/me/merchants for the "Acme Sock" merchant everything works fine!
We created an demo gateway at https://demo.globalgatewaye4.firstdata.com/ and followed the process at https://developer.payeezy.com/user/me/merchants to add the new demo gateway as a merchant by copying the appropriate MID, Gateway ID, Gateway Pass and HMAC Key.
Now if we go back to our code and replace the Merchant Token for the "Acme Sock" account with the Merchant Token for the new demo gateway merchant, we get a 401 error in our code. If we change it back to the "Acme Sock" token it works great!
For the life of me I can't figure out why the token for the new merchant/demo gateway won't work.
What am I missing here? I've checked and re-checked everything. I even tried re-adding the demo gateway merchant thinking I didn't copy the MID, gateway, id, gateway pass or HMAC key properly, but still no dice.
The whole reason we want to use our demo gateway is to verify that our test transactions are showing up in the terminal transactions.
Seeing as though the Acme Sock merchant token is working, is there a way to view a terminal for "Acme Sock" ?