tokenize

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

Parameters

paymentAuthResult

suspend fun tokenize(paymentAuthResult: PayPalPaymentAuthResult.Success): PayPalResult

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

Return

PayPalResult

Parameters

paymentAuthResult