Giter Club home page Giter Club logo

Comments (8)

youknowone avatar youknowone commented on May 29, 2024 1

I found mmeisinger made a patch of it already.
You can check the new api at the README.

itunesiap.verify(receipt, env=itunesiap.env.review)

from itunes-iap.

youknowone avatar youknowone commented on May 29, 2024

This is not expected behavior.

it seems it is being popped in weird order.
in environment code, will you insert logging code in enter and exit to catch what's happened?

from itunes-iap.

beschulz avatar beschulz commented on May 29, 2024

I'm seeing this as well. In my scenario the validation is done inside a multithreaded wsgi server. So this library does not appear to be thread safe.

To be honest, I don't really get why one want to use a global stack. I'd prefer to pass the environment as a variable to verify() or have verify() be a member variable of the environment.

despite that, it's a really useful library – thanks.

from itunes-iap.

youknowone avatar youknowone commented on May 29, 2024

for future fix: beschulz@2bdff27

from itunes-iap.

jox avatar jox commented on May 29, 2024

When is the future? :)
I'm getting these errors as well, running itunes-iap 2.3.0.
Thanks for the otherwise very useful library.

from itunes-iap.

youknowone avatar youknowone commented on May 29, 2024

Hello jox,
beschulz's fix is great but I need to test it is breaking backward compatibility or not.
(Or developing a new backward-compatibility mode)

Yes - it is mostly because I wasn't taking care of this project for a while.
But you reminded it. thanks. Let's see I will take a chance to look at this.

from itunes-iap.

jox avatar jox commented on May 29, 2024

@youknowone thanks for responding!

I patched my installation and it is not backwards compatible, that I can say. But it fixes the problem.

It would be great if you could take a look.

from itunes-iap.

jox avatar jox commented on May 29, 2024

@youknowone Thank you!

from itunes-iap.

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.