You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* An Authorize.Net account (see _Registration & Configuration_ section below)
14
11
15
-
_Note: Our goal is ensuring this SDK is compatible with Python 2.7+, 3.4+ and PyPy, but at the moment we're primarily testing against Python 2.7._
16
-
12
+
_Note: Support for Python 2.x and Python <=3.5 has been discontinued, due to EOL of the Python package._
17
13
### Contribution
18
14
- If you need information or clarification about Authorize.Net features, create an issue with your question. You can also search the [Authorize.Net developer community](https://community.developer.authorize.net/) for discussions related to your question.
19
15
- Before creating pull requests, please read [the contributors guide](CONTRIBUTING.md).
@@ -39,9 +35,9 @@ After you have your credentials, load them into the appropriate variables in you
39
35
40
36
#### To set your API credentials for an API request:
Never include your API Login ID and Transaction Key directly in a file in a publicly accessible portion of your website. As a best practice, define the API Login ID and Transaction Key in a constants file, and reference those constants in your code.
@@ -50,7 +46,7 @@ Never include your API Login ID and Transaction Key directly in a file in a publ
50
46
Authorize.Net maintains a complete sandbox environment for testing and development purposes. The sandbox environment is an exact replica of our production environment, with simulated transaction authorization and settlement. By default, this SDK is configured to use the sandbox environment. To switch to the production environment, use the `setenvironment` method on the controller before executing. For example:
logger.debug('Logger set up for Authorizenet Python SDK complete')
72
68
```
73
69
74
70
@@ -103,19 +99,8 @@ When using the SDK to submit Chase Pay transactions, consider the following poin
103
99
## Building & Testing the SDK
104
100
105
101
### Requirements
106
-
- python 2.7
107
-
- pyxb 1.2.5
108
-
109
-
Run the following to get pyxb and nosetests:
110
-
- pip install pyxb==1.2.5
111
-
- pip install nose
112
-
- pip install lxml
113
-
114
-
### Running the SDK Tests
115
-
- Tests available are: unit tests, mock tests, sample code
116
-
- use nosetests to run all unittests
117
-
118
-
`>nosetests`
102
+
- Python 3.6
103
+
- PyXB-X
119
104
120
105
### Testing Guide
121
106
For additional help in testing your own code, Authorize.Net maintains a [comprehensive testing guide](http://developer.authorize.net/hello_world/testing_guide/) that includes test credit card numbers to use and special triggers to generate certain responses from the sandbox environment.
0 commit comments