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

LUD-09: successAction field for payRequest #2660

Open
AxelHamburch opened this issue Sep 17, 2023 · 10 comments
Open

LUD-09: successAction field for payRequest #2660

AxelHamburch opened this issue Sep 17, 2023 · 10 comments

Comments

@AxelHamburch
Copy link

Is it possible that the LUD-09 "successAction" is missing in the Android Blink App 2.2.125.30000583?
I don't get any URL displayed after payment.
https://github.com/lnurl/luds/blob/luds/09.md

This is needed, for example, so that the LNPoS also works offline.
The wallet shows a link after successful payment. On the page is then displayed a secret as a four-digit PIN.
https://github.com/lnbits/lnpos

I am currently working on an extended version.
It would be a pity if the Blink Wallet would not have this function. It is integrated in most wallets.
https://github.com/AxelHamburch/offlineLNSwitch

@nicolasburtey
Copy link
Member

it has not been implemented as far as I know.

is there any store live on which this could be tested?

@AxelHamburch
Copy link
Author

You can test it with this lnurlp with 1 sat

LNURL1DP68GURN8GHJ7MR9VAJKUEPWD3HXY6T5WVHXXMMD9AKXUATJD3CZ7EMHV9J5WJQH6JYH4

It is just an lnbits wallet with lnurlp extension and option succes URL.

https://legend.lnbits.com/lnurlp/?usr=0f06ac36270144b19c2d515295ce9dae

@nicolasburtey
Copy link
Member

I mean is there a live app where I could see the benefits of this feature, or more clearly understand the use case?

I don't really understand in which context this would be useful

@AxelHamburch
Copy link
Author

All you need to do is call up the 1 sat lnurlp with a wallet that supports LUD-09 (almost all does that) and pay the invoice. Then you see the benefit. You will be shown a URL after payment. The user only sees this if he has paid the invoice.

In the case of the offlineLNSwitch, the LNbits server then displays a 4-digit PIN. If this is entered into the device, then it can be compared with the one in the device (generated for the lnurlp). If they match, the device switches the relay. With LNPoS, the seller knows that the buyer has paid the invoice, otherwise he would not know the PIN.

Screenshot_20230918-044233_Chrome

@yanascz
Copy link

yanascz commented Jun 16, 2024

Another use case is the Lightning Raffle implemented by LNURL Daemon. It uses the message success action to display a raffle ticket number. You can give it a try by purchasing a 1-sat ticket using the following QR code:
image

It works with Zeus, Wallet of Satoshi, Breez, Phoenix and probably some other wallets. This is what it looks like in Zeus after you purchase a ticket (nzjow in this case):

@MichaelAntonFischer
Copy link

it has not been implemented as far as I know.

is there any store live on which this could be tested?

It used to work, but disappeared after the nostr spam wave.

I’ve reported this several times to the blink team, this link is very important. On our OPAGO POS devices it is used to confirm offline payments, but it is also used for selling ebooks and much more.

@danielcharrua
Copy link

@nicolasburtey any updates on this issue?

We also are using this feature and all payments with your wallet are not showing the successAction response.

Any payments to the LNbits POS offline are failing (as they need the successAction url parameter)

Is there any chance that you'll implement LUD09?

Thank you.

@kotasjan
Copy link

kotasjan commented Oct 3, 2024

Another use case is the Lightning Raffle implemented by LNURL Daemon. It uses the message success action to display a raffle ticket number. You can give it a try by purchasing a 1-sat ticket using the following QR code: image

It works with Zeus, Wallet of Satoshi, Breez, Phoenix and probably some other wallets. This is what it looks like in Zeus after you purchase a ticket (nzjow in this case):

In Bitcoin Paraguay we would also like to use this raffle solution that depends on this feature. It helps us onboard people to Lightning.

@danielcharrua
Copy link

We also use this feature in the coffee machines from Satoffee. The offline version of our coffee machines use the successAction to show the secret code and unlock the machines...

@tiankii
Copy link

tiankii commented Feb 26, 2025

Coming...
Code completed, Ready for UI, Code Review
Feature: handle lnurl success action #3362
#3362

Implemented: LNURL successAction
-LUD-09: successAction field for payRequest: https://github.com/lnurl/luds/blob/luds/09.md
-LUD-10: aes success action in payRequest: https://github.com/lnurl/luds/blob/luds/10.md

Image

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

No branches or pull requests

7 participants