-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripe Causing API Crash #35
Comments
https://github.com/SQLMatches/API/blob/master/run.py#L43 Line 148 in 4d00946
Don't include 'sk_test_' or 'sk_live_'. I preferred to enable testing programmatically |
Looks like that fixed it. Hopefully my last question, when using the frontend I get this error on a refresh / when I sign in via Steam.
Any ideas as to why it would throw this error? |
You'll have to run the API & frontend under a reverse proxy like nginx in order for the sessions to work.
I'd use unix socket for production. |
I use the steam session to validate requests to the API, makes it more difficult for people to abuse our private APIs. |
When starting the API with a test stripe key, the API gives a 401 Unauthorized error. However in Insomnia there's no issue.
Making the call to
/v1/products
works fine in Insomnia.The text was updated successfully, but these errors were encountered: