Reply
New Member
Posts: 1
Registered: ‎10-10-2019

E00007 User Authentication Error!!

I am using the Python Test Code found at

https://developer.authorize.net/api/reference/index.html

code found under Payment Transactions -> Charge a Credit Card

 

How do I make sure that my endpoint is pointed at PRODUCTION? In the test I do not see anywhere that it is setting the Endpoint.

 

I am not familiar enough with the API to determine what line I need to insert in order to make sure it is trying to connect to the PRODUCTION Endpoint.<

Member
Posts: 3
Registered: ‎10-09-2019

Re: E00007 User Authentication Error!!

The github Read.me goes covers that for the SDK. I've linked it here:

https://github.com/AuthorizeNet/sdk-python/blob/master/README.md

 

It states to us the "setenvironment" method on the controller before executing: 

# For PRODUCTION use
	createtransactioncontroller.setenvironment(constants.PRODUCTION)