cancel
Showing results for 
Search instead for 
Did you mean: 

Live Account Does Not Recognize Accurate Credentials

I just got my production account and merchant account approved, but despite everything being active I get this error in my HTML where my token should be:

 

ERROR : Failed to get hosted payment page token RESPONSE : E00007 User authentication failed due to invalid authentication values.

 

I looked up the error and was not surprised when the suggested solution was to make sure you are using the right merchant ID and transaction key. I have created my keys and recreated my keys just in case I screwed up the first time. I am using the right keys but I still get this error.

 

Is there something else I am missing besides having the right keys? My soltion worked great in the sandbox and when I got a live account I simply changed the credentials to the ones for the live account. I also changed the URL for the button from https://test.authorize.net/payment/payment to https://accept.authorize.net/payment/payment still I am having the issue.

PayDelete
Member
1 ACCEPTED SOLUTION

Accepted Solutions

I got it, I was using the code from the developer site that was set to SANDBOX by default. This line of code:

 

$response = $controller->executeWithApiResponse(\net\authorize\api\constants\ANetEnvironment::SANDBOX);

 

Needed to be changed to

 

$response = $controller->executeWithApiResponse(\net\authorize\api\constants\ANetEnvironment::PRODUCTION);

 

Problem solved.

View solution in original post

PayDelete
Member
1 REPLY 1

I got it, I was using the code from the developer site that was set to SANDBOX by default. This line of code:

 

$response = $controller->executeWithApiResponse(\net\authorize\api\constants\ANetEnvironment::SANDBOX);

 

Needed to be changed to

 

$response = $controller->executeWithApiResponse(\net\authorize\api\constants\ANetEnvironment::PRODUCTION);

 

Problem solved.

PayDelete
Member