Skip to content

Commit fe8f040

Browse files
committed
more comments
1 parent 1cc3bf6 commit fe8f040

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,13 @@ def post(self):
9090
"message":"Sorry, something went wrong please try again later."
9191
},400
9292

93-
# if success return response
93+
# CheckoutRequestID = response.text['CheckoutRequestID']
94+
95+
# Do something in your database e.g store the transaction or as an order
96+
# make sure to store the CheckoutRequestID to identify the tranaction in
97+
# your CallBackURL endpoint.
98+
99+
# return a respone to your user
94100
return {
95101
"data": json.loads(response.text)
96102
},200

0 commit comments

Comments
 (0)