We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1345b92 commit 3dbeb1dCopy full SHA for 3dbeb1d
app/api/schema/orders.py
@@ -36,7 +36,7 @@ def generate_payment_url(self, data):
36
if (
37
'POST' in request.method
38
or ('GET' in request.method and 'regenerate' in request.args)
39
- and 'completed' != data["status"]
+ and data["status"] != 'completed'
40
):
41
if data['payment_mode'] == 'stripe':
42
data['payment_url'] = 'stripe://payment'
0 commit comments