createPaymentAuthRequest

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

On success callback is called with a PayPalPaymentAuthRequest.ReadyToLaunch wrapping a PayPalPaymentAuthRequestParams. On failures callback is called with a PayPalPaymentAuthRequest.Failure with an exception.

Parameters

context

Android Context

payPalRequest

a PayPalRequest used to customize the request.


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

On success returns a PayPalPaymentAuthRequest.ReadyToLaunch wrapping a PayPalPaymentAuthRequestParams. On failures returns a PayPalPaymentAuthRequest.Failure with an exception.

Return

PayPalPaymentAuthRequest

Parameters

context

Android Context

payPalRequest

a PayPalRequest used to customize the request.