Comments (29)
@mah01 - are you using the same receiver email that matches up with the clientID that you are using?
from paypal-android-sdk.
@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.
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.
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.
@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.
And yes, I have already filled a ticked on the http://www.paypal.com/mts (Contact Technical Support section).
from paypal-android-sdk.
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.
@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.
@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.
thanks @mah01, I will take a look
from paypal-android-sdk.
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.
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.
@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.
Great discovery @mattjacunski. Thanks!
from paypal-android-sdk.
@mattjacunski , i) is there any date for this future majore release? ii) will it be compatible with the current one?
from paypal-android-sdk.
@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.
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.
The release expected tomorrow will resolve the issues with special characters in PayPal passwords.
from paypal-android-sdk.
Matt, thanks a ton for the heads up. Does that include a new release of this SDK?
from paypal-android-sdk.
@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.
That is fantastic news. Any luck for better IPN integration with this new release as well? =)
from paypal-android-sdk.
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.
No problem. I appreciate the info. Very much looking forward to tomorrow's release.
from paypal-android-sdk.
Is the new SDK still on track for a release today, Matt? I am eager to boot up my IDE =)
from paypal-android-sdk.
We are waiting on some backend updates - still expecting it to happen today!
from paypal-android-sdk.
@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.
You rock, sir! Thank you.
from paypal-android-sdk.
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.
For single payment use cases, you should be fine.
Special characters in passwords are now supported properly.
from paypal-android-sdk.
Related Issues (20)
- checkout-session not created - Code 422 HOT 1
- The merchant does not accept payments of this type HOT 1
- Request failure with http statusCode:422 HOT 1
- request failure with http statusCode:422,exception: & checkout-session not created HOT 1
- DE HOT 1
- Compiling release APK when targetSDKversion is lower than 26 HOT 1
- okio.asynctimeout$1 and error:execution failed for task ':app:transformclasseswithdexforrelease'. HOT 1
- there is problem communicate with paypal servers HOT 1
- When i using INR currency then it won't work . HOT 7
- Sometimes white screen if when single payment is called HOT 3
- UNAUTHORIZED_PAYMENT HOT 1
- There was a problem communicating with the PayPal servers HOT 1
- Issue with Paypal interation with android HOT 1
- Admin's Braintree to Seller's PayPal - Android HOT 1
- PayPal Methods issues HOT 1
- Provide support for the latest API level HOT 2
- Sending purchased items details to the PayPal. HOT 1
- How to Get User Information HOT 2
- Multiple Product List display in single line in payment screen. HOT 1
- PackageManager died when launching PayPalProfileSharingActivity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paypal-android-sdk.