@app.route("/buy-cancel")
def buy_cancel():
# 쿼리 파라미터 받기
orderId = request.args.get("orderId")
keyword = request.args.get("keyword")
site = request.args.get("site")
amount = request.args.get("amount")
reason = request.args.get("reason")
# 로그 출력
print(">> 결제 실패 페이지 호출")
print("orderId:", orderId)
print("keyword:", keyword)
print("site:", site)
print("amount:", amount)
print("reason:", reason)
return render_template(
"cancel_order.html",
orderId=orderId,
keyword=keyword,
site=site,
amount=amount,
reason=reason
)
@app.route("/buy-cancel")
def buy_cancel():
# 쿼리 파라미터 받기
orderId = request.args.get("orderId")
keyword = request.args.get("keyword")
site = request.args.get("site")
amount = request.args.get("amount")
reason = request.args.get("reason")
# 로그 출력
print(">> 결제 실패 페이지 호출")
print("orderId:", orderId)
print("keyword:", keyword)
print("site:", site)
print("amount:", amount)
print("reason:", reason)
return render_template(
"cancel_order.html",
orderId=orderId,
keyword=keyword,
site=site,
amount=amount,
reason=reason
)