PayPalClient
class PayPalClient
Used to tokenize PayPal accounts. For more information see the documentation
Constructors
Link copied to clipboard
Initializes a new PayPalClient instance
Functions
Link copied to clipboard
fun createPaymentAuthRequest(context: Context, payPalRequest: PayPalRequest, callback: PayPalPaymentAuthCallback)
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.