Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ButtonPurchase: handle auth and insufficient funds #2945

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

infinite-persistence
Copy link
Collaborator

Closes #2943

Ticket: 2943

The existing error message does say "authentication required", though.  I guess that's too technical.
## Issue
The purchase button invokes the modal, and the modal just fails silently when there's insufficient funds.

## Change
I believe we used to show the button differently when the funds are insufficient (grayed out?).

Given the purchase button + claim overlay refactoring, it's probably easier now to just let the user click the button, and inform in the modal if there's insufficient funds. The file page already have the same "insufficient fund" warning.
@infinite-persistence infinite-persistence merged commit 2e0c400 into master Aug 29, 2023
2 checks passed
@infinite-persistence infinite-persistence deleted the payment.auth branch August 29, 2023 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Purchase Button Gives Error For Logged Out Users
1 participant