handleReturnToApp
Captures and delivers the result of a PayPal authentication flow.
For most integrations, this method should be invoked in the onResume method of the Activity used to invoke PayPalLauncher.launch.
If the Activity used to launch the PayPal flow has is configured with android:launchMode="singleTop", this method should be invoked in the onNewIntent method of the Activity.
Return
a PayPalPaymentAuthResult.Success that should be passed to PayPalClient.tokenize to complete the PayPal payment flow. Returns PayPalPaymentAuthResult.NoResult if the user canceled the payment flow, or returned to the app without completing the PayPal authentication flow.
Parameters
the PayPalPendingRequest.Started stored after successfully invoking PayPalLauncher.launch
the intent to return to your application containing a deep link result from the PayPal browser flow