Do nothing if the error returned is SETUP_CANCELLED.

This commit is contained in:
Alex Hart
2025-11-10 10:52:19 -04:00
parent 76b1f3451b
commit b9a999b0d0

View File

@@ -332,6 +332,9 @@ class InAppPaymentCheckoutDelegate(
}
when (error.type) {
InAppPaymentData.Error.Type.SETUP_CANCELLED -> {
Log.d(TAG, "User canceled payment setup.", true)
}
else -> {
Log.d(TAG, "Displaying donation error dialog.", true)
errorDialog = DonationErrorDialogs.show(