PayPal Android SDK - INTERNAL_SERVER_ERROR

时间:2014-01-23 20:11:34

标签: android paypal sdk internal-server-error

我目前尝试添加新的PayPal SDK,但如果我尝试付款(LIVE或SANDBOX),我总会收到以下错误:

01-23 21:07:20.295: E/RequestError(22408): 500 http response received.  Response not parsable.
01-23 21:07:20.295: E/PayPalService(22408): INTERNAL_SERVER_ERROR
01-23 21:07:20.335: E/LoginActivity(22408): login error: INTERNAL_SERVER_ERROR
01-23 21:07:20.375: W/IInputConnectionWrapper(22408): getTextBeforeCursor on inactive InputConnection
01-23 21:07:20.375: E/RichInputConnection(1056): Unable to connect to the editor to retrieve text... will retry later
01-23 21:07:20.385: W/InputMethodManagerService(773): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42ee5620 attribute=null, token = android.os.BinderProxy@4451e2b8
01-23 21:07:20.675: W/System.err(22408): javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
01-23 21:07:20.685: W/System.err(22408):    at com.android.org.conscrypt.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:146)
01-23 21:07:20.685: W/System.err(22408):    at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:93)
01-23 21:07:20.685: W/System.err(22408):    at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:388)
01-23 21:07:20.685: W/System.err(22408):    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:165)
01-23 21:07:20.685: W/System.err(22408):    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
01-23 21:07:20.685: W/System.err(22408):    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
01-23 21:07:20.685: W/System.err(22408):    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
01-23 21:07:20.685: W/System.err(22408):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
01-23 21:07:20.685: W/System.err(22408):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
01-23 21:07:20.685: W/System.err(22408):    at com.paypal.android.sdk.bu.a(Unknown Source)
01-23 21:07:20.685: W/System.err(22408):    at com.paypal.android.sdk.bu.run(Unknown Source)
01-23 21:07:20.685: W/System.err(22408):    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
01-23 21:07:20.685: W/System.err(22408):    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
01-23 21:07:20.685: W/System.err(22408):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
01-23 21:07:20.685: W/System.err(22408):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
01-23 21:07:20.685: W/System.err(22408):    at java.lang.Thread.run(Thread.java:841)
01-23 21:07:20.685: E/class java.net.ConnectException(22408): java.net.ConnectException

任何人都知道如何解决这个问题。或是什么导致了这个问题?

谢谢!

我仍然收到以下错误:

02-08 14:18:04.344: E/RequestError(21818): 500 http response received.  Response not parsable.
02-08 14:18:04.344: E/PayPalService(21818): INTERNAL_SERVER_ERROR
02-08 14:18:04.394: E/LoginActivity(21818): login error: INTERNAL_SERVER_ERROR

没有人有类似的问题?

3 个答案:

答案 0 :(得分:1)

PayPal登录窗口中存在错误,该错误会错误地解析或发送凭据。当我的密码包含&字符时,我遇到了同样的问题。当我更改密码而不包含&字符时,问题就消失了。

同样的问题是描述herePayPal Android SDK GitHub issues

答案 1 :(得分:0)

确保使用与您指定的clientID匹配的接收方电子邮件。如果这不是您的问题,我建议您在http://www.paypal.com/mts提交一张机票,以便收集一些特定的帐户信息并进一步研究该问题。

答案 2 :(得分:0)

此问题已在PayPal-Android-SDK的2.0.0版中修复。现在可以正确处理用户密码中的特殊字符。