我目前無法使用PayPal沙盒來測試我的購物車集成。當我在瀏覽器中或通過捲曲訪問沙箱時,我得到的只是連接錯誤。對PayPal沙盒的HTTPS請求失敗
下面是一個例子捲曲會話:
curl -v "https://api-3t.sandbox.paypal.com/nvp?user=test"
* Trying 173.0.82.83...
* TCP_NODELAY set
* Connected to api-3t.sandbox.paypal.com (173.0.82.83) port 443 (#0)
* TLS 1.2 connection using TLS_RSA_WITH_AES_256_CBC_SHA256
* Server certificate: api-3t.sandbox.paypal.com
* Server certificate: Symantec Class 3 Secure Server CA - G4
* Server certificate: VeriSign Class 3 Public Primary Certification Authority - G5
> GET /nvp?user=test HTTP/1.1
> Host: api-3t.sandbox.paypal.com
> User-Agent: curl/7.51.0
> Accept: */*
>
* SSLRead() return error -9806
* Curl_http_done: called premature == 1
* Closing connection 0
curl: (56) SSLRead() return error -9806
任何提示,如果這是一個服務器端的問題,或者是我可以解決?
謝謝!
**更新**:在與沙箱通話時,我通過使用POST而不是GET來解決此問題。去搞清楚! –