3

2 日前、PayPal の統合で問題が発生しました。残念ながら、ペイパルのサポートに問い合わせてみても役に立たないことが判明したので (2 日以内に返信がありません)、ここで運試しをしてみます。

トークンのリクエスト (curl https://api.paypal.com/v1/oauth2/token -H "Accept: application/json" -H "Accept-Language: en_US" -u "****:**** " -d "grant_type=client_credentials") が開始され、常に空の応答が返され、500 エラーが返されました。

同じことが api.sandbox.paypal.com とサンドボックスの資格情報でも問題なく機能することに注意してください。

資格情報を再確認しましたが、問題ありません。また、使用する資格情報は関係なく、常に同じ - 500 を返すことに注意してください。

curl ... -v; の出力は次のとおりです。500 が示すように、内部サーバー エラーがあるようです。

* About to connect() to api.paypal.com port 443 (#0)
* Trying 173.0.88.98...
* connected
* Connected to api.paypal.com (173.0.88.98) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /usr/ssl/certs/ca-bundle.crt
CApath: none
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Request CERT (13):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using DES-CBC3-SHA
* Server certificate:
* subject: C=US; ST=California; L=San Jose; O=PayPal, Inc.; OU=PayPal Production; CN=api.paypal.com
* start date: 201
* expire date: 201
* subjectAltName: api.paypal.com matched
* issuer: C=U
* SSL certificate verify ok.
* Server auth using Basic with user '****'
> POST /v1/oauth2/token HTTP/1.1
> Authorization: Basic ****
> User-Agent: curl/7.27.0
> Host: api.paypal.com
> Accept: application/json
> Accept-Language: en_US
> Content-Length: 29
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 29 out of 29 bytes
* additional stuff not fine /usr/src/ports/curl/curl-7.27.0-1/src/curl-7.27.0/lib/transfer.c:1037: 0 0
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 500 Internal Server Error
< Server: Apache-Coyote/1.1
< Date: Thu, 28 Mar 2013 15:59:53 GMT
< Content-Length: 0
< Connection: close
<
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):

ありがとう!

4

1 に答える 1

1

これは現在検討中のものです。PayPal MTS でチケットをまだオープンしていない場合は、テクニカル サポートでチケットをオープンして、問題を例に追加できるようにすることをお勧めします。また、問題が解決されると通知が届きます。

編集:これは現在、04:12 AM GMT (31/03/2013) の時点で解決されています。

于 2013-03-29T17:43:07.797 に答える