cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Invalid User Credentials in Production Mode in android

Highlighted
Member

Getting Invalid User Credentials in Production Mode in android

I am using paypal sdk in my app. It works perfectly fine in sandbox environment. However, when i switch the env to PayPalEnvironmentProduction , i keep getting the following error every time i try to login even though I have given the correct Client id for production. It used to work a week before and suddenly it has stopped working. I am using paypal sdk

'com.paypal.sdk:paypal-android-sdk:2.16.0'

 E/paypal.sdk: request failure with http statusCode:401,exception:
E/paypal.sdk: request failed with server response:{"error":"invalid_user","error_description":"Invalid user credentials"}
E/paypal.sdk: invalid_user