• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1273
  • Last Modified:

Paypal android MPL authorization failure

I am using Paypal MPL library in my Android app. Right now I am unable to authorize in checkout dialog after pressing "Pay With Paypal" button.

I enter my paypal credentials and press Buy, but always get - Login Failed.Please try again message.

There is only one error message in logs: 09-09 12:12:51.371: E/NetworkHandler(4602): encryptPassword faulted current time: Fri Oct 11 20:31:52 GMT+05:30 2013, expiration time: Sat Jun 22 13:26:51 GMT+05:30 2013

Testing went fine with sandbox accounts. But when I am using live paypal creds it is giving me this error. I tried wil mutiple paypal accounts and issue is still the same.

I also have correct live api id in the code.

Any ideas why this is happening?

Thanks for your help!
  • 3
  • 2
1 Solution
Jackie ManCommented:
Are you designing apps for android 4.0 or above?

PayPal MPL library is only updated as of May 2013 and is outdated.


The problem is with the encryption of the password which is decrypted incorrectly at the server side.

It should be OK on android 2.3 as the security requirement is lower than android 4.0 or above.


Are you and your potential customer PayPal account located in US?

DynamischITAuthor Commented:
Yes I am desgigning for android 4.0 and above. I will check in android 2.3. What should be used to make it compatible for latest versions of android?

My potential customers are outside US as well.
Jackie ManCommented:
Contact PayPal to see what is their progress for the update of MPL library.
DynamischITAuthor Commented:
I changed the MPL library with the one given in the below link and it started working.. I tried that earlier but it never worked. Strange. But finally it is resolved.

link: https://github.com/paypal/sdk-packages/blob/gh-pages/MPL/PayPal_MPL_1.5.5.45_Android-Developer-Package.zip

Thanks for your help.

Have a great day!!
DynamischITAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now