Skip to content
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

WSGI Request Error #313

Open
DarkArtek opened this issue Jun 18, 2020 · 1 comment
Open

WSGI Request Error #313

DarkArtek opened this issue Jun 18, 2020 · 1 comment

Comments

@DarkArtek
Copy link
Collaborator

DarkArtek commented Jun 18, 2020

ISSUE_TEMPLATE

  • longclaw version: latest
  • Django version: 2.2.12
  • Python version: 3.8.1

Description

AttributeError: 'WSGIRequest' object has no attribute 'data'

after setting stripe public key and secret key

File "C:\Users\darka.virtualenvs\OneDrive\dev\venv\sanmarco\lib\site-packages\longclaw\checkout\views.py", line 75, in post
capture_payment=True
File "C:\Users\darka.virtualenvs\OneDrive\dev\venv\sanmarco\lib\site-packages\longclaw\checkout\utils.py", line 100, in create_order
description=desc)
File "C:\Users\darka.virtualenvs\OneDrive\dev\venv\sanmarco\lib\site-packages\longclaw\checkout\gateways\stripe.py", line 22, in create_payment
source=request.data['token'],

@realsifocopypaste333
Copy link

i use these modules :) its work fine :)

anyascii==0.3.1
asgiref==3.5.2
backports.zoneinfo==0.2.1
beautifulsoup4==4.8.2
certifi==2022.5.18.1
charset-normalizer==2.0.12
Django==2.2.21
django-countries==7.3.2
django-extensions==3.1.5
django-filter==2.4.0
django-ipware==2.1.0
django-modelcluster==5.3
django-permissionedforms==0.1
django-taggit==1.5.1
django-treebeard==4.5.1
djangorestframework==3.9.0
draftjs-exporter==2.1.7
et-xmlfile==1.1.0
html5lib==1.1
idna==3.3
l18n==2021.3
longclaw==1.0.2
openpyxl==3.0.10
Pillow==7.2.0
pytz==2022.1
requests==2.27.1
six==1.16.0
soupsieve==2.3.2.post1
sqlparse==0.4.2
tablib==3.2.1
telepath==0.2
typing_extensions==4.2.0
Unidecode==1.3.4
urllib3==1.26.9
wagtail==2.9
webencodings==0.5.1
Willow==1.3
xlrd==2.0.1
XlsxWriter==1.4.5
xlwt==1.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants