PaymentController
Functions
Confirm a Alipay PaymentIntent, authenticate it and return the PaymentIntent.
Confirm the Stripe Intent for WeChat Pay, return WeChat Pay params from intent's next action
Get the Source's client_secret from data and use to retrieve the Source object with updated status.
Get the PaymentIntent's client_secret from data and use to retrieve the PaymentIntent object with updated status.
Get the SetupIntent's client_secret from data and use to retrieve the SetupIntent object with updated status.
Determine which authentication mechanism should be used, or bypass authentication if it is not needed.
Register the ActivityResultLaunchers with the new ActivityResultCaller and callback.
Decide whether getPaymentIntentResult should be called.
Decide whether getSetupIntentResult should be called.
Decide whether getAuthenticateSourceResult should be called.
Confirm the Stripe Intent and resolve any next actions
Unregister the ActivityResultLaunchers, releasing the reference to Activity or Fragment.