Giter Site home page Giter Site logo

Comments (9)

golyalpha avatar golyalpha commented on June 10, 2024 1

Ok, found out the issue. I used the code for python from the docs, but it turns out you need to specify app name for the client.
It might be worth it replacing these two lines:

adyen = Adyen.Adyen()
adyen.client.xapikey = 'YOUR_X-API-KEY'

With:

adyen = Adyen.Adyen(
    app_name='YOUR_APP_NAME',
    xapikey='YOUR_X-API-KEY'
)

from adyen-python-api-library.

golyalpha avatar golyalpha commented on June 10, 2024 1

I've already moved on from this issue, setting my own app_name for the client library. I did initially recommend just changing the documentation to mention that one should do that.

from adyen-python-api-library.

Ishrock avatar Ishrock commented on June 10, 2024

A pull request has been submitted to fix the issue. The Adyen client should behave as documented. #88

from adyen-python-api-library.

golyalpha avatar golyalpha commented on June 10, 2024

Awesome. App Name should definitely be optional, since it can be anything (from what I can see) and only affects the UserAgent header.

from adyen-python-api-library.

ohadbenita avatar ohadbenita commented on June 10, 2024

We're having the same issue as well, should the app name be mandatory ? if it is, this should be documented correctly.

from adyen-python-api-library.

Ishrock avatar Ishrock commented on June 10, 2024

Took another shot at the issue.

PR open #100

from adyen-python-api-library.

khalyomede avatar khalyomede commented on June 10, 2024

@Ishrock Thank for for this PR! I see that it is closed, do you know if it has been merged to any production ready version or not yet?

from adyen-python-api-library.

AlexandrosMor avatar AlexandrosMor commented on June 10, 2024

Hello @golyalpha,

We created an internal ticket and we are going to pick it up as soon as possible. For now you can pass a dummy app_name so you can continue with the integration.

kind regards,
Alexandros

from adyen-python-api-library.

AlexandrosMor avatar AlexandrosMor commented on June 10, 2024

This issue is fixed in version 3.0.0

from adyen-python-api-library.

Related Issues (20)

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.