瀏覽代碼

fix linepay problem

conradlan 3 年之前
父節點
當前提交
8cbd3161e1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/api/api_v1/endpoints/linepay.py

+ 2 - 2
app/api/api_v1/endpoints/linepay.py

@@ -14,9 +14,9 @@ SECRET_KEY = \
 HOST_NAME = "https://api.ptt.cx:8750"
 # Line Pay Config
 LINE_PAY_CHANNEL_ID = LINE_PAY_CHANNEL_ID
-LINE_PAY_CHANNEL_SECRET = SECRET_KEY
+LINE_PAY_CHANNEL_SECRET = "37336af5452f74ee871a9fa38d81602e"
 # LINE_PAY_REQEST_BASE_URL = "https://{}".format(HOST_NAME)
-LINE_PAY_REQEST_BASE_URL = "hhttps://api.ptt.cx:8750/api/v1/linepay"
+LINE_PAY_REQEST_BASE_URL = "https://api.ptt.cx:8750/api/v1/linepay"
 line = LinePayApi(
     LINE_PAY_CHANNEL_ID, LINE_PAY_CHANNEL_SECRET, is_sandbox=True
 )