Comments (8)
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.
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.
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.
for future fix: beschulz@2bdff27
from itunes-iap.
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.
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.
@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.
@youknowone Thank you!
from itunes-iap.
Related Issues (20)
- Would there ever be a case to not use 'review' environment in production? HOT 2
- receipt.last_in_app is not the latest purchase HOT 4
- Add parameter "timeout" for method "verify"
- Environment.pop TypeError HOT 2
- Why can't get latest_receipt_info HOT 7
- Expires_date (MissingFieldError), can it be added? HOT 1
- Bit of doco on auto_renew_status HOT 3
- Installation of 2.5.0 fails on python2 HOT 5
- wrond status HOT 1
- MissingFieldError: expires_date_ms during validation on Server Notification reception HOT 2
- IndexError: list index out of range HOT 7
- 'InvalidReceipt' object has no attribute 'kwargs' in 2.5.0 HOT 1
- IndexError when exiting context manager HOT 1
- Error when receiving expiration_intent HOT 3
- refunds
- Error install with python version 3.5.2 HOT 1
- recruiting maintainer
- aiodns dependency v1.1.1 doesn't install on m1 macs HOT 2
- Aioverify error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itunes-iap.