Open
Description
When users start the Stripe Identity flow, they are prompted to agree to the privacy policy. If a user clicks "DECLINE" a message appears asking the user to agree, and then the user is redirected to the consent page again.
Unfortunately, as an app developer, we have no way to educate the user about the benefits of identity verification or the privacy policy at this point.
Hence the following feature request:
When the user clicks "DECLINE", the Stripe Identity activity should finish and the callback should include a Rejected
type in addition to the Canceled
, Completed
, and Failed
results. This would give app developers the ability to react here and display their own screen.
Example:
val identityVerificationSheet = rememberIdentityVerificationSheet(
configuration = IdentityVerificationSheet.Configuration(brandLogo = logoUri),
identityVerificationCallback = {
when (it) {
is IdentityVerificationSheet.VerificationFlowResult.Canceled -> {
}
is IdentityVerificationSheet.VerificationFlowResult.Completed -> {
}
is IdentityVerificationSheet.VerificationFlowResult.Failed -> {
}
is IdentityVerificationSheet.VerificationFlowResult.Rejected -> {
// This is my Feature Request.
// Show the user a screen explaining why consent is necessary.
}
}
},
)