PayPal Android SDK: “Login Failed. System error. Please try again later”, INTERNAL_SERVER_ERROR

前端 未结 1 686
耶瑟儿~
耶瑟儿~ 2021-01-27 08:04

I need to integrate PayPal with my Android application. Payment tests using ENVIRONMENT_NO_NETWORK work fine. However, when I use \"production\" I get \"Login Faile

1条回答
  •  抹茶落季
    2021-01-27 08:48

    Apparently there is a bug in PayPal login window. When a password field in the PayPal login contains "&" character, INTERNAL_SERVER_ERROR message is shown (does not matter if credentials are correct or not):

    02-09 14:34:01.171: E/RequestError(6618): 500 http response received.  Response not parsable.
    02-09 14:34:01.171: E/PayPalService(6618): INTERNAL_SERVER_ERROR
    02-09 14:34:01.341: E/LoginActivity(6618): login error: INTERNAL_SERVER_ERROR
    

    If there is no "&" character in password and credentials are not correct, a valid error message is shown in the log:

    02-09 14:33:48.741: E/RequestError(6618): , Mobile Login failed.
    02-09 14:33:48.746: E/PayPalService(6618): 10803
    02-09 14:33:49.206: E/LoginActivity(6618): login error: 10803
    

    My password contained "&" character. When I changed my password not to contain it, I was able to login.

    Follow full story on PayPal Android SDK GitHub page.

    0 讨论(0)
提交回复
热议问题