2012-10-23 2 views
7

내가 만들고있는 웹 사이트의 paypal API를 테스트하고있었습니다. 어제 밤에도 문제가 없었지만 오늘 다시 실행하면 다음과 같은 오류가 발생했습니다.Paypal Sandbox MVC3

Could not establish secure channel for SSL/TLS with authority 'api-aa.sandbox.paypal.com'

답변

11

같은 오류가 발생했습니다. 대신 http://api-3t.sandbox.paypal.com/을 사용해보십시오. 그것은 나를 도왔습니다. 나는 그것을 여기에서 발견했다 : setExpressCheckout and SSL/TLS error

If you don't have or are not using an API certificate, you should connect to api-3t.paypal.com or api-3t.sandbox.paypal.com for Live or Sandbox respectively.

+2

저는 페이팔을 요청했으며 최신 API에 오류가 있음을 알려줍니다. 이는 상기 목적지 api.sandbox.paypal.com api-aa-.sandbox.paypa.com 또는 판독하도록 전환 할 필요 : api-3t.sandbox.paypal.com 또는 API-AA-3t. sandbox.paypa.com 당신은 꽤 정확했습니다. 정말 고마워요. – Solid1Snake1

2

나는 몇 시간 동안이 같은 문제를 당해왔다. 1 년 전에 Signing을 통해 SOAP API를 사용하여 PayPal Express 체크 아웃 통합을 작성한 후 다시 버너에 넣었습니다 (당시에는 모든 단위 테스트가 통과했습니다). 나는 오류 오늘 다시에 온 : 나는 우리의 인스턴스가, System.Net.SecurityProtocolType.Ssl3 | System.Net.SecurityProtocolType.Tls되는 기본 ServicePointManager.SecurityProtocol 값으로 다운되는 SecurityProtocolType.Tls12이 업데이트의 문제를 격리 한

Could not establish secure channel for SSL/TLS with authority 'api-3t.sandbox.paypal.com'

많은 연구 후에 문제를 해결했습니다.

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;