Auto logout after payment done on Paypal android

Hi Guys,

While working Paypal Android Sdk 2.3.5v, in an app. I’ve come across a situation, that app should log out from Paypal screens, after payment is done and return to app screens.

Here is the code snippet to implement that feature

private static PayPalConfiguration config = new PayPalConfiguration()

in this above code boolean value for rememberUser(boolean) method of PayPalConfiguration object will make turn On/Off for Auto logout feature.

here is ref link

Hope it helps somebody :).

Leave a Reply

Your email address will not be published. Required fields are marked *