Treat google payment request token error as setup failure in boost.
This commit is contained in:
parent
ff038e3ade
commit
3d65a957f4
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class BoostFragment : DSLSettingsBottomSheetFragment(
|
||||||
is DonationEvent.GooglePayUnavailableError -> Unit
|
is DonationEvent.GooglePayUnavailableError -> Unit
|
||||||
is DonationEvent.PaymentConfirmationError -> onPaymentError(event.throwable)
|
is DonationEvent.PaymentConfirmationError -> onPaymentError(event.throwable)
|
||||||
is DonationEvent.PaymentConfirmationSuccess -> onPaymentConfirmed(event.badge)
|
is DonationEvent.PaymentConfirmationSuccess -> onPaymentConfirmed(event.badge)
|
||||||
is DonationEvent.RequestTokenError -> onPaymentError(event.throwable)
|
is DonationEvent.RequestTokenError -> onPaymentError(DonationExceptions.SetupFailed(event.throwable))
|
||||||
DonationEvent.RequestTokenSuccess -> Log.i(TAG, "Successfully got request token from Google Pay")
|
DonationEvent.RequestTokenSuccess -> Log.i(TAG, "Successfully got request token from Google Pay")
|
||||||
DonationEvent.SubscriptionCancelled -> Unit
|
DonationEvent.SubscriptionCancelled -> Unit
|
||||||
is DonationEvent.SubscriptionCancellationFailed -> Unit
|
is DonationEvent.SubscriptionCancellationFailed -> Unit
|
||||||
|
|
Loading…
Add table
Reference in a new issue