PaymentAuthenticatorRegistry
Registry to map Authenticatable to the corresponding PaymentAuthenticator.
Functions
Link copied to clipboard
abstract fun <Authenticatable> getAuthenticator(authenticatable: Authenticatable): PaymentAuthenticator<Authenticatable>
Returns the correct PaymentAuthenticator to handle the Authenticatable.
Link copied to clipboard
Notify the ActivityResultLaunchers are invalid. This happens when the host Activity is destroyed.
Link copied to clipboard
open fun onNewActivityResultCaller(activityResultCaller: ActivityResultCaller, activityResultCallback: ActivityResultCallback<PaymentFlowResult.Unvalidated>)
Notify the PaymentAuthenticator that a new ActivityResultCaller and ActivityResultCallback is available. This happens when the host Activity is recreated and its ActivityResultLauncher needs to be re-registered.
Link copied to clipboard
abstract fun registerAuthenticator(key: Class<out StripeIntent.NextActionData>, authenticator: PaymentAuthenticator<StripeIntent>)
Link copied to clipboard