Ver Fonte

fix linepay problem

conradlan há 3 anos atrás
pai
commit
8cbd3161e1
1 ficheiros alterados com 2 adições e 2 exclusões
  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"
 HOST_NAME = "https://api.ptt.cx:8750"
 # Line Pay Config
 # Line Pay Config
 LINE_PAY_CHANNEL_ID = LINE_PAY_CHANNEL_ID
 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 = "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 = LinePayApi(
     LINE_PAY_CHANNEL_ID, LINE_PAY_CHANNEL_SECRET, is_sandbox=True
     LINE_PAY_CHANNEL_ID, LINE_PAY_CHANNEL_SECRET, is_sandbox=True
 )
 )