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!
DynamischITAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

http://stackoverflow.com/questions/18697921/paypal-android-mpl-authorization-failure

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.

OR

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

http://www.basic4ppc.com/android/forum/threads/paypal-mpl-library.29840/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.
0
Jackie ManCommented:
Contact PayPal to see what is their progress for the update of MPL library.
0
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!!
0
DynamischITAuthor Commented:
Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Android

From novice to tech pro — start learning today.