User Ratings
Rate This Project
Login To Rate This Project
Featured Reviews
Highest Rated
Thank you! I really didn't want to use the official SDK's in Java, Ruby, or PHP - this way I can import directly into my DJango project.
Note that one place you use
data = array.ArrayType('B'
which I had to replace with
from array import *
data = array('B')
Obviously not a big deal, just old code.
Lowest Rated
This doesn't seem to work. Missing class imports of time and array. Beyond that it seems authorize returns characters that convert to unicode replacement character before ran through regex which escapes on these characters and throws and exception:
Traceback (most recent call last):
File "PythonAuthorizeTransactionDetailsAPI.py", line 263, in <module>
asdf = AuthorizePySDK_TransactionDetails_Download(datetime.datetime.strptime("14 NOV 11", "%d %b %y"), datetime.datetime.strptime("15 NOV 11", "%d %b %y"), "/home/fm/PY3/")
File "PythonAuthorizeTransactionDetailsAPI.py", line 79, in AuthorizePySDK_TransactionDetails_Download
AuthorizePySDK_getTransactionDetails(transaction_id_list, transaction_details)
File "PythonAuthorizeTransactionDetailsAPI.py", line 211, in AuthorizePySDK_getTransactionDetails
for err in error_list: print err
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 27: ordinal not in range(128)
User Reviews
-
Thank you! I really didn't want to use the official SDK's in Java, Ruby, or PHP - this way I can import directly into my DJango project. Note that one place you use data = array.ArrayType('B' which I had to replace with from array import * data = array('B') Obviously not a big deal, just old code.
-
This doesn't seem to work. Missing class imports of time and array. Beyond that it seems authorize returns characters that convert to unicode replacement character before ran through regex which escapes on these characters and throws and exception: Traceback (most recent call last): File "PythonAuthorizeTransactionDetailsAPI.py", line 263, in <module> asdf = AuthorizePySDK_TransactionDetails_Download(datetime.datetime.strptime("14 NOV 11", "%d %b %y"), datetime.datetime.strptime("15 NOV 11", "%d %b %y"), "/home/fm/PY3/") File "PythonAuthorizeTransactionDetailsAPI.py", line 79, in AuthorizePySDK_TransactionDetails_Download AuthorizePySDK_getTransactionDetails(transaction_id_list, transaction_details) File "PythonAuthorizeTransactionDetailsAPI.py", line 211, in AuthorizePySDK_getTransactionDetails for err in error_list: print err UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 27: ordinal not in range(128)
- Previous
- You're on page 1
- Next