diff --git a/Moonlight/Shared/Views/Account/Payments.razor b/Moonlight/Shared/Views/Account/Payments.razor index ba008779..72a0d5a1 100644 --- a/Moonlight/Shared/Views/Account/Payments.razor +++ b/Moonlight/Shared/Views/Account/Payments.razor @@ -134,7 +134,7 @@ private async Task LaunchPayment() { if (SelectedGateway == null) - return; + throw new DisplayException("You need to select a payment method"); var url = await SelectedGateway.Start(Amount); Navigation.NavigateTo(url, true);