Open NicholasRasi opened 8 months ago
@NicholasRasi
Thank you for the report. And I'm sorry for the late reply.
I cloned accept-a-payment/payment-element/server/python
locally and tried it. The reported error did not occur. The issue may have been resolved when I updated Flask to version 3.0.2 using Dependabot.
Please try downloading the new source code and see if the problem is resolved. If you are still encountering the error, please try updating the Werkzeug version to one that is compatible with Flask 3.0.2 or later and see if that resolves the issue.
Thank you.
Bug report
Describe the bug
Error with Python server.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
stripe samples create accept-a-payment
html
as clientpython
as serverImportError: cannot import name 'url_quote' from 'werkzeug.urls'
Expected behavior
The server starts successfully.
System information
Additional context
Adding a fixed
Werkzeug
version to therequirements.txt
fixes the problem (Werkzeug==2.2.2
)