2
我使用的是磁條模塊爲Python(通過pip install stripe
),我收到以下錯誤:如何升級條紋爲TLS 1.2
AuthenticationError: Request req_90h0QUDIec0Ej7: Stripe no longer
supports API requests made with TLS 1.0. Please initiate HTTPS
connections with TLS 1.2 or later. You can learn more about this at
https://stripe.com/blog/upgrading-tls.
繼條紋的文檔,他們說你應該重新安裝Python (通過brew
)並升級到Stripe庫的最新版本(截至撰寫本文時爲1.37.0)。我已經完成了這兩個步驟,但沒有什麼區別。
我還應該做什麼?