Comments (7)
I just wrote a quick test case and ensured that the entire block around line 257 is not executed when I set stripe.verify_ssl_certs = False
.
Based on the file path in the stacktrace, it looks like you're including the stripe-python source code directly inside your app. Have you tried using virtualenv + pip instead?
from stripe-python.
For google app engine, stripe is installed into the server/lib directory using the -t (target) directive of pip. The development server (or production) adds the server/lib path on startup.
from stripe-python.
I have created a test App Engine app. @jagooding could you run this and see if it works and if not post the stack trace from the logs: https://github.com/temp-repos/stripe-test
from stripe-python.
@danielchatfield I ran yours at it worked just fine.
I hadn't had a chance to try the 1.16.0 release with my app yet. I just ran it and everything works fine. Which is great news for me. However, just for curiosity's sake I went back and forced your test app to 1.15.1 and it still runs just fine, however when I force mine to 1.15.1 it breaks.
I don't know what is going on with that.
What is the difference between 1.15.1 and 1.16.0 ?
from stripe-python.
The only difference is to add support for cancelling transfers and fix up a test (both completely unrelated to this).
Without seeing your code I wouldn't be able to give any further advice on that.
from stripe-python.
I picked through the diff -- I can't see any relevant differences between those versions either. At this point it sounds like some kind of weird state on your system that's fixed by bumping to 1.16.0. Closing for now but reopen if you're still seeing problems on the latest version.
from stripe-python.
I have just had an idea of what might be causing this.
pip
has a bug (they will probably claim it is a feature though) where if you run pip install with a target (like you do with appengine) it messes stuff up if the lib it is trying to install is already installed (it puts the files in a folder nested within the existing folder).
Make sure that you delete the contents of your lib folder every time you run pip install
.
from stripe-python.
Related Issues (20)
- Official Python docs out of date HOT 3
- AttributeError: service_agreement HOT 14
- AttributeError: 'CustomerService' object has no attribute 'modify' with StripeClient HOT 1
- Incorrect annotation on `ErrorOrbject.code` HOT 3
- Unable to remove metadata from PaymentIntent.modify HOT 2
- Missing `convert_to_dict` export HOT 3
- Typing issue: `CreateParams` for `StripeObject`s should allow for Optional values HOT 3
- `HTTPXClient` `allow_sync_requests` != `allow_sync_methods` HOT 1
- Quote PDF endpoint does not work HOT 4
- Typing issue: additional_verifications missing in `stripe.Account.CreateParams` HOT 1
- Create a type alias for `stripe.TaxId.type` and others HOT 3
- unknown parameter: stripe_acccount when creating subscription for a connected account HOT 2
- calling stripe.treasury.Transaction.list Method raises Unrecognized request URL exception HOT 1
- OSS-Fuzz Integration HOT 1
- There doesn't seem to be a way of robustly relying on library's types for API responses HOT 2
- Expading list-items doesn't work with retrieve_async HOT 2
- Ability to query for previous API requests HOT 1
- Can't expand invoice from quote HOT 2
- TaxRate.list does not return any TaxRates, even when I can look them up with TaxRate.retrieve HOT 1
- Webhook "Unable to connect" even though it connects successfully
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 stripe-python.