-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document production constants settings #153
Comments
Hi Buddha314 -- this has been bugging/confusing me for a while as today. Today I dug into the code and found pull request 26 which also refers to constant. I found the actual file at: https://github.com/AuthorizeNet/sdk-python/blob/master/authorizenet/constants.py I can see now that the import should be: then later on in the code, you can have the line you use above I hope this helps you. |
My above comment is close, but not functional. Bottom line, here's the correct way to call:
And here is a more complete example that might help others:
Hope this helps. |
TCS-Dev Dhanashree- The constants.py file is already present in the SDK. If you want to use the constants.py file inside the SDK, you have to include the below line in your code. |
To switch to production, the README states
However, the API documentation does not provide the format or list of variables to be held in
constants.py
.The text was updated successfully, but these errors were encountered: