You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 21, 2025. It is now read-only.
things to test:
not enough funds on sender
too small amount for receiver (if it's a fresh wallet)
trying to redeem twice
loading from url
loading from scanner
I think I fixed this, can't test right now though. (it was only a problem because I was looking for the string /gift and our staging url includes /gift because //gifting..
This warning appears on the amount dialog for the gift amount editor. You should probably default to these types of warnings not being displayed so we quit running into it for anything besides the receive flow.
The lightning fee warning is appearing but it wasn't needed. I redeemed 1 gift for 10k sats which opened up my first channel + 100k sats. Then I went to redeem a gift of 50k sats, which it warned I needed another channel for. This was incorrect.
Could the timeout warning be better here? In this case, I closed the browser on the gifter side but then redeemed on the receiver side. It should say that the gift is in progress becauase it sent the NWC message and it will be sent whenever the gifter comes back online.
There's nothing on the gifter side warning them that they need to be online for the gift to be redeemed.
Not enough funds on sender error only happens on the receiver side (should probably check the available lightning balance at the time of gift creation)
below 50k sats shows an appropriate warning on sender and an error on receiver side
scanner and url both work as expected
redeeming for a second time returns a "Payment timed out." no specific error that it had been redeemed already
I hardcoded URL on both the sending and receiving side and as long as these match up properly, android works great. Even opens in app and/or scans in app properly. So just detecting android and switching URL should work.
okay I think warnings are well behaved now and have a better error for timeout
also hardcoded urls
only comment I didn't get to is this one, didn't feel like it's 100% necessary
Not enough funds on sender error only happens on the receiver side (should probably check the available lightning balance at the time of gift creation)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Used for testing the gifting feature