fix netopia issue
This commit is contained in:
@@ -34,8 +34,8 @@ def healthz():
|
||||
@app.post("/api/payments/ipn")
|
||||
def ipn():
|
||||
try:
|
||||
raw = request.data
|
||||
data = verify_ipn(raw)
|
||||
# Pass the whole request object, not just request.data
|
||||
data = verify_ipn(request)
|
||||
app.logger.info("IPN OK: %s", data)
|
||||
return jsonify({"ok": True, "data": data}), 200
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user