benthecarman on Nostr: The way his previous way worked was create an invoice and then after it gets paid ...
The way his previous way worked was create an invoice and then after it gets paid immediately send to the person's lightning address.
Instead he could get an invoice from the person's lightning address, then create one of his own with the same payment hash. Once the invoice gets to him, he pays the original invoice from the lightning address and use the preimage to settle the payment to him.
Published at
2023-11-26 03:02:52Event JSON
{
"id": "003bb70e7ddfd3313107392fb15516d7df0f33f63cdefbfeb87b07bad4ab99f9",
"pubkey": "e1ff3bfdd4e40315959b08b4fcc8245eaa514637e1d4ec2ae166b743341be1af",
"created_at": 1700967772,
"kind": 1,
"tags": [
[
"e",
"faeba6839d204b98439fae3bb043ae2d3af2190013dee058a9af2c8b8689cff6"
],
[
"e",
"a9655c45d26a7cb477fce0bd9b606096af29108a49a23c6b66a33579918b5500"
],
[
"p",
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
],
[
"p",
"96a0b3e0738e7ff0838abc900fc48f61effef780d175a6bb2c0240246556bb3e"
]
],
"content": "The way his previous way worked was create an invoice and then after it gets paid immediately send to the person's lightning address. \n\nInstead he could get an invoice from the person's lightning address, then create one of his own with the same payment hash. Once the invoice gets to him, he pays the original invoice from the lightning address and use the preimage to settle the payment to him.",
"sig": "4275fc9b461061b4e37765763ebd69b22eeedcbce6ae2407a8c73e6700b6333b537fb68c4635191b8af7f83e8a764d6dc90760748c7aa2af0517b361d142ccb5"
}