longclawshop / longclaw

A shop for Wagtail CMS
MIT License
394 stars 83 forks source link

WSGI Request Error #313

Open DarkArtek opened 4 years ago

DarkArtek commented 4 years ago

ISSUE_TEMPLATE

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 commented 2 years ago

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