Skip to content
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

'pip install VantiveCommerceSDK' installs the Vantiv python SDK with old urls #3

Open
FalsePsyche opened this issue Mar 4, 2018 · 0 comments
Assignees

Comments

@FalsePsyche
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants