PayPalClient

Used to tokenize PayPal accounts. For more information see the documentation

Constructors

Link copied to clipboard
constructor(context: Context, authorization: String, appLinkReturnUrl: Uri)

Initializes a new PayPalClient instance

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Starts the PayPal payment flow by creating a PayPalPaymentAuthRequestParams to be used to launch the PayPal web authentication flow in PayPalLauncher.launch.

Link copied to clipboard

After receiving a result from the PayPal web authentication flow via PayPalLauncher.handleReturnToApp, pass the PayPalPaymentAuthResult.Success returned to this method to tokenize the PayPal account and receive a PayPalAccountNonce on success.