Giter Club home page Giter Club logo

quickpay-python-client's People

Contributors

colde avatar cramt avatar dinesh avatar emilkjer avatar frankhald avatar liisberg avatar ta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quickpay-python-client's Issues

Not available on PIP

Looks like this isn't really available on pip even though the readme file states so.

pip install quickpay-python-client

Collecting quickpay-python-client
  Could not find any downloads that satisfy the requirement quickpay-python-client
  No distributions at all found for quickpay-python-client

Also the readme file says to add "quickpay" to the requirements file, but says that the package name is quickpay-python-client

And neither of them works.

SSLError

Hi, for start, we use QuickPay for transactions.
Few days ago our client, complaint that he can't make payments.
This is snippet from the error:

Request Method: | POST-- | -- 1.8.3 SSLError
EOF occurred in violation of protocol (_ssl.c:581)
********/local/lib/python2.7/site-packages/requests/adapters.py in send, line 431
/usr/bin/uwsgi-core
Python Versin: 2.7.9

requirements.txt contains:

Django==1.11
requests==2.13.0
git+https://github.com/QuickPay/quickpay-python-client.git

Thanks for any reply.

Update version and push to PyPi

With the new status_code added to the ApiError exception. Could somebody update the version and push to PyPi please? I am happy to update the version in a pull request, but it seems a bit unnecessary.

API Error - 404 Not found

So I'm trying to follow one of your examples but it throws the error "404- not found".

I have checked if the login is valid, and it is, so it's not a typo.

Can you maybe spot what's wrong or help me further in any way?
I'm using python 3.10, and this is the code:

secret= f"{USERNAME}:{PASSWORD}"
client = QPClient(secret)
for payment in client.get('/payments'):
    print(payment)

Callback configuration

Having upgraded the version of the QuickPay client in a hurry to handle the TLS 1.0 switch off we have noticed an issue with the callback on payments not being called.

In commit 77dc7ba the client has been changed to add the parameter callback_url as a header Quickpay-Callback-Url.

This is not working for us currently. The callback URL is not being called and payments are not registering in our system.

I notice that the header is not capitalised in the same way as in the documentation where the p is upper case:

https://learn.quickpay.net/tech-talk/api/callback/

But when I have changed this to match the documentation the callback is still not called.

Because the parameter callback_url is popped from the kwargs it is not longer passed in the JSON sent in the API call. This is what has caused the callback to stop working for us.

Please can you advise on the best course of action? Should QuickPay-Callback-Url header be working on the V10 API?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.