Giter Club home page Giter Club logo

Comments (29)

ppmtscory avatar ppmtscory commented on June 28, 2024

@mah01 - are you using the same receiver email that matches up with the clientID that you are using?

from paypal-android-sdk.

mah01 avatar mah01 commented on June 28, 2024

@ppmtscory , yes. But just to be sure: for the PaymentActivity.EXTRA_RECEIVER_EMAIL I am using login email of the account, where the PayPal application is created. For the PaymentActivity.EXTRA_CLIENT_ID I am using "Client ID" from "Live Credentials" section in the PayPal application details.

from paypal-android-sdk.

mah01 avatar mah01 commented on June 28, 2024

I can successfully login with the same email, under which the PayPal application is created. However, if I use the same email, under which the PayPal application is created, but provide a wrong password, I also get "Login Failed. System error. Please try again later", but this time I see the following messages in the log:

    02-06 10:42:00.715: E/RequestError(14165): , Mobile Login failed.
    02-06 10:42:00.715: E/PayPalService(14165): 10803
    02-06 10:42:00.830: E/LoginActivity(14165): login error: 10803

from paypal-android-sdk.

ppmtscory avatar ppmtscory commented on June 28, 2024

10803 is just a login failed error which makes sense beings you entered the incorrect password. Can you please file a ticket at http://www.paypal.com/mts so that I can get some account specific information from you? This will allow me to look into our logs to see what may be happening. We can post the answer here afterwards so it's visible. When filing the ticket, please let me know the clientID, the receiving email being used, and the email address being used for the buyer account.

from paypal-android-sdk.

mah01 avatar mah01 commented on June 28, 2024

@ppmtscory , sorry, but did you ever read my full issue report? I perfectly understand that 10803 indicates the incorrect password. This was just my attempt to demonstrate that in other cases I do not get INTERNAL_SERVER_ERROR.

from paypal-android-sdk.

mah01 avatar mah01 commented on June 28, 2024

And yes, I have already filled a ticked on the http://www.paypal.com/mts (Contact Technical Support section).

from paypal-android-sdk.

ppmtscory avatar ppmtscory commented on June 28, 2024

INTERNAL_SERVER_ERROR is basically the server saying "hey, something went wrong, but we're not sure what" so yes, incorrect password is being mapped to 10803 but the other situation (whatever it may be) is apparently not mapped to a specific error code. Can you let me know the ticket number so that I can pick it up?

from paypal-android-sdk.

mah01 avatar mah01 commented on June 28, 2024

@ppmtscory I do not have any issue ticket id or such and I have not received any via email after I filled the technical support request. Is there a way to find it?

But basically I copied what is in the http://stackoverflow.com/questions/21549106/paypal-android-sdk-login-failed-system-error-please-try-again-later-intern -- it has the fully story, code and some updated information. I can send you my client id or whatever else you need to investigate this (in the technical support request I was only asked for my login email).

from paypal-android-sdk.

mah01 avatar mah01 commented on June 28, 2024

@ppmtscory sorry, I actually received auto-email when I filled the technical support request. It was marked as spam in my email client. Question Reference #140206-000087.

from paypal-android-sdk.

ppmtscory avatar ppmtscory commented on June 28, 2024

thanks @mah01, I will take a look

from paypal-android-sdk.

mah01 avatar mah01 commented on June 28, 2024

Ok, apparently I found out the issue. 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 logs:

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.

from paypal-android-sdk.

mikepenz avatar mikepenz commented on June 28, 2024

Ok this is interesting, and i think your are right because my password also has an "&" character.

Now it would be interesting if and when there is a fix. I'm not sure if my customer would like to publish the app if there's such a bug.

Thanks @mah01

from paypal-android-sdk.

mattjacunski avatar mattjacunski commented on June 28, 2024

@mah01 - Thanks for your work determining that it is the presence of the & character in the password that is causing the error.

The current 1.x version of the SDK is using PayPal Adaptive Payments to handle payments with a PayPal account. This seems to be an issue with that service and cannot be fixed within the SDK code.

Some good news - a future major release of the SDK expected in the near future, will handle PayPal payments via the REST APIs and the & character in passwords is not an issue there.

from paypal-android-sdk.

SeraphimSerapis avatar SeraphimSerapis commented on June 28, 2024

Great discovery @mattjacunski. Thanks!

from paypal-android-sdk.

mah01 avatar mah01 commented on June 28, 2024

@mattjacunski , i) is there any date for this future majore release? ii) will it be compatible with the current one?

from paypal-android-sdk.

mattjacunski avatar mattjacunski commented on June 28, 2024

@mah01 - You can expect the major release near the end of the month. There are only minor changes to the SDK integration for payments.

from paypal-android-sdk.

Kev1000000 avatar Kev1000000 commented on June 28, 2024

I have also been hearing complaints from my customers about not being able to log in with passwords with special characters. '!' and '%' also appear to be causing problems.

from paypal-android-sdk.

mattjacunski avatar mattjacunski commented on June 28, 2024

The release expected tomorrow will resolve the issues with special characters in PayPal passwords.

from paypal-android-sdk.

Kev1000000 avatar Kev1000000 commented on June 28, 2024

Matt, thanks a ton for the heads up. Does that include a new release of this SDK?

from paypal-android-sdk.

mattjacunski avatar mattjacunski commented on June 28, 2024

@Kev1000000 - Sorry for not being clear. A new major release of this SDK (PayPal-Android-SDK) is planned for tomorrow. This issue will be fixed in that release. There will be minor integration changes for you to make in your app but should not be a big effort for you.

from paypal-android-sdk.

Kev1000000 avatar Kev1000000 commented on June 28, 2024

That is fantastic news. Any luck for better IPN integration with this new release as well? =)

from paypal-android-sdk.

mattjacunski avatar mattjacunski commented on June 28, 2024

Unfortunately, no. The mobile SDKs make use of the PayPal REST APIs and there are plans for better payment notifications at some point. There are no changes to IPNs for payments made via the mobile SDKs at this time.

from paypal-android-sdk.

Kev1000000 avatar Kev1000000 commented on June 28, 2024

No problem. I appreciate the info. Very much looking forward to tomorrow's release.

from paypal-android-sdk.

Kev1000000 avatar Kev1000000 commented on June 28, 2024

Is the new SDK still on track for a release today, Matt? I am eager to boot up my IDE =)

from paypal-android-sdk.

mattjacunski avatar mattjacunski commented on June 28, 2024

We are waiting on some backend updates - still expecting it to happen today!

from paypal-android-sdk.

mattjacunski avatar mattjacunski commented on June 28, 2024

@Kev1000000 - The 2.0.0 release is now available. Some backend functionality may lag a bit but you can start you integration work now! Enjoy.

from paypal-android-sdk.

Kev1000000 avatar Kev1000000 commented on June 28, 2024

You rock, sir! Thank you.

from paypal-android-sdk.

Kev1000000 avatar Kev1000000 commented on June 28, 2024

Matt, I have successfully ported v1.x to v2.0. I am about to beta test with real users. Is the backend ready?

from paypal-android-sdk.

mattjacunski avatar mattjacunski commented on June 28, 2024

For single payment use cases, you should be fine.

Special characters in passwords are now supported properly.

from paypal-android-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.