-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
As far as I can tell, the python package VantiveCommerceSDK uses version 11.1.0 (of this repo) which includes the https://www.testlitle.com/sandbox/communicator/online urls. I do not think these 'testlitle' urls work anymore as I get this error:
Traceback (most recent call last):
File "I:\JetBrains\apps\PyCharm-P\ch-0\173.4301.16\helpers\pydev\pydevd.py", line 1668, in <module>
main()
File "I:\JetBrains\apps\PyCharm-P\ch-0\173.4301.16\helpers\pydev\pydevd.py", line 1662, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "I:\JetBrains\apps\PyCharm-P\ch-0\173.4301.16\helpers\pydev\pydevd.py", line 1072, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "I:\JetBrains\apps\PyCharm-P\ch-0\173.4301.16\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "I:/github/budgetforacause_vantivSDK/src/three.py", line 52, in <module>
response = online.request(txn_dict, conf)
File "I:\github\budgetforacause_vantivSDK\src\venv\lib\site-packages\vantivsdk\online.py", line 65, in request
response_xml = _http_post(request_xml, conf, timeout)
File "I:\github\budgetforacause_vantivSDK\src\venv\lib\site-packages\vantivsdk\online.py", line 181, in _http_post
raise utils.VantivException("Error with Https Request, Please Check Proxy and Url configuration")
vantivsdk.utils.VantivException: Error with Https Request, Please Check Proxy and Url configuration
After setting my conf file's url parameter to https://www.testvantivcnp.com/sandbox/communicator/online, the example code seemed to work and I started getting a response.
This was very confusing because the readme tells the user to run pip install VantiveCommerceSDK and at the same time has an alternative instruction to clone the repository, even though these two instructions do not result in the same outcome.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels