cancel
Showing results for 
Search instead for 
Did you mean: 

Hello World Example - Not Working (Python)

Installed Authorizenet per Hello World instructions.

 

Added name and transaction key for Sandbox account.  All modules referenced seem to be where they are supposed to be (Python2.7)

 

Getting several errors :

 

Traceback (most recent call last):
  File "C:\Python27\Lib\site-packages\authorizenet\charge-credit-card.py", line 2, in <module>
    from authorizenet.apicontrollers import*
  File "C:\Python27\lib\site-packages\authorizenet\apicontrollers.py", line 7, in <module>
    from authorizenet.constants import constants
  File "C:\Python27\lib\site-packages\authorizenet\constants.py", line 8, in <module>
    class constants(object):
  File "C:\Python27\lib\site-packages\authorizenet\constants.py", line 17, in constants
    merchantAuth = apicontractsv1.merchantAuthenticationType()
NameError: name 'apicontractsv1' is not defined

 

Any help would be appreciated.  Thanks.

TechDentist
Member
0 REPLIES 0