You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
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
)The text was updated successfully, but these errors were encountered: